unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Fabrice Niessen <fni-news-TA4HMoP+1wHrZ44/DZwexQ@public.gmane.org>
To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org
Subject: Re: porting crufty old init.el to package management
Date: Mon, 24 Mar 2014 11:10:12 +0100	[thread overview]
Message-ID: <861txr29h7.fsf@somewhere.org> (raw)
In-Reply-To: mailman.17994.1395617870.10748.help-gnu-emacs@gnu.org

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/


       reply	other threads:[~2014-03-24 10:10 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.17994.1395617870.10748.help-gnu-emacs@gnu.org>
2014-03-24 10:10 ` Fabrice Niessen [this message]
2014-03-24 12:41   ` porting crufty old init.el to package management Guido Van Hoecke
     [not found]   ` <mailman.18031.1395664909.10748.help-gnu-emacs@gnu.org>
2014-03-24 14:13     ` Fabrice Niessen
2014-03-24 20:01       ` Guido Van Hoecke
     [not found]       ` <mailman.18082.1395691327.10748.help-gnu-emacs@gnu.org>
2014-03-24 20:05         ` Fabrice Niessen
2014-03-24 20:39           ` Guido Van Hoecke
     [not found]           ` <mailman.18086.1395693586.10748.help-gnu-emacs@gnu.org>
2014-03-24 22:38             ` Fabrice Niessen
2014-03-25  2:01               ` Stefan
2014-03-25 10:27                 ` Guido Van Hoecke
2014-04-18  6:57   ` Brady Trainor
2014-03-26  3:42 ` Rusi
2014-03-26 11:22   ` Neal Becker
2014-03-26 17:55   ` jpkotta
2014-04-18  6:47   ` Brady Trainor
2014-03-24 22:30 Barry OReilly
2014-03-25 18:10 ` Zhen Sun
  -- strict thread matches above, loose matches on Subject: below --
2014-03-23 23:37 Tom Roche
2014-03-24  3:01 ` Marcin Borkowski
2014-03-24  8:25 ` Thorsten Jolitz
2014-03-24 12:42   ` Alan Schmitt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=861txr29h7.fsf@somewhere.org \
    --to=fni-news-ta4hmop+1whrz44/dzwexq@public.gmane.org \
    --cc=help-gnu-emacs-mXXj517/zsQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).