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

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 24 Feb 2013 01:02:03 +0000

Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
7665: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7665
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#7665: Emacs: add command line option -L to set more paths to load-path
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Sat, 23 Feb 2013 19:59:28 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Version: 19.29

Jari Aalto wrote:

> 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 above would effectively do:
>
>    (add-to-list 'load-path "~/elisp/package")
>    (add-to-list 'load-path "~/.emacs.d/downloaded")
>    (load-library "my-test.el")

Emacs has had this feature since version 19.29...

Subject: Emacs: add command line option -L to set more paths to load-path
From: Jari Aalto <[email-masked]>
To: [email-masked]
Date: Fri, 17 Dec 2010 19:50:10 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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