all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@elta.co.il>
Subject: Re: Cannot open load file: disp-table - error running batch with	EMACSLOADPATH
Date: 25 Feb 2004 07:27:21 +0200	[thread overview]
Message-ID: <u8yirg24m.fsf@elta.co.il> (raw)
In-Reply-To: <MEEKKIABFKKDFJMPIOEBCEAJCDAA.drew.adams@oracle.com>

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Tue, 24 Feb 2004 18:09:02 -0800
> 
> It doesn't matter what the options to emacs -batch are, and it doesn't seem
> to have anything to do with any site file:
> 
>   emacs -batch
>   emacs -batch -q          [-batch should imply -q anyway]
>   emacs --no-site-file -batch -eval '(message "hello")'
>   emacs -nw --no-site-file -batch -eval '(message "hello")'
> 
>   emacs -batch -l mylib
>   emacs -batch -l mylib -f myfun
> 
> These all give the same error when EMACSLOADPATH is defined. The first four
> work OK when it is not defined (the last two need a load-path).

What value do you have EMACSLOADPATH defined to?  If it doesn't
include the standard Lisp directory where disp-table.elc lives, you
will indeed see the error message.

What happens is that setting EMACSLOADPATH overrides the built-in
value used by Emacs to look for Lisp files.  If you still want Emacs
to find its bundled Lisp files, you need to make sure that
EMACSLOADPATH includes the directories where those bundled files live.

  reply	other threads:[~2004-02-25  5:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-25  2:09 Cannot open load file: disp-table - error running batch with EMACSLOADPATH Drew Adams
2004-02-25  5:27 ` Eli Zaretskii [this message]
     [not found] <mailman.426.1077675409.340.help-gnu-emacs@gnu.org>
2004-02-25 16:54 ` Kevin Rodgers

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

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

  git send-email \
    --in-reply-to=u8yirg24m.fsf@elta.co.il \
    --to=eliz@elta.co.il \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.