1

I am trying to add Magit to Emacs package list. I got as far as "Packages" menu and do not see how to add new, unlisted package. Is it even possible from Emacs ?

I even tried to "i-install" highlighted package from the list but I have no idea WHERE to input it.

OK I got to Melpa and I am following the instructions to add new package to the list.. To add new package I have to do Alt -x .... But I do not know where in Emacs I am supposedly to put / type this Alt x .... ( see post title )

I am getting this error and I have no clue what to call the form the error is displayed on. Sorry. ..... Importing package-keyring.gpg...done Contacting host: elpa.gnu.org:80 [2 times] Beginning of buffer command-execute: Buffer is read-only: # X is undefined after I type Alt -x C-c C-c is undefined

PS I have modified my original post - too big to put into comments.

How do I update what has been successful so far and what is no longer an issue? Here ?

  1. The error is no longer an issue
  2. I know where the CLI goes - what is that area called ?
  3. No need to type "i" on package to be installed - after highlighting it there is pretty intuitive GUI to follow.
  4. I am missing plain Ctrl C / V , pity.
  • IIUC, you have set up the package system and you have done M-x package-list-packages or clicked on Options/Manage Emacs P{ackages, so you are looking at a (long) list of packages. Correct? If so, you navigate to the package that you want, mark it for installation with i (emacs puts a capital I next to that package to show that it is marked) and then you say x to carry out the installation (you can mark more than one package and install them all with an x). If I've misunderstood, please edit the question and add more detail about what you are doing: the more detail the better... – NickD Nov 13 at 18:29
  • Sorry , but you did misunderstood my post.The package Magit is not on the list. I have to add it to the list first. I am asking if that is even possible within Emacs. Or how to do it. The tutorials are not that clear for adding new packages to the list. – Anne Nov 13 at 22:37
  • Welcome!! The default package manager is great for long time users, but may not be as intuitive if you're used to other package managers. To see magit you'll need to add https://melpa.org/packages/ to your package-archives variable. In emacs, type M-x customize-variable RET then type package-archives RET. The M-x means press Meta, Alt or Esc key and x at same time. The RET is the return or enter key. You'll see an [INS] button which is how you get a new section for melpa. After adding click [Apply and Save]. Then do M-x package-initialize RET and you'll see magit – Melioratus Nov 13 at 23:16
  • OK back to start After I do ATL-X I get this error. AT the end of this copy. Loading /etc/emacs/site-start.d/50git-core.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Importing package-keyring.gpg...done Contacting host: elpa.gnu.org:80 [2 times] Beginning of buffer command-execute: Buffer is read-only: #<buffer *Messages*> X is undefined C-c C-c is undefined – Anne Nov 14 at 2:06
  • 1
    What you call "the CLI" is called minibuffer. – tarsius Nov 14 at 10:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.