From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Tramp: how to handle make-symbolic-link? Date: Wed, 26 Jun 2002 16:46:28 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200206241939.g5OJdRF26200@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1025102909 1994 127.0.0.1 (26 Jun 2002 14:48:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 26 Jun 2002 14:48:29 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17NE5t-0000W3-00 for ; Wed, 26 Jun 2002 16:48:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17NE83-0002fw-00 for ; Wed, 26 Jun 2002 16:50:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17NE60-0004La-00; Wed, 26 Jun 2002 10:48:36 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17NE43-0004H1-00; Wed, 26 Jun 2002 10:46:36 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g5QEkYb22712; Wed, 26 Jun 2002 16:46:34 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id QAA11924; Wed, 26 Jun 2002 16:46:29 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 14D0F3B5E4; Wed, 26 Jun 2002 16:46:28 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: <200206241939.g5OJdRF26200@aztec.santafe.edu> (Richard Stallman's message of "Mon, 24 Jun 2002 13:39:27 -0600 (MDT)") Original-Lines: 37 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.3.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5217 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5217 Richard Stallman 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)