all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Tromey <tom@tromey.com>
To: rustom <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: An alternative to a monolithic ~/.emacs init file
Date: Sat, 10 Nov 2007 10:13:47 -0700	[thread overview]
Message-ID: <m3lk96m3as.fsf@fleche.redhat.com> (raw)
In-Reply-To: <1194697099.703581.205890@i38g2000prf.googlegroups.com> (rustom's message of "Sat\, 10 Nov 2007 12\:18\:19 -0000")

>>>>> ">" == rustom  <rustompmody@gmail.com> writes:

>> This way the .emacs can be nothing more than the two lines
>> (load-loaddefs-from-directory "~/elisp/lib")
>> (load-customizations-from-directory "~/elisp/lib")
>> And there are no superfluous file traversals at emacs startup time

>> Knowing emacs and its community I guess this functionality is already
>> available!

>> Question is what is it called :-)

ELPA works this way, more or less.  It isn't as simple as "drop in
some elisp and work", since it provides some other features that
require a bit more metadata.  But, the basic idea is the same: extract
autoloads and byte-compile at package install time; and read the
minimal number of files and only evaluate autoloads at package
evaluation time.

For more info:

    http://tromey.com/elpa/

There are some other, more minimal, elisp install packages.  They are
listed on the wiki.

Tom

  reply	other threads:[~2007-11-10 17:13 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2759.1193756709.18990.help-gnu-emacs@gnu.org>
2007-11-07 17:13 ` An alternative to a monolithic ~/.emacs init file rustom
2007-11-08 13:08   ` Sebastian Tennant
     [not found]   ` <mailman.3126.1194527313.18990.help-gnu-emacs@gnu.org>
2007-11-08 19:53     ` rustom
2007-11-09 14:18       ` Sebastian Tennant
     [not found]       ` <mailman.3180.1194617919.18990.help-gnu-emacs@gnu.org>
2007-11-10 12:18         ` rustom
2007-11-10 17:13           ` Tom Tromey [this message]
     [not found]           ` <mailman.3247.1194750639.18990.help-gnu-emacs@gnu.org>
2007-11-11 15:29             ` rustom
2007-11-12 21:56               ` Tim X
2007-11-13  4:21                 ` rustom
2007-11-13  9:26                   ` Tim X
2007-11-14  3:52                     ` rustom
2007-11-13  1:22             ` rustom
2007-11-11  0:09       ` Francisco Miguel Colaço
2007-10-30 15:04 Sebastian Tennant
2007-10-30 20:30 ` Sebastian Tennant

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

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

  git send-email \
    --in-reply-to=m3lk96m3as.fsf@fleche.redhat.com \
    --to=tom@tromey.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rustompmody@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.