From: "Richard M. Stallman" <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs and Squiggles as filenames
Date: Sat, 09 Jul 2005 00:21:12 -0400 [thread overview]
Message-ID: <E1Dr6q0-0007bq-OJ@fencepost.gnu.org> (raw)
In-Reply-To: <87ll4iph80.fsf@gnufans.net> (deego@gnufans.org)
If there exists a file named "~" in my ~/tmp/, I see funny things:
(expand-file-name (file-name-nondirectory "~/tmp/~") "~/tmp"), returns
=>/home/deego instead of /home/deego/tmp/~
That is a painful one. I am not sure what we could do to fix it,
other than make expand-file-name not handle ~. And I think that would
cause much worse problems, and fixing them would require a major
redesign that would break lots of Lisp code.
It is possible to refer to that file by writing `./~'.
So that expression would work right if we made file-name-nondirectory
return "./~". But I think that would break other things too.
next prev parent reply other threads:[~2005-07-09 4:21 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 [this message]
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
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=E1Dr6q0-0007bq-OJ@fencepost.gnu.org \
--to=rms@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).