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
8 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
32 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
29 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
23 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 ...
1
vote
1answer
18 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
52 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
37 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
35 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
33 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 ...
0
votes
2answers
76 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
72 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
20 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
0answers
59 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
26 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
39 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
41 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
65 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
31 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
65 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:...
1
vote
3answers
92 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
21 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
118 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
15 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
34 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
48 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
21 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
225 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
106 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
0answers
143 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
34 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
41 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
50 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
209 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
112 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
vote
0answers
34 views

Inconsistent behaviour with pretty outlines

SETUP: My .emacs.d/init.el reduced to the minimum (I have auctex and use-package installed) (require 'package) (add-to-list 'package-archives '("melpa" . "http://melpa.org/...
0
votes
1answer
62 views

package-installed-p vs fboundp

What should I use: (when (package-installed-p 'ivy) (global-set-key (kbd "C-x b") #'ivy-switch-buffer)) or: (when (fboundp 'ivy-switch-buffer) (global-set-key (kbd "C-x b") #'...
1
vote
1answer
89 views

How to disable remapping by a package

I recently used a package that overwrote C-x C-s to something other than save, causing me to lose a lot of work. Is there a way I can advise emacs to check for a blacklist of keybindings that it ...
1
vote
1answer
45 views

The number of downloads of packages in packages' repositories

On MELPA website, the number of downloads of each package is given. I am wondering if one can see this info within Emacs. It seems that the built-in package installer list-package does not provide ...
0
votes
1answer
27 views

How to determine the size of packages installed from ELPA/MELPA?

When one wants to choose between two Emacs packages that have similar features, it can be useful to evaluate their respective installed size before installing. How to evaluate the installed size of a ...
0
votes
0answers
125 views

How to delete/reinstall a system package?

When I do (require magit) I get following error. Debugger entered--Lisp error: (wrong-type-argument sequencep all) cl-intersection((all magit) all) byte-code("\301\302!\210\301\303!\210\301\...
0
votes
0answers
252 views

Emacs 27.1 package error while installing package org-roam

I recently upgraded to 27.1 version from 24.5 version. I am trying to install org-roam. When I use package-install RET org-roam, I am getting the following error. Library is file /usr/share/emacs/27.0....
0
votes
0answers
56 views

ad-Advice-package--add-to-archive-contents: Symbol's function definition is void: package-desc-vers

Friends, I have put strong effort to write an understandable account of the problem. Thus, I ask you to open all the site links quoted at the place of citation to follow the problem history. I have ...
4
votes
1answer
255 views

list-packages hangs when contacting melpa

I'm running Emacs 26.3 on Linux Mint 20. I am using paradox, but this also happens when I use the vanilla Emacs packages interface. When I call list-packages, the Paradox Menu section of the mode line ...
0
votes
1answer
23 views

Deleted package doesn't reappear in the package list

I just deleted magit, but it doesn't reappear in the list as available. I typed g and r, restarted emacs, to no effect. It's not hidden. I use C-s to search for it in the buffer. Supposedly its ...
3
votes
1answer
1k views

package-selected-packages. What is it useful for?

What is the usefulness of setting (setq package-selected-packages '(auctex ; jedi ; magit ; etc)) Doesn't emacs set the user-installed ...
3
votes
0answers
48 views

What does it mean that something is an incompatible package?

I have some issues going on with my emacs and am getting an error where the stacktrace seems to indicate a potential issue with the parinfer package. I run describe-package on it and get parinfer is ...
1
vote
1answer
69 views

Emacs segfaults after I run M-x package-install

I'm a Emacs newbie. I've gone through the guided tutorial and I got excited by what Emacs promises. I want to learn Emacs and use it as my primary development editor, and specifically at the moment ...
0
votes
1answer
79 views

Trying to install org-ref package, but getting error 'emacs-25.1' unavailable

I am trying to install org-ref package but getting error package-compute-transaction: Package 'emacs-25.1' is unavailable. I searched Stack overflow, Stack Exchange Emacs, and github. I've found ...

1
2 3 4 5
9