all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: file-symlink-p for remote files?
Date: Thu, 10 Apr 2003 18:47:48 -0400	[thread overview]
Message-ID: <E193kpg-0005ks-00@fencepost.gnu.org> (raw)
In-Reply-To: <8465pnmoje.fsf@lucy.is.informatik.uni-duisburg.de> (kai.grossjohann@gmx.net)

    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.

Yes, and if you specify 1 for the new optional argument, you can get
the link target as a file name.

    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?

That would mean moving this code into file-symlink-p.  It would be a little
cleaner as a spec, but it would be somewhat more work.

If you want to do it, ok.

      reply	other threads:[~2003-04-10 22:47 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
2003-04-10 22:47   ` Richard Stallman [this message]

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

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

  git send-email \
    --in-reply-to=E193kpg-0005ks-00@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.