From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Tramp: how to handle make-symbolic-link? Date: Mon, 24 Jun 2002 13:39:27 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200206241939.g5OJdRF26200@aztec.santafe.edu> References: Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1024947752 14558 127.0.0.1 (24 Jun 2002 19:42:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 24 Jun 2002 19:42:32 +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 17MZjM-0003mh-00 for ; Mon, 24 Jun 2002 21:42:32 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17MZke-0003AP-00 for ; Mon, 24 Jun 2002 21:43:52 +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 17MZjP-0002pn-00; Mon, 24 Jun 2002 15:42:35 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17MZgS-0002Pp-00; Mon, 24 Jun 2002 15:39:32 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.11.6) with ESMTP id g5OJdUC25136; Mon, 24 Jun 2002 13:39:30 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g5OJdRF26200; Mon, 24 Jun 2002 13:39:27 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5159 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5159 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") I disagree with the view that the link target is just a string. It is meant to be a file name. Assuming that symlinks in the remote file system can only point to that same remote file system, the former request is possible, and the latter should get an error because there is no way to make a link to the local machine's disk.