bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7665: Emacs: add command line option -L to set more paths to load-pa


From: Stefan Monnier
Subject: bug#7665: Emacs: add command line option -L to set more paths to load-path
Date: Fri, 21 Jan 2011 13:52:02 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Users download packages for Emas from emacswiki etc. and those
> packages are put either under:

>        ~/elisp/
> or     ~/.emacs.d/

That's the obvious part.

> To set the load-path to include more directories at command line is
> typically needed for

>       - To test new features (as in above: my-test.el does
>           something with 'require' commands).

I don't understand: presumably your ~/.emacs.d or ~/elisp dir will be added
to your load-path by ~/.emacs, so you don't need it on the command line.

>       - To be able to set load-path for byte compiling packages

Again, I don't understand what situation you're thinking about.
In my view, there are mainly two cases:
- single file packages, which you can handle with "emacs -l /where/ever/foo.el"
- multifile packages, which have an "autoloads" or "site-init" file and
  that file should set load-path for you, so
  "emacs -l /where/ever/autoloads" will again take care of the load-path.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]