failed to download the archive 'Failed to download `marmalade' archive', but I see the list in Wireshark. I've got 129 packets from marmalade-repo.org , many of which list Marmalade package entries, in my Wireshark log. I'm not behind a proxy and HTTP_PROXY is unset. And ELPA (at 'http://tromey.com/elpa/') works fine. I'm on Max OS X Mavericks, all-up-to-date, with Aquamacs, and using the package.el (byte-compiled) as described here: http://marmalade- repo.org/ (since I am on < Emacs 24). What are the next troubleshooting steps I should take? 1 Answer 1. I've taken Aaron Miller's suggestion and fully migrated to the OS X port of Emacs 24.3 . I do miss being able to use the 'command' key to go to the top of the current file, and the slightly smoother gui of Aquamacs, but it's no doubt a great port. Due to the issue with Marmalade, Emacs 23.4 won't work with some of the packages I now need (unless they were hand-built). Installing ELPA Package System for Emacs 23. This page is a guide on installing ELPA package system package.el for emacs 23. If you are using emacs 24, see: Emacs: Install Package with ELPA/MELPA. (type Alt + x version or in terminal emacs --version .) To install, paste the following in a empty file: then call eval-buffer . That will download the file and place it at. (very neat elisp trick! note to self: url-retrieve-synchronously is bundled with emacs 23. Use it like wget/curl!) Also, it automatically adds the following in your .emacs file, so that it'll be loaded everytime you start emacs. How to Upgrade ELPA from Emacs 23 to Emacs 24. If you have installed ELPA with emacs 23 and now just upgraded to emacs 24, here's what to do. In your emacs init file, delete any code block containing. For how to use the package system, see: Emacs: Install Package with ELPA/MELPA. If you have a question, put $5 at patreon and message me on xah discord. Or support me by Buy Xah Emacs Tutorial. Emacs. After learning a few basic keystroke commands, you can become a lot more productive in Emacs. When typing a command you can use [TAB] completion, which will complete the command name for you or list the possible commands. Guide to keys. C-x = (hold [CONTROL], press x, then release [CONTROL]) C-x C-s = (hold [CONTROL], press x, then press s, then release [CONTROL]) M-2 = (hold [ALT], press 2, then release [ALT]) [note M = META usually [ALT] or [ESCAPE] when using [ESCAPE] as META release it before pressing the next key (i.e. M-2 = press and release [ESCAPE] then press 2)]. Written commands. Sometimes the required action doesn't have an associated key-sequence, in these cases the written command must be used (M-x is pressed followed by the command): ispell-buffer = (hold [ALT], press x, release [ALT], then type "ispell-buffer" in the mini buffer ) Lookup table. The following is a lookup table of basic commands. Emacs has so many commands it would be impossible to list them all, but hopefully this will be enough to get you started. Action Key-sequence Command Open file C-x C-f find-file Close C-x C-c save-buffers-kill-emacs Save file C-x C-s save-buffer Save as C-x C-w write-file Page down C-v scroll-up Page up M-v scroll-down Goto top M-< beginning-of-buffer Goto end M-> end-of-buffer Goto line M- g g goto-line Goto start of line C-a beginning-of-line Goto end of line C-e end-of-line Search forwards C-s search term isearch-forward search term Repeat last search forwards C-s C-s isearch-repeat-forward Search backwards C- search term isearch-backward search term Repeat last search backwards C-r C-r isearch-repeat-backward Cancel command C-g keyboard-quit Kill line C-k kill-line Kill sentence M-k kill-sentence Yank last kill C-y yank Yank previous kill M-y yank-pop Split window horizontally C-x 2 Split window vertically C-x 3 Swap active window C-x o Merge windows C-x 1 List buffers C-x C-b list-buffers Switch to buffer C-x b switch-to-buffer Switch active buffer left C-x [LEFT] previous- buffer Switch active buffer right C-x [RIGHT] next-buffer Kill Buffer C-x k kill-buffer Spell-check current buffer none ispell-buffer Spell-check current word none ispell-word Indent code C-M-\ indent-region Goto matching closing bracket C-M-f Goto matching opening bracket C-M-b Comment a region M-; comment-or-uncomment-region. Performing other tasks. E-mail. Reading. Rmail. The simplest (to set up) E-mail client in Emacs, is Rmail, to invoke Rmail press: To use Rmail for reading E-mail, other than system mail, you will have to use a program to fetch your E-mail from the server, such as fetchmail or offlineimap . Another option is , which is primarily a newsreader, but can also be used for reading E-mail, and can be configured to get your E-mails from the server without the aforementioned mail fetching programs, but will take a little more setting up than Rmail. Sending. Mail can send your E-mail, which is invoked with: You can also specify your: E-mail address, name, signature, etc in your. /.emacs file, so that it is already filled in when you start composing an E-mail. Newsreader. Gnus is an outstanding newsreader and can be started by pressing: To use Gnus, you will first have to setup your. /.gnus.el file, a brief guide to Gnus is available at: Gnus. IRC client. ERC is an Emacs IRC client which can be started with: You must first add the following to your. Getting Started. When you start ERC, you will be asked for some information: The commands for ERC are just standard IRC commands. Troubleshooting. Attempts to install or refresh packages from GNU ELPA results in 'failed to download gnu archive'. The GNU ELPA repository is the default repository GNU Emacs pulls from. The GPG keys used by this repository were changed in September, 2019. As such, versions of Emacs released before Sep. 2019 face the issue of not being able to install packages from the repository due to signature verification errors. This issue may be encountered by users of openSUSE Leap 15.2, as the version available in the repository is Emacs 25.3.1. Emacs 25.3 was released in 2017. The most convenient solution for users experiencing this issue would be to download the gnu-elpa-keyring-update package from the website, which, when installed, would update the GPG keys stored by your installation of emacs, and allow you to access the packages again. Simply download the tar file from the website, and run the command. After pressing enter, Emacs will prompt you for the location of the downloaded package. This method can also be used as a workaround if you wish to install some packages but haven't updated the GPG keys of your installation. Failed to download the gnu archive emacs. Trying to use "use-package" to install evil-mode. use-package showed: cant access: https://elpa.gnu.org/packages/undo-tree.html :Bad request Tryed to package-install w/o use-package: other repos worked, elpa.gnu.org did not work. tried other repos: first popkit @ http://elpa.popkit.org/packages/ . did not work, same problem than tried http://elpa.emacs-china.org/gnu/ . did work, no idea why https://elpa.gnu.org/packages/undo-tree.html was available the whole time with curl, and even with emacs built in browser. dont know if it really is a bug, but i tried trubbleshooting other stuff on my os (5.2.1-arch1-1-ARCH). First had emacs 26.2, than downgraded to 26.1 bug was in both versions. Fresh install, only change is .emacs: (setq package-archives '(("gnu" . "http://elpa.emacs-china.org/gnu/") ("melpa" . "https://melpa.org/packages/") ("org" . "https://orgmode.org/elpa/"))) (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package)) (use-package evil :ensure t :config (evil-mode 1)) (custom-set-variables '(package-selected-packages (quote (ghci-completion bnf-mode yasnippet undo-tree use-package)))) (custom-set-faces ) Hope this helps! Thanks for doing this :) In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.7) of 2019-03-17 built on juergen Windowing system distributor 'The X.Org Foundation', version 11.0.12005000 Recent messages: user-error: Not defining or executing kbd macro Building list of manual directory expansions. Building completion list of all manual topics. Quit Making completion list. Quit Type C-w C-o to remove help window. Type "q" in help window to restore its previous buffer. delete-backward-char: Text is read-only [2 times] Making completion list. [2 times] Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with- modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES THREADS LIBSYSTEMD LCMS2. Important settings: value of $LC_COLLATE: C value of $LC_TIME: de_DE.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf- 8-unix. Major mode: Fundamental. Minor modes in effect: shell-dirtrack-mode: t evil-mode: t evil-local-mode: t global-undo-tree-mode: t undo-tree-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail eieio-opt speedbar sb-image ezimage dframe find-func help-fns apropos woman man macros pp cus-edit cus-start cus-load wid-edit evil evil-keybindings evil-integration evil-maps evil-commands ffap reveal flyspell ispell evil-jumps evil- command-window evil-types evil-macros evil-repeat evil-search evil-ex shell pcomplete evil-states evil-core advice evil-common windmove thingatpt rect evil-digraphs evil-vars tar-mode undo-tree warnings edmacro kmacro diff cl compile comint ansi-color ring elec-pair autoload radix- tree lisp-mnt mm-archive message dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils network-stream starttls url-http tls gnutls mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap cl-extra help-mode use-package use-package-ensure use-package-delight use-package-diminish use- package-bind-key bind-key easy-mmode use-package-core finder-inf info package easymenu epg-config url-handlers url-parse auth-source cl- seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc- lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print- readable backquote dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make- network-process emacs) Memory information: ((conses 16 444813 39048) (symbols 48 34765 2) (miscs 40 141 358) (strings 32 119393 15581) (string-bytes 1 2904208) (vectors 16 31047) (vector-slots 8 706702 34064) (floats 8 87 292) (intervals 56 777 0) (buffers 992 19)) GNU Emacs. An extensible, customizable, free/libre — and more. At its core is an interpreter for , a dialect of the Lisp programming language with extensions to support text editing. The features of GNU Emacs include. Content-aware editing modes, including syntax coloring, for many file types. Complete built-in documentation, including a tutorial for new users. Full Unicode support for nearly all human scripts. Highly customizable, using Emacs Lisp code or a graphical interface. A wide range of functionality beyond text editing, including a project , mail and news reader, debugger interface, calendar, IRC client, and more. A packaging system for downloading and installing extensions. Discover Emacs in video. @emacsrocks ;; episode 15 "Restclient" @emacsrocks ;; episode 14 "Paredit" @emacsrocks ;; episode 13 "multiple-cursors" Watch more episodes on Emacsrocks.com. Emacs 27.2. Released Mar 25, 2021. Emacs 27.2 is a maintenance release. The behavior of the user option 'resize-mini-frames' has changed. Emacs 27.1. Released Aug 10, 2020. Emacs 27.1 has a wide variety of new features, including: Built-in support for arbitrary-size integers Text shaping with HarfBuzz Native support for JSON parsing Better support for Cairo drawing Portable dumping used instead of unexec Support for XDG conventions for init files Additional early-init initialization file Built-in support for tab bar and tab-line Support for resizing and rotating of images without ImageMagick. Emacs 26.3. Released Aug 28, 2019. Emacs 26.3 is a maintenance release. New GPG key for GNU ELPA package signature checking. Emacs 26.2. Released Apr 12, 2019. Emacs 26.2 has a wide variety of new features, including: Emacs modules can now be built outside of the Emacs tree source. Emacs is now compliant with the latest version 11.0 of the Unicode Standard. In Dired, the 'Z' command on a directory name compresses all of its files. Emacs 26.1. Released May 28, 2018. Emacs 26.1 has a wide variety of new features, including: Limited form of concurrency with Lisp threads Support for optional display of line numbers in the buffer Emacs now uses double buffering to reduce flicker on the X Window System Flymake has been completely redesigned TRAMP has a new connection method for Google Drive New single-line horizontal scrolling mode A systemd user unit file is provided Support for 24-bit colors on capable text terminals. Emacs 25.3. Released September 11, 2017. Emacs 25.3 fixes a significant security hole. Emacs 25.2. Released April 21, 2017. Emacs 25.2 is mostly a bug-fix release. For more information, read the News file. Emacs 25.1. Released September 17, 2016. Emacs 25.1 has a wide variety of new features, including: Emacs can now load shared/dynamic libraries (modules). A dynamic Emacs module is a shared library that provides additional functionality for use in Emacs Lisp programs, just like a package written in Emacs Lisp would. Experimental support for Cairo drawing. Enhanced network security (TLS/SSL certificate validity and the like) via the new Network Security Manager (NSM). New minor mode 'electric-quote-mode' for using curved quotes as you type. Character folding support in isearch.el. New and improved facilities for inserting Unicode characters: C-x 8 now has shorthands for several chars, such as U+2010 (HYPHEN), U+2011 (NON-BREAKING HYPHEN), and U+2012 (FIGURE DASH). For more information, read the News file. Subscribe to our monthly newsletter, the Free Software Supporter. “Our mission is to preserve, protect and promote the freedom to use, study, copy, modify, and redistribute computer software, and to defend the rights of Free Software users.”