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: file-relative-name and remote files Date: Fri, 28 Feb 2003 21:25:43 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3E5E6F20.6030905@math.ku.dk> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1046486527 6075 80.91.224.249 (1 Mar 2003 02:42:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 1 Mar 2003 02:42:07 +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.35 #1 (Debian)) id 18owwu-0001Zh-00 for ; Sat, 01 Mar 2003 03:42:04 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18oxEa-0002da-00 for ; Sat, 01 Mar 2003 04:00:20 +0100 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 18oww4-00064m-04 for emacs-devel@quimby.gnus.org; Fri, 28 Feb 2003 21:41:12 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18owrM-0005DK-00 for emacs-devel@gnu.org; Fri, 28 Feb 2003 21:36:20 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18owj6-0004Z0-00 for emacs-devel@gnu.org; Fri, 28 Feb 2003 21:27:49 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18owhE-00044R-00 for emacs-devel@gnu.org; Fri, 28 Feb 2003 21:25:52 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18owh5-0005cv-00; Fri, 28 Feb 2003 21:25:43 -0500 Original-To: Lars Hansen In-reply-to: <3E5E6F20.6030905@math.ku.dk> (message from Lars Hansen on Thu, 27 Feb 2003 21:03:44 +0100) 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:12041 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:12041 I suggest the following implementation of file-relative-name. It does not require a new file handler operation, it detects remote files in the same way as file-remote-p do. Please see the doc string for further explanation. This seems like the right general approach for making that change.