From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7854: emacs-23 (regression) - fix breaks `dired' Date: Sat, 12 Feb 2011 23:11:26 +0200 Message-ID: <83y65lot4x.fsf__3901.32608959011$1297546600$gmane$org@gnu.org> References: <87r5bdrond.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1297546600 4311 80.91.229.12 (12 Feb 2011 21:36:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 12 Feb 2011 21:36:40 +0000 (UTC) Cc: emacs-devel@gnu.org, 7854@debbugs.gnu.org, reinersteib+gmane@imap.cc To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 12 22:36:35 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PoN8s-0003ke-V0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Feb 2011 22:36:35 +0100 Original-Received: from localhost ([127.0.0.1]:37202 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoN8s-0004if-El for geb-bug-gnu-emacs@m.gmane.org; Sat, 12 Feb 2011 16:36:34 -0500 Original-Received: from [140.186.70.92] (port=45846 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PoN8k-0004gM-P6 for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2011 16:36:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PoN8j-0004jF-FB for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2011 16:36:26 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PoN8j-0004jB-D7 for bug-gnu-emacs@gnu.org; Sat, 12 Feb 2011 16:36:25 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PoMcQ-0002XC-8y; Sat, 12 Feb 2011 16:03:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 12 Feb 2011 21:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7854 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7854-submit@debbugs.gnu.org id=B7854.12975445489699 (code B ref 7854); Sat, 12 Feb 2011 21:03:02 +0000 Original-Received: (at 7854) by debbugs.gnu.org; 12 Feb 2011 21:02:28 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PoMbs-0002WO-03 for submit@debbugs.gnu.org; Sat, 12 Feb 2011 16:02:28 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PoMbo-0002W9-TG for 7854@debbugs.gnu.org; Sat, 12 Feb 2011 16:02:25 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LGI00B00VU34800@a-mtaout23.012.net.il> for 7854@debbugs.gnu.org; Sat, 12 Feb 2011 23:11:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.171.5]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LGI00BA7W6H2I90@a-mtaout23.012.net.il>; Sat, 12 Feb 2011 23:11:06 +0200 (IST) In-reply-to: <87r5bdrond.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 12 Feb 2011 16:03:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:44078 Archived-At: > From: Chong Yidong > Date: Sat, 12 Feb 2011 15:20:06 -0500 > Cc: 7854@debbugs.gnu.org, Reiner Steib > > Could someone with access to Windows please test the regression reported > at Bug#7854? I could not reproduce it, replacing "u:/tmp" with "/tmp/". > > > $ emacs -Q -l files-emacs23-git.el --eval '(dired "u:/tmp/")' > > (files-emacs23-git.el = > > http://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/files.el?h=emacs-23&id=8588a5a723f4e5cfa115341a242126a9efc71808) > > > > I get: > > > > | if: Reading directory: "ls -al -- u:/tmp/" exited with status 1 > > If someone could come up with a smaller testcase, that would be good > too. I cannot reproduce this with the current trunk (replacing u:/tmp with a directory I actually have on my system). Up comes Dired with the listing of that directory. The only way I can cause it to fail is by removing ls.exe from my PATH -- but that produces a different error message: Debugger entered--Lisp error: (file-error "Searching for program" "no such file or directory" "ls") call-process("ls" nil t nil "-al" "--" "h:/test/.") apply(call-process "ls" nil t nil ("-al" "--" "h:/test/.")) This error is expected: loading files.el overrides the replacement functions installed by ls-lisp.el (which is preloaded on Windows), so now Dired on Windows must have a working ls.exe executable. (I actually don't understand what is the purpose of loading files.el from Emacs 23 into Emacs 24, but that's me.) Reiner, can you still see this problem in today's trunk?