From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Hansen Newsgroups: gmane.emacs.devel Subject: directory-files and Tramp Date: Sat, 22 Feb 2003 00:16:58 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3E56B36A.4050806@math.ku.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045869510 32522 80.91.224.249 (21 Feb 2003 23:18:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Feb 2003 23:18:30 +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 18mMR2-0008SH-00 for ; Sat, 22 Feb 2003 00:18:28 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18mMfF-0002p7-00 for ; Sat, 22 Feb 2003 00:33:10 +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 18mMQR-0000LR-05 for emacs-devel@quimby.gnus.org; Fri, 21 Feb 2003 18:17:51 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18mMQ7-00006d-00 for emacs-devel@gnu.org; Fri, 21 Feb 2003 18:17:31 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18mMPU-0006LV-00 for emacs-devel@gnu.org; Fri, 21 Feb 2003 18:17:23 -0500 Original-Received: from [62.84.220.10] (helo=mail.dantel.dk) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18mMPN-0005rF-00 for emacs-devel@gnu.org; Fri, 21 Feb 2003 18:16:45 -0500 Original-Received: from math.ku.dk [62.84.221.46] by mail.dantel.dk with ESMTP (SMTPD32-7.13) id A3D812B50224; Sat, 22 Feb 2003 00:18:48 +0100 User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en Original-To: =?ISO-8859-1?Q?Kai_Gro=DFjohann?= 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:11830 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11830 Tramp is not handling the call (directory-files directory) when directory is relative and default-directory a Tramp file. I beleive the problem can be fixed with the following patch: diff -c dired-original.c dired.c *** dired-original.c Tue Feb 4 15:03:12 2003 --- dired.c Fri Feb 21 21:07:26 2003 *************** *** 346,351 **** --- 346,353 ---- { Lisp_Object handler; + directory = Fexpand_file_name (directory, Qnil); + /* If the file name has special constructs in it, call the corresponding file handler. */ handler = Ffind_file_name_handler (directory, Qdirectory_files);