From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabrice Niessen Newsgroups: gmane.emacs.help Subject: Re: porting crufty old init.el to package management Date: Mon, 24 Mar 2014 11:10:12 +0100 Organization: My Googlest Message-ID: <861txr29h7.fsf@somewhere.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1395656114 15205 80.91.229.3 (24 Mar 2014 10:15:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2014 10:15:14 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Mon Mar 24 11:15:24 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WS1ua-00027A-MO for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Mar 2014 11:15:20 +0100 Original-Received: from localhost ([::1]:35473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS1ua-0004o5-7R for geh-help-gnu-emacs@m.gmane.org; Mon, 24 Mar 2014 06:15:20 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 47 Injection-Info: mx05.eternal-september.org; posting-host="402b34550bd938aa98825778083dce0e"; logging-data="27553"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX19jFLJr9QVm6bjonXj3M0s4" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-Archive: encrypt Cancel-Lock: sha1:U4YQBU9Nai0HINUj8e2BvHUwSWE= sha1:QFRnGU4b/PhYGAlxm1HbXHdAJ3Y= X-Url: http://www.MyGooglest.com/fni Original-Xref: usenet.stanford.edu gnu.emacs.help:204440 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:96711 Archived-At: Tom Roche wrote: > I've been using emacs for ~20 years, during which I have > > 1. accumulated a functional but aesthetically- and > maintenance-challenged collection of {init.el, files it calls} > > 2. regularly bemoaned the lack of emacs package management > > The latter problem has been solved (non-uniquely :-) for awhile now, > and I'm setting up a new box, so I really should port my emacs > configuration to the new millenium. I'm wondering, would anyone care > to recommend especially worthy docs for this process (guides, howto's, > tutorials)? esp how best to accommodate snippets of elisp (gists?) FWIW, you can put all your ELisp snippets in an Org file, and comment them, their usage (key bindings), why you do (or don't do) some specific stuff, etc. That's LP (Literate Programming). That big file (in my case) can be: - Tangled :: Extract the source code blocks and generate *real working code* files for further compilation or execution, eventually outside of Emacs. - Weaved :: *Export* the whole Org file as literate, *human-readable documentation* (generally in HTML or LaTeX). That becomes an invaluable tool when you need to understand or extand some part of your config file as, thanks to Org mode, you can focus on a particular section (hiding all unnecessary ones), or even construct a "sparse tree" of some function/variable name (that is, display a tree where only the entries with a match are expanded, all others are collapsed), and much more. My example? Follow http://www.pirilampo.org/emacs/dot-emacs.html [1]. Best regards, Fabrice [1] Website still in draft, though... -- Fabrice Niessen Leuven, Belgium http://www.pirilampo.org/