Différences

Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.

emacs:packages [2011/09/03 14:18]
suitable créée
emacs:packages [2011/09/03 14:23] (Version actuelle)
suitable
Ligne 2: Ligne 2:
  
 The [[http://elpa.gnu.org/packages/|GNU Emacs Lisp Package Archive]] is a repository which the GNU Emacs Package Manager can use to simply install or update key emacs packages, such as [[emacs:org-mode|org-mode]]. Apparently, according to the [[http://orgmode.org/worg/org-faq.html#installing-via-elpa|Org-mode FAQs]] it is a standard part of the Emacs 24 distribution((where and since when is there an Emacs 24? Is it stable, beta, alpha? Today, 3 September 2011, it isn't in the mirrors in France)), available for easy installation in Emacs 23, too. The [[http://elpa.gnu.org/packages/|GNU Emacs Lisp Package Archive]] is a repository which the GNU Emacs Package Manager can use to simply install or update key emacs packages, such as [[emacs:org-mode|org-mode]]. Apparently, according to the [[http://orgmode.org/worg/org-faq.html#installing-via-elpa|Org-mode FAQs]] it is a standard part of the Emacs 24 distribution((where and since when is there an Emacs 24? Is it stable, beta, alpha? Today, 3 September 2011, it isn't in the mirrors in France)), available for easy installation in Emacs 23, too.
 +
 +===== Fetching and placing the Package Manager =====
  
 I followed their instructions, to check that it wasn't already installed: I followed their instructions, to check that it wasn't already installed:
Ligne 9: Ligne 11:
      
 Downloaded it from their link, whence it arrives named [[http://repo.or.cz/w/emacs.git/blob_plain/1a0a666f941c99882093d7bd08ced15033bc3f0c:/lisp/emacs-lisp/package.el|lisp_emacs-lisp_package.el]]; this tells me to put it in my ''d:/usr/emacs-23/lisp/emacs-lisp'' folder and prune the name down to ''package.el''. Downloaded it from their link, whence it arrives named [[http://repo.or.cz/w/emacs.git/blob_plain/1a0a666f941c99882093d7bd08ced15033bc3f0c:/lisp/emacs-lisp/package.el|lisp_emacs-lisp_package.el]]; this tells me to put it in my ''d:/usr/emacs-23/lisp/emacs-lisp'' folder and prune the name down to ''package.el''.
 +
 +===== Adding load call to the init file =====
  
 Their instructions then provide the lines to add to one's emacs initialization file to have the package manager loaded on start-up. Their instructions then provide the lines to add to one's emacs initialization file to have the package manager loaded on start-up.
Ligne 21: Ligne 25:
   (package-initialize)   (package-initialize)
      
 +==== init file on Windows system ====
 +
 However, I didn't know where to find my init file on my Windows XP system. I consulted the emacs documentation (not the first time, I assure y'all) to be reminded that emacs, on start up, looks for  However, I didn't know where to find my init file on my Windows XP system. I consulted the emacs documentation (not the first time, I assure y'all) to be reminded that emacs, on start up, looks for 
   ~/.emacs   ~/.emacs
Ligne 26: Ligne 32:
   ~/.emacs.d/init.el   ~/.emacs.d/init.el
  
-in that order, using the first it finds (and not applying them in cascade). Decoding this, one needs to find where ''~/'' is. As explained in the //General Variables// section of the *info*, ''~/'' means ''HOME'' in *NIX systems and finds its equivalent location in Windows systems at ''c:/Documents and Settings/''//UserName//''Application Data''.+in that order, using the first it finds (and not applying them in cascade). Decoding this, one needs to find where ''~/'' is. As explained in the //General Variables// section of the *info*, ''~/'' means ''HOME'' in *NIX systems and finds its equivalent location in Windows systems at ''c:/Documents and Settings/''//UserName//''/Application Data/''.
  
 Sure enough, I found  Sure enough, I found 
Ligne 33: Ligne 39:
      
 , a folder with no ''init.el'' (yet), just a sub-folder called ''auto-save-list''. , a folder with no ''init.el'' (yet), just a sub-folder called ''auto-save-list''.
 +
 +===== Successful Completion =====
  
 Naturally, I added ''init.el'' with the code provided, changing it as instructed to suite my installation: Naturally, I added ''init.el'' with the code provided, changing it as instructed to suite my installation:
 
emacs/packages.txt · Dernière modification: 2011/09/03 14:23 par suitable
 
Sauf mention contraire, le contenu de ce wiki est placé sous la licence suivante :CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki