From: rclayton@monmouth.edu (R. Clayton)
To: Peter Dyballa <Peter_Dyballa@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: byte-compile-file: emacs vs the command line.
Date: Mon, 30 Dec 2013 11:23:12 -0500 [thread overview]
Message-ID: <201312301623.rBUGNCKG027906@rockhopper.monmouth.edu> (raw)
In-Reply-To: <41F08FFC-9810-4279-815E-28B6086295A2@Web.DE> (message from Peter Dyballa on Mon, 30 Dec 2013 11:34:45 +0100)
Thank you for your reply to my message.
> So at least you should try
> EMACSLOADPATH=${EMACSLOADPATH}:~/lib/emacs/lisp ...
True, but for me EMACSLOADPATH is undefined ("which is usually the case"
according to section 15.9 of the elisp manual)
$ env | grep EM
$
When EMACSLOADPATH is undefined, the two ways of setting it are (more or less)
equivalent (I write "more or less" because I don't know how emacs treats null
directories in the load path).
> What you did not try yet is:
>
> EMACSLOADPATH="" emacs --batch ...
>
> This makes the environment variable EMACSLOADPATH empty so that GNU Emacs can
> use its compile time default. Maybe this internal setting is enough and you
> don't need to set EMACSLOADPATH externally…
I don't see how this helps. Running batch emacs essentially uses compile-time
defaults, which I've already established can't find the file being required.
> And if you are building GNU Emacs yourself you can configure it with
> --enable-locallisppath=<whichever extra paths you need> so that it will find
> all Emacs Lisp repositories ion your system.
True, but compared to calling an extra elisp function, building emacs with
special purpose defaults seems way over the top to me, and not something I want
to do every time I have a new directory of elisp code to search for.
> To be is to do.
> – I. Kant
> To do is to be.
> – A. Sartre
> Yabba-Dabba-Doo!
> – F. Flintstone
Shoo be do be do F. Sinatra
next prev parent reply other threads:[~2013-12-30 16:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-28 22:41 byte-compile-file: emacs vs the command line R. Clayton
2013-12-29 15:59 ` R. Clayton
2013-12-29 16:26 ` Eli Zaretskii
2013-12-30 5:19 ` R. Clayton
2013-12-30 7:20 ` Thierry Volpiatto
2013-12-30 10:34 ` Peter Dyballa
2013-12-30 16:23 ` R. Clayton [this message]
2013-12-30 19:27 ` Peter Dyballa
2014-01-01 2:52 ` R. Clayton
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=201312301623.rBUGNCKG027906@rockhopper.monmouth.edu \
--to=rclayton@monmouth.edu \
--cc=Peter_Dyballa@web.de \
--cc=help-gnu-emacs@gnu.org \
/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.
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).