Lisp HUG Maillist Archive

Loading files with multiple .'s in name

I think I've found a bug in the Load File capability.

To reproduce, do the following. Create file "foo.bar.baz.lisp" with
contents anything, simple
as 

(in-package :cl-user)
(print "hello")

open it in an editor. Then, File->Load. I get the error
"The file #P"/Users/tayloj/foo.bar.baz" does not exist."

Notice that in a Listener, I _can_ do 
(load "~/foo.bar.baz.lisp"), and I get no errors.

This is the case on both LWLinux and LWMac.

debugging the error, I see that the function load 
is eventually being called with #P".../foo.bar.baz", and not
..../foo.bar.baz.lisp, which is of course filename->foo.bar, 
and type->baz.


Hopefully this isn't too hard to fix, but is there a workaround that
I could use (aside from not 'Load'ing files from the editor, or renaming
my files) ?

Thanks
-- 
=====================
Joshua Taylor
tayloj@rpi.edu


Re: Loading files with multiple .'s in name

Unable to parse email body. Email id is 3456

Updated at: 2020-12-10 08:53 UTC