2

M-x list-packages crashes Emacs after I added:

(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/"))

after (package-initialize).

(package-initialize)

alone works fine but M-x list-packages lists only GNU ELPA packages.

Any idea?

9
  • 1
    Are you sure you're speaking of a crash? Does Emacs exit abnormally? If yes, this is an Emacs bug and should be reported with M-x report-emacs-bug and a crash log attached.
    – wasamasa
    Feb 6, 2018 at 21:39
  • I tried every code I found and of course the one from the MELPA.org page:
    – Guebert
    Feb 6, 2018 at 23:15
  • @wasamasa: Yes, it is a crash. After I restart Emacs I get the message that Emacs crashed. I will try to contact the programmer of the Mac version.
    – Guebert
    Feb 6, 2018 at 23:24
  • Can you reproduce it (save your stuff before trying), starting from emacs -Q (then evaluating the above code)?
    – Drew
    Feb 6, 2018 at 23:38
  • 1
    This sounds like Bug#30288
    – npostavs
    Feb 7, 2018 at 12:46

2 Answers 2

2

Sorry for posting another answer to my initial question. After npostavs pointed to a known bug of Emacs 25.3 under macOS I installed the universal binary of Emacs 25.1 from https://emacsformacosx.com and indeed this version works just fine. Final verdict: It’s a Emacs 25.3 bug under Darwin / macOS. Thanks for the help.

2
  • I have exactly the same issue on OS X.
    – hsrv
    Feb 7, 2018 at 15:57
  • Sounds like you can accept this answer to close the question.
    – glucas
    Feb 8, 2018 at 0:05
0

It’s more or less official. This seems to be an issue with the Universal Binary of GNU Emacs 25.3 from https://emacsformacosx.com/ and not a general Emacs problem or my incompetence. I shared my (crashing) configuration with the binary from http://aquamacs.org/ (Aquamacs 3.3 based on Emacs 25.1). With Aquamacs it works just fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.