unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Windows Emacs doesn't understand UNIX symbolic link?
Date: Thu, 03 Apr 2008 06:12:34 +0300	[thread overview]
Message-ID: <uprt7ljh9.fsf@gnu.org> (raw)
In-Reply-To: <C0D22BC3-C50D-47DF-BA36-4C535F77DD06@Web.DE> (message from Peter Dyballa on Thu, 3 Apr 2008 00:12:39 +0200)

> Cc: help-gnu-emacs@gnu.org
> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Thu, 3 Apr 2008 00:12:39 +0200
> 
> 
> Am 02.04.2008 um 19:54 schrieb Eli Zaretskii:
> >> Why should that make a difference? Although TRAMP sees on the remote
> >> UNIX host a sym-link it can present to MS Losedos nothing but some
> >> kind of file.
> >
> > And what does Tramp present to Emacs on a Unix system? isn't that
> > ``some kind of file'' as well?
> 
> 
> A file with the character of a sym-link – and UNIX can handle that.  

For remote files, Tramp handles that, not the local OS.  If the remote
file is a symlink, I'd expect Tramp to resolve it and bring to Emacs
the contents of the target of the link.

> On a system that can't distinguish a file from a sym-link

For a remote file, it's Tramp that needs to distinguish between them.
The file-symlink-p primitive should hand the file name to Tramp, for
that to happen, as it probably does on Unix.

> A system able to handle sym-links won't send such requests to TRAMP,
> so TRAMP won't do the nonsense described.

Are you sure that Tramp does such nonsense on Unix?




  reply	other threads:[~2008-04-03  3:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01  4:01 Windows Emacs doesn't understand UNIX symbolic link? Yang
2008-04-01 15:02 ` William Xu
     [not found] ` <mailman.9785.1207062149.18990.help-gnu-emacs@gnu.org>
2008-04-01 16:54   ` Yang
2008-04-01 18:57     ` Eli Zaretskii
2008-04-02  2:09     ` William Xu
     [not found]     ` <mailman.9816.1207102163.18990.help-gnu-emacs@gnu.org>
2008-04-02  5:06       ` Yang
     [not found]     ` <mailman.9824.1207116435.18990.help-gnu-emacs@gnu.org>
2008-04-02  6:33       ` Barry Margolin
2008-04-02  7:50         ` Michael Albinus
2008-04-02 17:11           ` Eli Zaretskii
2008-04-03 19:45             ` Michael Albinus
2008-04-02 17:09         ` Eli Zaretskii
2008-04-02 17:27           ` Peter Dyballa
2008-04-02 17:54             ` Eli Zaretskii
2008-04-02 22:12               ` Peter Dyballa
2008-04-03  3:12                 ` Eli Zaretskii [this message]
2008-04-02 18:15             ` Michael Albinus
     [not found]           ` <mailman.9884.1207157251.18990.help-gnu-emacs@gnu.org>
2008-04-02 23:28             ` Jason Rumney

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=uprt7ljh9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
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).