all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: emacs-devel@gnu.org
Subject: Re: Tramp: how to handle make-symbolic-link?
Date: Thu, 11 Jul 2002 22:28:49 +0200	[thread overview]
Message-ID: <vafy9ciovpa.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <200207111200.g6BC0kE16854@aztec.santafe.edu> (Richard Stallman's message of "Thu, 11 Jul 2002 06:00:46 -0600 (MDT)")

Richard Stallman <rms@gnu.org> writes:

>     (make-symbolic-link "/user@host:/path/to/target" "/user@host:/path/to/source")
>
> This should work, and make a link that says /path/to/target.
>
>     (make-symbolic-link "/user@host:/path/to/target" "/otheruser@otherhost:/path/to/source")
>
> It would be ok for this to work, exactly like
>
>     (make-symbolic-link "/otheruser@host:/path/to/target" "/otheruser@otherhost:/path/to/source")
>
> However, it would be ok for it to get an error instead.
>
>     (make-symbolic-link "/user@host:/path/to/target" "/this/is/a/local/source")
>
> This should get an error.

Except for the last one (where I don't know the behavior) I've
implemented these.  If the user/host for source and target of the link
are different, I just ignore the user/host component of the target.

Hm.  I guess that there will be some cryptic error message from the
innards of Tramp for the last one...

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

  parent reply	other threads:[~2002-07-11 20:28 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
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 [this message]
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

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

  git send-email \
    --in-reply-to=vafy9ciovpa.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --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.