Questions tagged [package]

Emacs includes a facility that lets you easily download and install packages that implement additional features. Each package is a separate Emacs Lisp program, sometimes including other components such as an Info manual.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

recursive require of slime error when trying to require symex

I'm getting the following error when doing (require 'symex) or (use-package symex). Error (use-package): symex/:catch: Recursive ‘require’ for feature ‘slime’ This is emacs 27.1 on Ubuntu 21.10 and ...
0
votes
1answer
58 views

symbol's function definition is void

My dotemacsfile looks like the following. (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/") t) (package-initialize) ;load and activate ...
0
votes
0answers
23 views

package-selected-packages variable not being automatically updated?

I noticed that after I edited my package-selected-packages by hand it no longer gets automatically updated when I install a package with package-install command. How do I get it back to updating ...
0
votes
0answers
45 views

problem connecting to melpa packages

I'm new to emacs, and I'm having problems when trying to set up my init.el file to connect to the melpa packages site. I'm using MacOS Big Sur version 11.6, and Emacs version 26.2 (9.0) since there ...
0
votes
0answers
56 views

package-load-descriptor: End of file during parsing

I've encountered this error on an Arch Linux system running Emacs-27.2. I sync my Emacs ~/.config/emacs/init.el which calls a host of other files located under ~/.config/emacs/settings/*-settings.el ...
1
vote
1answer
30 views

How start Emacs only with specific packages?

Linux Mint 20, Emacs 27.1 In my init.el file I loaded many packages. But sometime I need to load only some specific packages. E.g. emacs -Q and only vertico+marginalia+theme The question is: How I ...
0
votes
2answers
69 views

"Failed to download ‘melpa’ archive" when I run package-refresh-contents

Have started seeing this error after I installed a new version of Emacs. My package code in init file is (require 'package) (setq package-archives '(("gnu" . "http://elpa.gnu.org/...
2
votes
0answers
64 views

Emacs and ASP.Net Razor Pages

I am trying to get .razor and .cshtml pages working in Emacs. My config is Doom Emacs with (csharp +lsp +dotnet). No issues with the C# code, that all works fine other than absurd refactoring ...
0
votes
0answers
19 views

Does gnutls-log-level fix the Elpa issue in Emacs 26?

I was trying to fix the well known error for Emacs 26 on downloading packages from GNU Elpa. Playing around, it seems that setting the gnutls-log-level to >0 fixes the problem, without skipping the ...
0
votes
0answers
28 views

What does Emacs meaning by "Newer package has been installed. Not Upgrading"?

I've noticed that Emacs always prints these messages. I wonder what they mean, and how can I make them go away?
1
vote
1answer
42 views

How to programmatically install packages from init.el (using emacs27)?

I have this in my init.el file (when (not (package-installed-p 'geiser)) (package-install 'geiser)) But when I start emacs, I get the error Warning (initialization): An error occurred while loading ...
1
vote
1answer
64 views

Setup ox-extra in an elisp script to be run without init file

I'm new to Emacs and I am trying to write an elisp script to automate the org-mode export for GitLab CI. The idea is that on the worker I simply run emacs --batch --no-init-file --load build.el --...
1
vote
1answer
51 views

How can I handle unfound ELPA packages?

Sometimes I encounter packages claiming to be on ELPA, yet neither package-install nor [1] or [2] list them. How do I know if the problem is on my or the contributor's side? Simply manually installing ...
0
votes
0answers
14 views

M-x -list-packages only displays installed packages. I want all packages

According to what I read, the default emacs install should list all available packages but my 1-hour old emacs install lists only the default automatically installed packages. How do I get the list of ...
0
votes
0answers
27 views

Errors with Smudge (HTTP 403, No Active Device, void functions) in Doom

I followed the instructions here and installed smudge. The relevant portion of my config reads (setq smudge-oauth2-client-secret "********") (setq smudge-oauth2-client-id "********"...
0
votes
0answers
16 views

Does package.el gets a package dependencies from the define-package in -pkg.el file or from the Elpa-compliant repo?

When package.el is used for Emacs Lisp package management, does it get the dependents of package X from reading the define-package in the X-pkg.el file or does it attempt to read the dependencies from ...
0
votes
1answer
71 views

How can I install and enable this theme?

I have been using this solarized theme for many years now: https://github.com/sellout/emacs-color-theme-solarized. This theme used to be available in the MELPA repos, but it is no longer available ...
0
votes
1answer
41 views

Package needs to be reinstalled every time spacemacs is started

I install a theme using M-x package-install [return] doom-themes. And it installs the themes and I use the themes. However, when I close spacemacs and start it again, this package is gone and needs to ...
1
vote
1answer
25 views

How to create a structure instance out of a -pkg.el file?

Package foo description is stored inside a file foo-VERSION/foo-pkg.el with a cl-defstruct definition that complies to package.el package-desc structure type with a package-desc-from-define ...
2
votes
1answer
26 views

For convenience, how should I load a package whenever a specific other package loads?

I have a package that enhances the functionality of another package. To save the user the effort of any additional configurating, I would like my package to load automatically if the larger package ...
0
votes
1answer
56 views

Why not store all .el/.elc Elpa files inside the same directory to speed up Emacs startup?

Would it not be possible to modify Emacs package system to store all Emacs Lisp files installed from Elpa-compliant packages inside the same directory? That would dramatically reduce the number of ...
1
vote
1answer
102 views

Required help with making LSP (Scala Metals) working

My current emacs version is 27.2, OS is Ubuntu 20.04,Java version is 11.0.11. I was following the official guide of installing metals on emacs, did a little change from the course at the start (I ...
1
vote
0answers
65 views

How to set package-user-dir with Emacs 27 with package-quickstart and distinguish between graphical and terminal mode?

Goal: I would like to do the following with Emacs 27+: take advantage of the package-quickstart option to speed up startup, have 2 independent elpa directories: ~/.emacs.d/elpa when emacs runs in ...
3
votes
0answers
37 views

How to declare a version of a local copy of existing package

Is it possible to identify the package version of a local copy/clone/fork of a Elpa supported existing package? Problem Scenario: A Elpa supported package (lets called it package-foo) hosted on some ...
2
votes
2answers
111 views

Helm installing issues

I am trying following a book (Mastering Emacs) and right now stuck on a section about working with Helm. I tried to install through various means, listed there, and found online, my last attempt was ...
0
votes
1answer
88 views

What is the difference/purpose between "require" and "package-install"?

I am trying to understand the subtle nuances of Emacs' packaging system(s). I do not find that anyone has really clarified or explained the difference between two, what I assume to be, key components ...
0
votes
0answers
32 views

add sonarlint in spacemacs

I'm beginner in spacemacs (and emacs) and I've tried to install sonarlint. I've found a way to install in emacs, this https://github.com/emacs-lsp/lsp-sonarlint, but, how can I install this in ...
0
votes
1answer
206 views

Emacs error cannot load file counsel

I'm getting this error whenever I try to open Emacs: Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or directory" "counsel") require(...
0
votes
0answers
30 views

Can I trust https://launchpad.net/~kelleyk/+archive/ubuntu/emacs?

Linux Mint 20 Emacs 26.3 I want to install Emacs 27. I found this site with stable Emacs version. https://launchpad.net/~kelleyk/+archive/ubuntu/emacs The question is, can I try trust to this site to ...
2
votes
1answer
51 views

How to use package-generate-autoloads

I am teaching myself autoloads for "home-made" packages. Official Docs suggest to use update-file-autoloads or update-directory-autoloads on the related package file or directory, which ...
1
vote
0answers
47 views

Cannot load some modes via elpa

Some of my major modes, installed via ELPA, error during load as, for instance for markdown-mode, Debugger entered--Lisp error: (file-missing "Cannot open load file" "No such file or ...
2
votes
1answer
79 views

Elpher loads for Gopher but not Gemini using Doom Emacs

I am using the most up to date version of Doom Emacs, and I am trying to use Elpher to access Gemini pages. While it loads up Gopher pages just fine, any time I try to pull up a Gemini page I get a &...
0
votes
0answers
56 views

Failed to verify signature gnu-elpa-keyring-update

CentOS 7, Emacs 25.1 http://elpa.gnu.org/packages/gnu-elpa-keyring-update.html M-x package-install RET gnu-elpa-keyring-update RET But I get error: Failed to verify signature gnu-elpa-keyring-update-...
0
votes
0answers
86 views

elpa.gnu.org:443 has a running process;kill it? message at install AUCTeX package on emacs 27.1 on windows 10

Trying to install AUCTeX on emacs 27.1 on Windows 10, when install AUC TeX through manage emacs packages when press install while the process work appears this mesage Buffer "*http elpa.gnu.org:...
2
votes
3answers
187 views

Connect to Melpa on Port 80 in Setup Script

I'm trying to setup emacs in a docker image that I am creating. I would like to create the image with a particular melpa package installed. This is my Dockerfile: FROM ubuntu RUN apt-get update RUN ...
1
vote
0answers
22 views

show which package repo was used to obtain a package

I'm trying to submit a bug report to emacs-evil, and they ask me from which repo evil was installed. I'm just using the version that came bundled with doom-emacs. How can I know which source was used ...
2
votes
1answer
138 views

Woes with installing and loading s.el

I'm running Emacs 27.1(9.0) on OSX 11.2.2 and have failed at installing and configuring the package s.el from https://github.com/magnars/s.el/ Here's a list of things that I tried: Copied s.el into ~/...
0
votes
0answers
17 views

How can I reset the source code of an Emacs package to its original state?

Suppose I have installed company-0.9.13, which other packages depend on (mostly third-party company completion backends). I unwisely edited company-mode's source code directly in the ~/.emacs.d/elpa/...
0
votes
0answers
37 views

How to find the file-system location of a package?

Packages on my system are installed to ~/.config/emacs/elpa,although I assume it's possible to configure where packages are located. How can I programmatically find the file-path for a package name (...
0
votes
0answers
66 views

Getting uninstall packages offer after package updates

Each time I call up list-package and update, I get this message after the updates Operation finished. Packages that are no longer needed: 43. Type ‘M-x package-autoremove’ to remove them Below is ...
0
votes
0answers
22 views

How to force package-utils-upgrade-all to completely replace packages when upgrading?

lsp-mode doesn't support upgrading the package, instead, a full re-install is required each time (see report). (In my case, deleting the directory and re-installing works, upgrading doesn't). Is there ...
0
votes
0answers
24 views

How to force a package to upgrade, even if it's not needed?

I'm trying to debug a failure when a package is upgraded. The error only happens on update, not on re-installation. How could I upgrade a single package (e.g. package-utils-upgrade-by-name) and force ...
1
vote
1answer
248 views

nov-mode returns binary buffer and "File mode specification error: (error Invalid version syntax: ‘’ (must start with a number))"

When opening an epub file with Nov-mode I get a binary buffer in fundamental mode and an error message File mode specification error: (error Invalid version syntax: ‘’ (must start with a number)). ...
2
votes
1answer
136 views

Error when first launching Spacemacs in macOS 11.0.1

I am trying to learn Emacs. I successfully installed it and went through the built-in tutorial. I thought that installing Spacemacs would be nice so I gave it a try. I followed a tutorial and now I am ...
3
votes
1answer
251 views

Installing quelpa-use-package from use-package

Currently I have the following init file to install and use use-package: ;; Package.el (require 'package) (package-initialize) (setq package-enable-at-startup nil) (add-to-list 'package-archives '(&...
0
votes
0answers
45 views

Synchronize package list

When I look in the *Packages* buffer, I see this: polymode 20200411.915 available melpa Extensible framework for multiple major modes But, when I search for the same package on MELPA,...
1
vote
0answers
56 views

use-package & quelpa: resolve dependencies with elpa?

When modifying some packages I'm using (use-package :load-path "my-forked-project") but to make my config work in any machine I want get that package from say my github repo. I'm now trying ...
0
votes
1answer
88 views

clang-format package looking for wrong executable

I'm trying to setup emacs to use the clang-format package. I have installed the clang-format package from MELPA and also have clang-format-10 (apt install only installs version 6 on Ubuntu) installed ...
1
vote
2answers
336 views

package refresh hangs

On Emacs 26.3, Ubuntu 20.04, when I run emacs -Q followed by (package-refresh-contents) I get Contacting host: elpa.gnu.org:443 So the package refresh just hangs. I tried to switch from https to ...
0
votes
2answers
169 views

How to filter the package list by package name part or regex

Via M-x list-packages I can view a list of installable and installed packages. Great! But how can I filter this list by a portion of the package name? PS: I know about package-menu-filter, but for me ...

1
2 3 4 5
9