From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: file-symlink-p for remote files?
Date: Wed, 09 Apr 2003 21:57:57 +0200 [thread overview]
Message-ID: <8465pnmoje.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: 847ka5qafi.fsf@lucy.is.informatik.uni-duisburg.de
I've just looked at the new code for file-chase-links. It occurred
to me that it tries hard to deal with the problem that file-symlink-p
returns a string that might not work as a filename.
How about adding another arg to file-symlink-p which specifies
whether to return the link target as-is, or whether to return it as a
filename?
Then file-chase-links wouldn't have to deal with ".." itself; instead
it could just tell file-symlink-p to return a filename, and then work
with that filename.
It would be really easy in the file handlers to return either the
original string or a filename. In Ange-FTP returning a filename
would amount to calling ange-ftp-replace-name-component, and in Tramp
it would amount to calling tramp-make-tramp-file-name.
--
A preposition is not a good thing to end a sentence with.
next prev parent reply other threads:[~2003-04-09 19:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 15:24 file-symlink-p for remote files? Kai Großjohann
2003-04-08 18:31 ` Stefan Monnier
2003-04-08 18:49 ` Kai Großjohann
2003-04-08 19:03 ` Stefan Monnier
2003-04-08 19:10 ` Kai Großjohann
2003-04-08 19:14 ` Stefan Monnier
2003-04-09 5:39 ` Richard Stallman
2003-04-09 1:58 ` Richard Stallman
2003-04-09 12:56 ` Kai Großjohann
2003-04-09 19:29 ` Kai Großjohann
2003-04-10 6:22 ` Richard Stallman
2003-04-09 19:57 ` Kai Großjohann [this message]
2003-04-10 22:47 ` Richard Stallman
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=8465pnmoje.fsf@lucy.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@gmx.net \
/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).