Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!apple!bbn!ginosko!uunet!mcvax!kth!draken!tut!santra!kaira.hut.fi!t31662k From: t31662k@kaira.hut.fi (Andreas Gustafsson) Newsgroups: gnu.emacs.bug Subject: expand-file-name is nonidempotent Message-ID: <23125@santra.UUCP> Date: 25 Jun 89 12:29:48 GMT Sender: news@santra.UUCP Reply-To: gson@hutcs.hut.fi Organization: Helsinki University of Technology, Finland Lines: 16 Running GNU Emacs version 18.52 (BSD 4.3) and 18.54 (SCO Xenix/386): According to the on-line documentation, the function "expand-file-name" ought to "Convert FILENAME to absolute, and canonicalize it.". It sometimes fails to do the latter: (expand-file-name "/usr/../") "//" (expand-file-name (expand-file-name "/usr/../")) "/" -- Andreas Gustafsson Internet: gson@hutcs.hut.fi UUCP: ...uunet!mcvax!santra!hutcs!gson Voice: +358 0 563 5592