[Openmcl-devel] Re: [Bug-openmcl] pathname-type

Alan Ruttenberg ruttenbe at mpi.com
Fri Jan 16 20:12:54 UTC 2004


Ok. Record source file needs to pay attention to this:

(edit-definition-p 'swank::find-function-locations-dwim)
((FUNCTION . "home:.swank.lisp"))
SWANK:FIND-FUNCTION-LOCATIONS-DWIM
T
NIL
NIL

> From: Gary Byers <gb at clozure.com>
> Date: Fri, 16 Jan 2004 13:09:17 -0700 (MST)
> To: Alan Ruttenberg <alanralanr at comcast.net>
> Cc: bug-openmcl at clozure.com, Alan Ruttenberg <ruttenbe at mpi.com>
> Subject: Re: [Bug-openmcl] pathname-type
> 
> 
> 
> On Fri, 16 Jan 2004, Alan Ruttenberg wrote:
> 
>> (pathname-type "home:.swank.lisp")
>> "swank"
>> 
>> (pathname-type "/Users/ruttenbe/.swank.lisp")
>> "lisp"
>> 
>> _______________________________________________
>> Bug-openmcl mailing list
>> Bug-openmcl at clozure.com
>> http://clozure.com/mailman/listinfo/bug-openmcl
>> 
>> 
> 
> The frightening thought is that this might not be a bug:
> 
> ".X.Y"
> 
> TYPE and VERSION are both preceded by a dot in a logical-pathname
> namestring (see CLHS 19.3.1)), and it's probably a good thing that
> physical pathname parsing doesn't think that versions even exist
> (though I suppose that some people'd like to see an Emacs-y convention
> followed.)
> 
> If we want the first dot to be taken literally, it has to be escaped:
> 
> "home:\\.swank.lisp"
> 
> This isn't strictly necessary in the physical namestring case, but
> doesn't hurt (any unescaped dots other than the last one in the
> physical namestring get treated as normal characters.)
> 
> "/Users/ruttenbe/\\.swank.lisp" and "/Users/ruttenbe/.swank.lisp"
> 
> should both parse into the same thing.
> 
> 
> 
> 




This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged.  This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender.  Thank you.




More information about the Openmcl-devel mailing list