Article View: gnu.emacs.bug
Article #100087Minor lack of functionality in emacs require function.
From: Bryan Cheung
Date: Fri, 03 Nov 1989 00:35
Date: Fri, 03 Nov 1989 00:35
39 lines
1910 bytes
1910 bytes
"Bug" Description:
require reports the error message:
Cannot open load file "foo.el"
when its second argument is the name of a file that exists in the
load-path directory "~/emacs" . This problem does not occur if
"~/emacs" is replaced by an absolute pathname.
Scratch Buffer Session:
*****************************************************************************
emacs-version
"18.52.3"
(setq debug-on-error t)
t
load-path
("~/emacs" "/usr/local/emacs/lisp")
(require 'foobar "foo.el")
*************************** BACKTRACE OF ERROR ******************************
Signalling: (file-error "Cannot open load file" "foo.el")
require(foobar "foo.el")
eval-region(28 54 #<buffer *scratch*>)
byte-code("BCD E
eval-print-last-sexp(nil)
* call-interactively(eval-print-last-sexp)
******************************************************************************
The text of ~/emacs/foo.el follows:
******************************************************************************
(provide 'foobar)
(defun foobar-function ()
(message "Howdy! this is the foobar function!!")
(sleep-for 5)
)
******************************************************************************
Technical Details
Message-ID:
<8911030035.AA09951@twexl0.prime.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!convex!texsun!newstop!sun-barr!apple!usc!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,1f0391788191d6d9,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1989-11-04 13:39:15 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!convex!texsun!newstop!sun-barr!apple!usc!cs.utexas.edu!tut.cis.ohio-state.edu!twexl0.prime.com!cheung From: cheung@twexl0.prime.com (Bryan Cheung) Newsgroups: gnu.emacs.bug Subject: Minor lack of functionality in emacs require function. Message-ID: <8911030035.AA09951@twexl0.prime.com> Date: 3 Nov 89 00:35:06 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 39 Posted: Fri Nov 3 01:35:06 1989