all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: Cannot open load file: disp-table - error running batch with EMACSLOADPATH
Date: Tue, 24 Feb 2004 18:09:02 -0800	[thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBCEAJCDAA.drew.adams@oracle.com> (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?

             reply	other threads:[~2004-02-25  2:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-25  2:09 Drew Adams [this message]
2004-02-25  5:27 ` Cannot open load file: disp-table - error running batch with EMACSLOADPATH Eli Zaretskii
     [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=MEEKKIABFKKDFJMPIOEBCEAJCDAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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.