From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: file-symlink-p for remote files? Date: Wed, 09 Apr 2003 21:29:29 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84fzormpuu.fsf@lucy.is.informatik.uni-duisburg.de> References: <847ka5qafi.fsf@lucy.is.informatik.uni-duisburg.de> <84k7e3rfrj.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1049917341 17475 80.91.224.249 (9 Apr 2003 19:42:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Apr 2003 19:42:21 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 09 21:42:20 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 193LRC-0004Ov-00 for ; Wed, 09 Apr 2003 21:40:50 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 193LVo-0006LD-00 for ; Wed, 09 Apr 2003 21:45:36 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193LPN-0002NG-02 for emacs-devel@quimby.gnus.org; Wed, 09 Apr 2003 15:38:57 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 193LOF-0001dM-00 for emacs-devel@gnu.org; Wed, 09 Apr 2003 15:37:47 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 193LO1-0001P3-00 for emacs-devel@gnu.org; Wed, 09 Apr 2003 15:37:35 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193LJL-0007Wh-00 for emacs-devel@gnu.org; Wed, 09 Apr 2003 15:32:43 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 193LIG-0003kE-00 for ; Wed, 09 Apr 2003 21:31:36 +0200 Mail-Followup-To: emacs-devel@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 193LHc-0003gS-00 for ; Wed, 09 Apr 2003 21:30:56 +0200 Original-Lines: 21 Original-X-Complaints-To: usenet@main.gmane.org Mail-Copies-To: never User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:4xjXcGEiltKjmPs6/sw09JunLP8= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13086 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13086 kai.grossjohann@gmx.net (Kai Großjohann) writes: > It seems to me that the target of a symlink should either be > interpreted as a string by both functions, or it should be > interpreted as a filename by both functions. More concretely: Say that (file-symlink-p X) returns the string Y. Say that the user then deletes X. Then I think that (make-symbolic-link Y X) should "undo" the deletion of X. Hm. Oh! I just looked at the source, and actually, tramp-handle-make-symbolic-link groks both cases, of Y being a Tramp name and of Y being a non-Tramp absolute name. *blush* -- A preposition is not a good thing to end a sentence with.