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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jari Aalto <jari.aalto <at> cante.net>
Subject: bug#7665: closed (Re: bug#7665: Emacs: add command line option -L
 to set more paths to load-path)
Date: Sun, 24 Feb 2013 01:02:03 +0000
[Message part 1 (text/plain, inline)]
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 7665 <at> debbugs.gnu.org.

-- 
7665: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7665
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 7665-done <at> debbugs.gnu.org
Subject: Re: bug#7665: Emacs: add command line option -L to set more paths to
	load-path
Date: Sat, 23 Feb 2013 19:59:28 -0500
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...

[Message part 3 (message/rfc822, inline)]
From: Jari Aalto <jari.aalto <at> cante.net>
To: submit <at> debbugs.gnu.org
Subject: Emacs: add command line option -L to set more paths to load-path
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 



This bug report was last modified 12 years and 146 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.