unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12100: Can't extend load-path with EMACSLOADPATH
@ 2012-07-31 13:01 Reuben Thomas
  2012-07-31 13:39 ` Andreas Schwab
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Reuben Thomas @ 2012-07-31 13:01 UTC (permalink / raw)
  To: 12100

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12100: Can't extend load-path with EMACSLOADPATH
  2012-07-31 13:01 bug#12100: Can't extend load-path with EMACSLOADPATH Reuben Thomas
@ 2012-07-31 13:39 ` Andreas Schwab
  2012-07-31 13:41   ` Reuben Thomas
  2012-09-17 10:59 ` bug#12100: Please reopen Reuben Thomas
  2013-11-23  1:57 ` bug#12100: Can't extend load-path with EMACSLOADPATH Glenn Morris
  2 siblings, 1 reply; 6+ messages in thread
From: Andreas Schwab @ 2012-07-31 13:39 UTC (permalink / raw)
  To: Reuben Thomas; +Cc: 12100

Reuben Thomas <rrt@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12100: Can't extend load-path with EMACSLOADPATH
  2012-07-31 13:39 ` Andreas Schwab
@ 2012-07-31 13:41   ` Reuben Thomas
  2012-08-01  5:09     ` Kevin Rodgers
  0 siblings, 1 reply; 6+ messages in thread
From: Reuben Thomas @ 2012-07-31 13:41 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 12100

On 31 July 2012 14:39, Andreas Schwab <schwab@linux-m68k.org> wrote:
> Reuben Thomas <rrt@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12100: Can't extend load-path with EMACSLOADPATH
  2012-07-31 13:41   ` Reuben Thomas
@ 2012-08-01  5:09     ` Kevin Rodgers
  0 siblings, 0 replies; 6+ messages in thread
From: Kevin Rodgers @ 2012-08-01  5:09 UTC (permalink / raw)
  To: 12100

On 7/31/12 7:41 AM, Reuben Thomas wrote:
> On 31 July 2012 14:39, Andreas Schwab<schwab@linux-m68k.org>  wrote:
>> Reuben Thomas<rrt@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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12100: Please reopen
  2012-07-31 13:01 bug#12100: Can't extend load-path with EMACSLOADPATH Reuben Thomas
  2012-07-31 13:39 ` Andreas Schwab
@ 2012-09-17 10:59 ` Reuben Thomas
  2013-11-23  1:57 ` bug#12100: Can't extend load-path with EMACSLOADPATH Glenn Morris
  2 siblings, 0 replies; 6+ messages in thread
From: Reuben Thomas @ 2012-09-17 10:59 UTC (permalink / raw)
  To: 12100

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#12100: Can't extend load-path with EMACSLOADPATH
  2012-07-31 13:01 bug#12100: Can't extend load-path with EMACSLOADPATH Reuben Thomas
  2012-07-31 13:39 ` Andreas Schwab
  2012-09-17 10:59 ` bug#12100: Please reopen Reuben Thomas
@ 2013-11-23  1:57 ` Glenn Morris
  2 siblings, 0 replies; 6+ messages in thread
From: Glenn Morris @ 2013-11-23  1:57 UTC (permalink / raw)
  To: 12100-done

Version: 24.4

Implemented.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-11-23  1:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-31 13:01 bug#12100: Can't extend load-path with EMACSLOADPATH Reuben Thomas
2012-07-31 13:39 ` Andreas Schwab
2012-07-31 13:41   ` Reuben Thomas
2012-08-01  5:09     ` Kevin Rodgers
2012-09-17 10:59 ` bug#12100: Please reopen Reuben Thomas
2013-11-23  1:57 ` bug#12100: Can't extend load-path with EMACSLOADPATH Glenn Morris

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).