unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Jari Aalto <jari.aalto@cante.net>
Cc: 7665@debbugs.gnu.org
Subject: bug#7665: Emacs: add command line option -L to set more paths to load-path
Date: Sat, 18 Dec 2010 11:01:03 -0500	[thread overview]
Message-ID: <jwvlj3nt6mc.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <878vznz5ku.fsf@picasso.cante.net> (Jari Aalto's message of "Sat,  18 Dec 2010 13:24:49 +0200")

> | > An example:
> | >     emacs -L ~/elisp/package -L ~/.emacs.d/downloaded -l my-test.el
> | 
> | I don't understand this example: why ~/elisp/package and
> | ~/.emacs.d/downloaded?  What are these directories and how are they
> | related to my-test.el?

> Just like Drew explained. 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")

I understood that part, of course.  The question is: why do you need to
do that?
Hence "What are these directories and how are they related to my-test.el?"
And "Why ~/elisp/package and ~/.emacs.d/downloaded?"

Hopefully you (or Drew) understand those two questions now and can
answer them,


        Stefan





  reply	other threads:[~2010-12-18 16:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17 17:50 bug#7665: Emacs: add command line option -L to set more paths to load-path Jari Aalto
2010-12-17 18:49 ` bug#7665: Emacs: add command line option -L to set more paths toload-path Drew Adams
2010-12-17 22:05 ` bug#7665: Emacs: add command line option -L to set more paths to load-path Stefan Monnier
2010-12-18  0:46   ` bug#7665: Emacs: add command line option -L to set more paths toload-path Drew Adams
2010-12-18 11:24   ` bug#7665: Emacs: add command line option -L to set more paths to load-path Jari Aalto
2010-12-18 16:01     ` Stefan Monnier [this message]
2010-12-18 19:10       ` jari
2010-12-18 20:12         ` bug#7665: Emacs: add command line option -L to set more paths toload-path Drew Adams
2010-12-19 11:05           ` jari
2011-01-21 18:52         ` bug#7665: Emacs: add command line option -L to set more paths to load-path Stefan Monnier
2011-04-30 16:39 ` bug#7665: Emacs: add command line option -L to set more paths to load-path - GNU bug report logs Jari Aalto
2011-05-02 16:09   ` Stefan Monnier
2011-05-05  6:49 ` bug#7665: Emacs: add command line option -L to set more paths to Jari Aalto
2013-02-24  0:59 ` bug#7665: Emacs: add command line option -L to set more paths to load-path Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvlj3nt6mc.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=7665@debbugs.gnu.org \
    --cc=jari.aalto@cante.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).