[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and Squiggles as filenames

From: David Kastrup
Subject: Re: Emacs and Squiggles as filenames
Date: Mon, 11 Jul 2005 15:41:15 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"D Goel" <address@hidden> writes:

> address@hidden (Paul Jarc) writes:
>> "D Goel" <address@hidden> wrote:
>>> (expand-file-name (file-name-nondirectory fname) dir)
>> This works for me:
>> (concat (file-name-as-directory "~/tmp")
>>         (file-name-nondirectory "~/tmp/~"))
> Thanks, I will use just that. 
> (I do remember reading in the manual though that the former is
> preferable, because it is portable across OSes, including VMS..)

The latter, with file-name-as-directory, should also do the trick on
VMS unless I am mistaken.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

[Prev in Thread] Current Thread [Next in Thread]