From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Tramp: how to handle make-symbolic-link? Date: Thu, 11 Jul 2002 12:41:16 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200207111641.g6BGfGQ03110@rum.cs.yale.edu> References: <200206241939.g5OJdRF26200@aztec.santafe.edu> <200207081820.g68IK3d12853@aztec.santafe.edu> <200207111200.g6BC0kE16854@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 1026410957 22688 127.0.0.1 (11 Jul 2002 18:09:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2002 18:09:17 +0000 (UTC) Cc: Kai.Grossjohann@CS.Uni-Dortmund.DE, 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 17SiNR-0005tp-00 for ; Thu, 11 Jul 2002 20:09:17 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17SiWw-0000Fy-00 for ; Thu, 11 Jul 2002 20:19:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17SiO6-0001R6-00; Thu, 11 Jul 2002 14:09:58 -0400 Original-Received: from delysid.gnu.org ([158.121.106.20]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17SiLY-0000ph-00; Thu, 11 Jul 2002 14:07:20 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by delysid.gnu.org with esmtp (Exim 3.34 #2) id 17Sh0I-0004xX-00; Thu, 11 Jul 2002 12:41:18 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g6BGfGQ03110; Thu, 11 Jul 2002 12:41:16 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Richard Stallman 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:5667 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5667 > (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. This is the part I can agree with. > (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. This I *strongly* disagree with. There is strictly no point in returning an error in this case and it can be a serious annoyance for some "unusual" uses. Stefan