unofficial mirror of emacs-devel@gnu.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: Wed, 26 Jun 2002 16:46:28 +0200	[thread overview]
Message-ID: <vafu1nqjdx7.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <200206241939.g5OJdRF26200@aztec.santafe.edu> (Richard Stallman's message of "Mon, 24 Jun 2002 13:39:27 -0600 (MDT)")

Richard Stallman <rms@gnu.org> writes:

> I disagree with the view that the link target is just a string.
> It is meant to be a file name.

Maybe we should look at other, analogous cases, where this also
happens.  Here is an example from my personal experience: Solaris
machines can boot via NFS over the network.  So we have a machine
ourserver with a directory /export/root/aclient which is exported via
NFS and used by aclient as root (/) directory.

Now suppose I want to install the machine.  For this, I create the
/export/root/aclient directory and populate it with files.  Suppose
that there needs to be a symlink /some/symlink pointing to
/other/file on that host.

Then, the following sequence of commands (as root@ourserver!) will do
the trick:

    cd /export/root/aclient/some
    ln -s /other/file symlink

Note that I type "/other/file" when issuing a command on ourserver,
where the file is actually known as /export/root/aclient/other/file!

Thus, I think it makes sense to allow the following command:

(make-symbolic-link "/other/file" "/auser@ahost:/some/symlink")

It is exactly analogous to the above-mentioned NFS case.  The symlink
target would be on the machine ahost.

Have I convinced you?

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

  parent reply	other threads:[~2002-06-26 14:46 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 [this message]
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=vafu1nqjdx7.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 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).