Article View: gnu.emacs.bug
Article #100117Incompatibility between require and emacs -batch ???
From: Bryan Cheung
Date: Fri, 03 Nov 1989 20:42
Date: Fri, 03 Nov 1989 20:42
22 lines
1576 bytes
1576 bytes
Problem description:
"emacs -batch ___ -l ___ " reports an error message when loading a
file that uses the require function. The shell command line, and emacs
files are listed below.
***************************************************************************
************** Emacs error message ******************************
$ emacs -batch newfile -l mangle.el
^GCannot open load file: foo
$
***************************************************************************
************** File "./mangle.el" *******************************
(require 'foobar "foo")
(foobar-function)
***************************************************************************
************** File "foo.el" in load-path ***********************
(provide 'foobar)
(defun foobar-function ()
(insert "this is some\ngeneric gunk")
(save-buffer) )
***************************************************************************
Technical Details
Message-ID:
<8911032042.AA12684@twexl0.prime.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!twexl0.prime.com!cheungShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,12735910187c879,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1989-11-04 11:16:09 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!twexl0.prime.com!cheung From: cheung@twexl0.prime.com (Bryan Cheung) Newsgroups: gnu.emacs.bug Subject: Incompatibility between require and emacs -batch ??? Message-ID: <8911032042.AA12684@twexl0.prime.com> Date: 3 Nov 89 20:42:29 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 22 Posted: Fri Nov 3 21:42:29 1989