all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: help-gnu-emacs@gnu.org
Subject: Re: best gnu/linux distro for emacs
Date: Sun, 24 Mar 2013 10:52:38 +0000 (UTC)	[thread overview]
Message-ID: <kimltm$moc$1@colin.muc.de> (raw)
In-Reply-To: mailman.22739.1364097866.855.help-gnu-emacs@gnu.org

Bob Proulx <bob@proulx.com> wrote:
> Alan Mackenzie wrote:
>> Jay Belanger wrote:
>> > I recall there were some complaints that Debian had some odd Emacs
>> > setup; I don't recall the details, but I seem to recall David Kastrup
>> > pointing them out.  Does anybody remember?
 
>> They put a dummy site-start.el under /etc somewhere.  This can catch you
>> out if you have your real site-start.el in a normal Emacs place such as
>> /usr/local/share/emacs/site-lisp/site-start.el since the dummy one gets
>> loaded instead of the real one.

> The empty template file is:

>  /etc/emacs/site-start.el

> What makes /usr/local/share/emacs/site-lisp/site-start.el the normal
> path and /etc/emacs/site-start.el something not normal?

A very good question!  I've had a quick search of the Emacs manual and not
found anything specifying the contents of load-path.  The next best thing
was:

"Many sites put these files in a subdirectory named `site-lisp' in the
Emacs installation directory, such as `/usr/local/share/emacs/site-lisp'."

, from the chapter "The Emacs Initialization File".  I'm confident that
/etc/emacs exists nowhere in the manual.

When I start emacs -Q, load-path contains the directories under
/usr/local/share/emacs/24.3/lisp together with
/usr/local/share/emacs/site-lisp.  So it would seem, for a standard build,
that .../site-lisp is the only safe place for site-start.el.

Presumably, there's a way of setting load-path as part of the build
process, and the Debian Emacs team uses it.

> In any case...  One could always put the customizations in that file.
> That is rather what is expected.  Or one could add a load statement
> there to load /usr/local/share/emacs/site-lisp/site-start.el if you
> want to keep the customizations there.  It is six of one or a half
> dozen of the other.

GRRR!!!  Yes, one can do any of these things, but only after having
discovered there's a problem which needs fixing, and diagnosing that
problem.  This cost me, perhaps, an hour or two back in 2005 when I
first installed Debian on a new PC, and my site-start.el wasn't loading.

> Bob

-- 
Alan Mackenzie (Nuremberg, Germany).



  parent reply	other threads:[~2013-03-24 10:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-23 10:09 best gnu/linux distro for emacs Alan E. Davis
2013-03-23 13:31 ` Xue Fuqiao
2013-03-23 15:24 ` Jude DaShiell
     [not found] ` <mailman.22700.1364045502.855.help-gnu-emacs@gnu.org>
2013-03-23 16:07   ` Jay Belanger
2013-03-23 16:38     ` Alan Mackenzie
2013-03-24  4:04       ` Bob Proulx
     [not found]       ` <mailman.22739.1364097866.855.help-gnu-emacs@gnu.org>
2013-03-24 10:52         ` Alan Mackenzie [this message]
2013-03-24 20:37           ` Bob Proulx
     [not found]           ` <mailman.22764.1364157438.855.help-gnu-emacs@gnu.org>
2013-03-25 12:01             ` Alan Mackenzie
2013-03-25 20:18               ` W. Greenhouse
2013-03-27 21:29                 ` Oleksandr Gavenko
2013-03-30 22:56               ` Bob Proulx
2013-03-31 10:38               ` Thien-Thi Nguyen
2013-03-23 17:10 ` Peter Münster
2013-03-24 15:51 ` W. Greenhouse
2013-03-24 22:59   ` Xue Fuqiao
2013-03-25  1:00     ` W. Greenhouse
2013-03-25 14:42       ` Xue Fuqiao
2013-03-25 18:14         ` Óscar Fuentes
2013-03-25 19:04           ` Peter Dyballa
2013-03-26 13:29           ` Xue Fuqiao
2013-03-25 10:29 ` Bastian Ballmann

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='kimltm$moc$1@colin.muc.de' \
    --to=acm@muc.de \
    --cc=help-gnu-emacs@gnu.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.
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.