GNU bug report logs - #7665
Emacs: add command line option -L to set more paths to load-path

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Fri, 17 Dec 2010 17:44:01 UTC

Severity: wishlist

Found in version 23.2+1-5.1

Fixed in version 19.29

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Stefan Monnier'" <monnier <at> iro.umontreal.ca>, "'Jari Aalto'" <jari.aalto <at> cante.net>
Cc: 7665 <at> debbugs.gnu.org
Subject: bug#7665: Emacs: add command line option -L to set more paths toload-path
Date: Fri, 17 Dec 2010 16:46:49 -0800
> > An example:
> > emacs -L ~/elisp/package -L ~/.emacs.d/downloaded -l my-test.el
> 
> I don't understand this example: why ~/elisp/package and
> ~/.emacs.d/downloaded?  What are these directories and how are they
> related to my-test.el?

I shouldn't try to speak for Jari, but since I seconded the idea... This is what
I understood:

-L means add its arg to `load-path'

-l means load my-test.el (processing the `load-path' in the normal way).

-L's action would be done before -l's.  Presumably the -L's would be processed
in order.

The example given is only that: an example.  Nothing special about the
directories used in the example.

Again, Jari might have had something different in mind, but that's what I
imagined.





This bug report was last modified 12 years and 87 days ago.

Previous Next


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