unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Cannot open load file: disp-table - error running batch with EMACSLOADPATH
@ 2004-02-25  2:09 Drew Adams
  2004-02-25  5:27 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2004-02-25  2:09 UTC (permalink / raw)


If I define environment variable EMACSLOADPATH (as anything at all - whether
a correct path or not), I can't seem to get emacs to run in batch.

I'm running emacs 20.7 on Solaris. Actually, I run an xterm (with or without
a window manager) on the box remotely, using Tarantella.

Emacs works fine interactively; I just can't use it in batch mode with
variable EMACSLOADPATH. If EMACSLOADPATH is undefined, I can run emacs OK in
batch (but of course I can't load libraries, then).

If EMACSLOADPATH is defined at all, I get this error:

  Cannot open load file: disp-table

disp-table is not a library of mine that I load (consciously). It appears to
be a built-in library that is getting loaded by default. The only occurrence
of disp-table in the info help is in a discussion of "Single-byte European
Character Support".

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).

Anyone have an idea on this?

^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <mailman.426.1077675409.340.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2004-02-25 16:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
     [not found] <mailman.426.1077675409.340.help-gnu-emacs@gnu.org>
2004-02-25 16:54 ` Kevin Rodgers

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).