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

From: Jari Aalto <[email-masked]>
Date: Fri, 17 Dec 2010 19:50:10 +0200

Package: emacs
Version: 23.2+1-5.1
Severity: wishlist

To use and test packages outside of standard Emacs installation
directories, it would be nice to have option -L (like in linkers) to
prepend paths easily to load-path.

An example:

    emacs -L ~/elisp/package -L ~/.emacs.d/downloaded -l my-test.el

The long version of the option could be names:

    --load-path

-- System Information
Debian Release: squeeze/sid
  APT Prefers testing
  APT policy: (990, testing) (500, unstable) (1, experimental)
Architecture: amd64
Kernel: Linux picasso 2.6.32-5-amd64 #1 SMP Fri Sep 17 21:50:19 UTC 2010 x86_64 GNU/Linux
Locale: LANG=en_DK.UTF-8

-- Versions of packages `emacs depends on'.
Depends:
emacs23         23.2+1-5.1      GNU Emacs is the extensible self-documenting 
emacs23-lucid   23.2+1-5.1      GNU Emacs is the extensible self-documenting 
emacs23-nox     23.2+1-5.1      GNU Emacs is the extensible self-documenting