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 14:56:16 +0200 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84k7e3rfrj.fsf@lucy.is.informatik.uni-duisburg.de> References: <847ka5qafi.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049893894 21598 80.91.224.249 (9 Apr 2003 13:11:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 9 Apr 2003 13:11:34 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Apr 09 15:11:31 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 193FMR-0005bu-00 for ; Wed, 09 Apr 2003 15:11:31 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 193FQv-0002VX-00 for ; Wed, 09 Apr 2003 15:16:09 +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 193FLa-0004dG-04 for emacs-devel@quimby.gnus.org; Wed, 09 Apr 2003 09:10:38 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 193FLA-0004ay-00 for emacs-devel@gnu.org; Wed, 09 Apr 2003 09:10:12 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 193FKX-0004Js-00 for emacs-devel@gnu.org; Wed, 09 Apr 2003 09:09:34 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 193F9b-0001fM-00 for emacs-devel@gnu.org; Wed, 09 Apr 2003 08:58:16 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 193F96-0004gC-00 for ; Wed, 09 Apr 2003 14:57:44 +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 193F95-0004fy-00 for ; Wed, 09 Apr 2003 14:57:43 +0200 Original-Lines: 26 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:qKyxe3jfwnrfNERliDjQW2J7c+I= 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:13075 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13075 Richard Stallman writes: > file-symlink-p should return the exact link target. (When the target > is relative, file-symlink-p returns the relative name.) I confess that I'm rather surprised by this decision. It appears to be inconsistent with another decision on make-symbolic-link that you took some months ago. 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. So much for my opinion. Some observations: Previously, you decided that the target of the symlink (the first arg FILENAME) should be interpreted as a filename for make-symbolic-link. Another issue that might play a role is backward compatibility. In the past, Ange-FTP has interpreted the symlink target as a filename in file-symlink-p. Ange-FTP does not implement make-symbolic-link. What do you think? -- A preposition is not a good thing to end a sentence with.