GNU bug report logs - #12100
Can't extend load-path with EMACSLOADPATH

Previous Next

Package: emacs;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Tue, 31 Jul 2012 13:10:02 UTC

Severity: wishlist

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12100 in the body.
You can then email your comments to 12100 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12100; Package emacs. (Tue, 31 Jul 2012 13:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Reuben Thomas <rrt <at> sc3d.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 31 Jul 2012 13:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: bug-emacs <bug-emacs <at> gnu.org>
Subject: Can't extend load-path with EMACSLOADPATH
Date: Tue, 31 Jul 2012 14:01:47 +0100
Sometimes, it is useful to start emacs with -q --no-splash, for
example for quick startup, or in order to avoid problems with
facilities like the server, or desktop.el, which only really work in
one instantiation per user.

However, my .emacs modifies load-path to point to my per-user elisp
files, and it would be nice if emacs -q could get these too.

The obvious way is to use EMACSLOADPATH, but this can only be used to
override the default load-path, not extend it. It would be nice if
something like

EMACSLOADPATH=":$HOME/site-lisp"

i.e. a value containing an empty path segment, could be used to extend the path.

-- 
http://rrt.sc3d.org




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12100; Package emacs. (Tue, 31 Jul 2012 13:47:01 GMT) Full text and rfc822 format available.

Message #8 received at 12100 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Reuben Thomas <rrt <at> sc3d.org>
Cc: 12100 <at> debbugs.gnu.org
Subject: Re: bug#12100: Can't extend load-path with EMACSLOADPATH
Date: Tue, 31 Jul 2012 15:39:24 +0200
Reuben Thomas <rrt <at> sc3d.org> writes:

> However, my .emacs modifies load-path to point to my per-user elisp
> files, and it would be nice if emacs -q could get these too.

$ emacs -q -L $HOME/site-lisp

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12100; Package emacs. (Tue, 31 Jul 2012 13:49:02 GMT) Full text and rfc822 format available.

Message #11 received at 12100 <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 12100 <at> debbugs.gnu.org
Subject: Re: bug#12100: Can't extend load-path with EMACSLOADPATH
Date: Tue, 31 Jul 2012 14:41:35 +0100
On 31 July 2012 14:39, Andreas Schwab <schwab <at> linux-m68k.org> wrote:
> Reuben Thomas <rrt <at> sc3d.org> writes:
>
>> However, my .emacs modifies load-path to point to my per-user elisp
>> files, and it would be nice if emacs -q could get these too.
>
> $ emacs -q -L $HOME/site-lisp

Sorry, I wasn't altogether clear: I want this to work in a script that
could be installed system-wide, hence the requirement for Emacs to get
the setting from the environment or some other implicit method.

-- 
http://rrt.sc3d.org




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12100; Package emacs. (Wed, 01 Aug 2012 05:18:02 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#12100: Can't extend load-path with EMACSLOADPATH
Date: Tue, 31 Jul 2012 23:09:34 -0600
On 7/31/12 7:41 AM, Reuben Thomas wrote:
> On 31 July 2012 14:39, Andreas Schwab<schwab <at> linux-m68k.org>  wrote:
>> Reuben Thomas<rrt <at> sc3d.org>  writes:
>>
>>> However, my .emacs modifies load-path to point to my per-user elisp
>>> files, and it would be nice if emacs -q could get these too.
>>
>> $ emacs -q -L $HOME/site-lisp
>
> Sorry, I wasn't altogether clear: I want this to work in a script that
> could be installed system-wide, hence the requirement for Emacs to get
> the setting from the environment or some other implicit method.

eval emacs -q -L $(print $EMACSLOADPATH | sed 's/:/ -L /g')

-- 
Kevin Rodgers
Denver, Colorado, USA





bug closed, send any further explanations to 12100 <at> debbugs.gnu.org and Reuben Thomas <rrt <at> sc3d.org> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 16 Sep 2012 03:32:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12100; Package emacs. (Mon, 17 Sep 2012 11:01:02 GMT) Full text and rfc822 format available.

Message #19 received at 12100 <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: 12100 <at> debbugs.gnu.org
Subject: Please reopen
Date: Mon, 17 Sep 2012 11:59:36 +0100
This bug should not be closed: a workaround for the bug has been
given, but no fix.

All I'm asking is to be able to use Emacs Lisp like other scripting
languages, where you can extend the library path in the environment.

-- 
http://rrt.sc3d.org




Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 18 Sep 2012 02:24:01 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sat, 23 Nov 2013 01:58:02 GMT) Full text and rfc822 format available.

Notification sent to Reuben Thomas <rrt <at> sc3d.org>:
bug acknowledged by developer. (Sat, 23 Nov 2013 01:58:03 GMT) Full text and rfc822 format available.

Message #26 received at 12100-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 12100-done <at> debbugs.gnu.org
Subject: Re: bug#12100: Can't extend load-path with EMACSLOADPATH
Date: Fri, 22 Nov 2013 20:57:31 -0500
Version: 24.4

Implemented.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 21 Dec 2013 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.