unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs and Squiggles as filenames
Date: Mon, 11 Jul 2005 15:41:15 +0200	[thread overview]
Message-ID: <85slylihok.fsf@lola.goethe.zz> (raw)
In-Reply-To: <87hdf1v7rf.fsf@gnufans.net> (D. Goel's message of "Mon, 11 Jul 2005 08:37:08 -0400")

"D Goel" <deego@gnufans.org> writes:

> prj@po.cwru.edu (Paul Jarc) writes:
>
>> "D Goel" <deego@gnufans.org> 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	other threads:[~2005-07-11 13:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-07 19:07 Emacs and Squiggles as filenames D Goel
2005-07-09  4:21 ` Richard M. Stallman
2005-07-09  4:21 ` Richard M. Stallman
2005-07-10  4:05 ` Paul Jarc
2005-07-10  8:31   ` David Kastrup
2005-07-11  5:34     ` Richard M. Stallman
2005-07-11  7:53       ` David Kastrup
2005-07-11 21:14         ` Richard M. Stallman
2005-07-11 12:37   ` D Goel
2005-07-11 13:41     ` David Kastrup [this message]
2005-07-11 15:32       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85slylihok.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).