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

From: Stefan Monnier <[email-masked]>
Date: Fri, 21 Jan 2011 13:52:02 -0500

> 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