unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stefan Monnier" <monnier+gnu/emacs@rum.cs.yale.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Tramp: how to handle make-symbolic-link?
Date: Sun, 23 Jun 2002 16:00:05 -0400	[thread overview]
Message-ID: <200206232000.g5NK05M31328@rum.cs.yale.edu> (raw)
In-Reply-To: vafvg89kc33.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de

> What should be the LINKNAME argument of make-symbolic-link when
> invoking Tramp?  For non-absolute link targets, the following appears
> natural:
> 
> (make-symbolic-link "/user@host:/name/of/file" "linkname")
> 
> So the LINKNAME argument does not look like a Tramp filename.  But
> what if the target of the symbolic link is an absolute filename?
> Which of the two kinds of calls do we expect?
> 
> (make-symbolic-link "/user@host:/name/of/file" "/user@host:/path/to/target")
> (make-symbolic-link "/user@host:/name/of/file" "/path/to/target")

In my mind, symbolic links are just special kinds of files and their
"target" is just an arbitrary string which happens to be interpreted
by the file-system code (but can also be used for other things, see
for example the .# locking used by Emacs).
So I think Emacs (and thus Tramp) should handle the target as a string,
not as a filename.


	Stefan

  reply	other threads:[~2002-06-23 20:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-23 19:51 Tramp: how to handle make-symbolic-link? Kai Großjohann
2002-06-23 20:00 ` Stefan Monnier [this message]
2002-06-24 15:48   ` Kai Großjohann
2002-06-23 20:22 ` Kai Großjohann
2002-06-24 19:39 ` Richard Stallman
2002-06-24 20:12   ` Stefan Monnier
2002-06-25 23:32     ` Richard Stallman
2002-06-26 13:56       ` Stefan Monnier
2002-06-28 17:39         ` Richard Stallman
2002-06-26 14:46   ` Kai Großjohann
2002-07-08 18:20     ` Richard Stallman
2002-07-10 13:25       ` Kai Großjohann
2002-07-11 12:00         ` Richard Stallman
2002-07-11 16:41           ` Stefan Monnier
2002-07-12 17:37             ` Richard Stallman
2002-07-12 18:03               ` Stefan Monnier
2002-07-11 20:28           ` Kai Großjohann
2002-06-26 15:15   ` Andreas Schwab

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=200206232000.g5NK05M31328@rum.cs.yale.edu \
    --to=monnier+gnu/emacs@rum.cs.yale.edu \
    --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).