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: Thu, 11 Jul 2002 22:28:49 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: 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 1026419386 13357 127.0.0.1 (11 Jul 2002 20:29:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2002 20:29:46 +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 17SkZO-0003TK-00 for ; Thu, 11 Jul 2002 22:29:46 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Skiw-0003VW-00 for ; Thu, 11 Jul 2002 22:39:38 +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 17SkZq-0008P5-00; Thu, 11 Jul 2002 16:30:14 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17SkYd-0008N1-00; Thu, 11 Jul 2002 16:28:59 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g6BKStb12659; Thu, 11 Jul 2002 22:28:55 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id WAA11880; Thu, 11 Jul 2002 22:28:50 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id E0E813B5EF; Thu, 11 Jul 2002 22:28:49 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: <200207111200.g6BC0kE16854@aztec.santafe.edu> (Richard Stallman's message of "Thu, 11 Jul 2002 06:00:46 -0600 (MDT)") Original-Lines: 28 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:5674 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5674 Richard Stallman 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)