* Re: [h-e-w] optimal directory structure?
[not found] ` <m2ptz8fbgy.fsf@nyaumo.btinternet.com>
@ 2002-06-05 13:56 ` Dr Francis J. Wright
2002-06-05 18:44 ` Jason Rumney
0 siblings, 1 reply; 2+ messages in thread
From: Dr Francis J. Wright @ 2002-06-05 13:56 UTC (permalink / raw)
Cc: help-emacs-windows, bug-gnu-emacs
I remember some discussion about this some time ago, and I probably said at
that time that I would find this useful. However, if I start emacs with no
init file then I find that several environment variables are set, such as
EMACSLOADPATH, but not EMACSDIR, although emacs_dir is set. Perhaps as a
consequence, neither EMACSLOADPATH not load-path includes
emacs_dir/../site-lisp.
I have not explicitly set any emacs-related environment variables, and I do
not run addpm, since it no longer seems to be necessary. But would addpm
set EMACSDIR?
It seems to me that the code that sets EMACSLOADPATH etc. should also set
EMACSDIR, or the code that sets load-path should check emacs_dir as well as
(or instead of) EMACSDIR.
The above comments relate to
GNU Emacs 21.2.1 (i386-msvc-nt4.0.1381) of 2002-03-19 on buffy
Francis
----- Original Message -----
From: "Jason Rumney" <jasonr@gnu.org>
To: "Chris Lott" <chrisl@frodo.thethirdsector.com>
Cc: <help-emacs-windows@gnu.org>
Sent: Monday, June 03, 2002 7:45 PM
Subject: Re: [h-e-w] optimal directory structure?
> "Chris Lott" <chrisl@frodo.thethirdsector.com> writes:
>
> > Is there a way to tell emacs where the new site-lisp directory is
> > and have it pick up all the subdirectories?
>
> Emacs automatically searches for EMACSDIR/../site-lisp as well as
> EMACSDIR/site-lisp, so it shouldn't be necessary to tell Emacs
> anything with the structure you propose.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [h-e-w] optimal directory structure?
2002-06-05 13:56 ` [h-e-w] optimal directory structure? Dr Francis J. Wright
@ 2002-06-05 18:44 ` Jason Rumney
0 siblings, 0 replies; 2+ messages in thread
From: Jason Rumney @ 2002-06-05 18:44 UTC (permalink / raw)
Cc: help-emacs-windows, bug-gnu-emacs
"Dr Francis J. Wright" <F.J.Wright@qmul.ac.uk> writes:
> I remember some discussion about this some time ago, and I probably said at
> that time that I would find this useful. However, if I start emacs with no
> init file then I find that several environment variables are set, such as
> EMACSLOADPATH, but not EMACSDIR, although emacs_dir is set. Perhaps as a
> consequence, neither EMACSLOADPATH not load-path includes
> emacs_dir/../site-lisp.
It should. Perhaps you have EMACSLOADPATH set explicitly (from a
previous version of addpm, which did not include the site-lisp dirs?),
so it is not overridden by Emacs' startup code.
> I have not explicitly set any emacs-related environment variables, and I do
> not run addpm, since it no longer seems to be necessary. But would addpm
> set EMACSDIR?
No. I meant emacs_dir, sorry about the confusion. EMACSLOADPATH
should be initialized from that (see w32.c) when Emacs starts up.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-06-05 18:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <080401c20b22$02384170$847c97d0@thethirdsector.com>
[not found] ` <m2ptz8fbgy.fsf@nyaumo.btinternet.com>
2002-06-05 13:56 ` [h-e-w] optimal directory structure? Dr Francis J. Wright
2002-06-05 18:44 ` Jason Rumney
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).