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: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: jari <jari.aalto <at> cante.net>
Cc: 7665 <at> debbugs.gnu.org
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
> 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




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.