14 votes

Error retrieving: https://elpa.gnu.org/packages/archive-contents (error http 400)

try this out : (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") reference: https://www.reddit.com/r/emacs/comments/cdei4p/failed_to_download_gnu_archive_bad_request/etw48ux/?utm_source=...
ablian's user avatar
  • 241
5 votes
Accepted

list-packages hangs when contacting melpa

Figured it out two minutes after posting. In case it helps somebody else, the problem was that I had an outdated URL for the melpa package archive in my init.el. Perhaps there had been a redirect in ...
MTS's user avatar
  • 377
4 votes

What does dependency mean in the Status field of a package shown in list-packages

Testing confirms that packages labeled "dependency" are those which are installed only because they are dependencies of other packages you have installed. The package manager actually won't let you ...
phils's user avatar
  • 51.2k
4 votes

Why mark by "D" installed packages. I want only update it

It's talking about the specific version of the package. Let's look at the first D line there: avy. It's saying "avy version 20171230.220 is to be deleted". Elsewhere in the buffer, you should see a ...
zck's user avatar
  • 9,092
3 votes
Accepted

How to list a newly formed emacs minor-mode?

You are right in assuming that the location is wrong. Emacs does not know about your niranjan directory. You assume that ~/.emacs.d/elpa/ is a special location and that emacs automatically knows how ...
Heikki's user avatar
  • 3,066
3 votes

Emacs Contacting host: elpa.gnu.org:80 possibly related to TLS shenanigans

This worked for me. Thank-you. Specifically, I added the line (setq gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3") to my init.el. Actually a better way to set variables is with this ...
Zintis's user avatar
  • 31
2 votes

Why mark by "D" installed packages. I want only update it

My understanding is that it simply means the existing version will be deleted (D) followed by downloading and installing the new version.
jdtonkin's user avatar
  • 625
2 votes

Confusing ELPA types

Regarding 'dependency', I believe this refers to a package that is required by another package. From the manual, (emacs) Package Installation[1]. A package may “require” certain other packages to ...
Tyler's user avatar
  • 22.3k
2 votes

What does dependency mean in the Status field of a package shown in list-packages

I can't tell you what it means (I can guess, but you'll probably get a good answer here). But I can tell you how to ask Emacs about it, in case you don't already know. Usually the Emacs doc provides ...
Drew's user avatar
  • 77.5k
2 votes
Accepted

Deleted package doesn't reappear in the package list

tl;dr make sure MELPA archive is added (if you need magit) I realized that magit is not in ELPA, it's in MELPA. I think I added MELPA archive back then, but that part of the config was supposedly lost ...
x-yuri's user avatar
  • 291
2 votes
Accepted

How to remove the remaining commands of removed built-in packages?

Short answer: You should recompile Emacs. Long answer: When it is compiled, the emacs executable is dumped with numerous elisp libraries pre-loaded. Amongst these libraries is the loaddefs.el ...
phils's user avatar
  • 51.2k
2 votes

How to remove the remaining commands of removed built-in packages?

I can't help with what shows up when you do M+x package-list-packages, but to clean-up the command namespace (minibuffer prompt, functions available to you in lisp, etc) there are a few hacks. The ...
suvayu's user avatar
  • 1,638
2 votes
Accepted

package is installed but command not available under M-x

The elpa-version darkroom-0.1.el of darkroom does not have an ;;;###autoload before (define-minor-mode darkroom-mode ...) as the github version has. That means that you can either install the the ...
Tobias's user avatar
  • 33.2k
2 votes

Error retrieving: https://elpa.gnu.org/packages/archive-contents (error http 400)

This is most likely your Emacs not having working TLS support. Make sure your Emacs has been built with GnuTLS support (this should be on by default, check with M-: (string-match-p "GNUTLS" ...
wasamasa's user avatar
  • 22.2k
2 votes

Preventing loading of packages removed from Emacs's initialization file

Your question is analogous to this one: "I wrote a shell script which installs firefox, and I ran it, and firefox was installed. I then edited my shell script and removed the line which ...
phils's user avatar
  • 51.2k
2 votes
Accepted

Starting emacs with -Q lists the packages from my init file

EDIT Looking again into it, I see that I made a mistake here. The 'intial comment' in package.el mentions that on activation, the load-path, info-path and autoloads of a package get set up, but it ...
dalanicolai's user avatar
  • 7,815
1 vote

Find unused packages installed from (m)elpa but also taking on-demand loaded packages into account

You can make use-package load everything thusly: (setq use-package-always-demand t)
Fran Burstall's user avatar
1 vote
Accepted

Emacs Contacting host: elpa.gnu.org:80 possibly related to TLS shenanigans

I can't mark a comment as an answer, so I will copy the comment of phils to mark it as a solution. "I believe you want https for both gnu and melpa, and furthermore that marmalade may no longer ...
Jermog's user avatar
  • 81
1 vote

Emacs Contacting host: elpa.gnu.org:80 possibly related to TLS shenanigans

I found I also needed the below: gnutls-algorithm-priority "NORMAL:-VERS-TLS1.3" Edit: I have since lost the site that I have found this. When I would try and issue a package-list-packages ...
JonF's user avatar
  • 11
1 vote
Accepted

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

/ n (M-x package-menu-filter-by-name) does exactly what you want, it filters only the package name, e.g., / n lsp-mode gets only the lsp-mode package. / n runs the command package-menu-filter-by-name ...
xuchunyang's user avatar
  • 14.5k
1 vote

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

Try C-h P (M-x describe-package), it allows you filter by package names through the minibuffer. If you use helm-mode, it looks like And in the *Packages* buffer, use Isearch and/or Occur, for example,...
xuchunyang's user avatar
  • 14.5k
1 vote
Accepted

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

Visit GNU ELPA's website, you can see the package's size, e.g., https://elpa.gnu.org/packages/ace-window.html says ace-window-0.9.0.el, 2015-Jun-05, 18.7 KiB Visit MELPA's website, you can get ...
xuchunyang's user avatar
  • 14.5k
1 vote

How to discover all available Emacs packages?

I also tried to find a way to identify all packages in a way similar to list-packages, but it seems not all libraries are considered as packages so they are not listed among other packages. There are ...
Gleb's user avatar
  • 83
1 vote

How to remove the remaining commands of removed built-in packages?

A quick stab at an answer. Someone may provide better info. Sounds like package-list-packages lists as "built-in" those libraries that Emacs knows it builds in. And it sounds like that is the only ...
Drew's user avatar
  • 77.5k

Only top scored, non community-wiki answers of a minimum length are eligible