From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#4044: 23.1; unable to handle folder whose name starts with 2009-08-04 Date: Mon, 10 Aug 2009 10:34:19 +0200 Message-ID: References: Reply-To: Michael Albinus , 4044@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1249894044 28323 80.91.229.12 (10 Aug 2009 08:47:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2009 08:47:24 +0000 (UTC) Cc: xah lee , 4044@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 10 10:47:17 2009 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.50) id 1MaQXB-0004cX-Jg for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 10:47:13 +0200 Original-Received: from localhost ([127.0.0.1]:33309 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaQXB-000504-39 for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Aug 2009 04:47:13 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MaQWx-0004vD-K0 for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 04:46:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MaQWs-0004sh-3f for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 04:46:58 -0400 Original-Received: from [199.232.76.173] (port=53719 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MaQWr-0004sZ-Rx for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 04:46:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55104) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MaQWq-0005JN-El for bug-gnu-emacs@gnu.org; Mon, 10 Aug 2009 04:46:53 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7A8kmkt020504; Mon, 10 Aug 2009 01:46:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7A8e5Cf019784; Mon, 10 Aug 2009 01:40:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Michael Albinus Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 10 Aug 2009 08:40:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4044 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4044-submit@emacsbugs.donarmstrong.com id=B4044.124989326919261 (code B ref 4044); Mon, 10 Aug 2009 08:40:05 +0000 Original-Received: (at 4044) by emacsbugs.donarmstrong.com; 10 Aug 2009 08:34:29 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mailrelay1.alcatel.de (mailrelay1.alcatel.de [194.113.59.95]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7A8YRCD019258 for <4044@emacsbugs.donarmstrong.com>; Mon, 10 Aug 2009 01:34:28 -0700 Original-Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n7A8YKRm032658; Mon, 10 Aug 2009 10:34:20 +0200 Original-Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n7A8YKY4015000; Mon, 10 Aug 2009 10:34:20 +0200 (MEST) In-Reply-To: (Chong Yidong's message of "Sun, 09 Aug 2009 22:28:01 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Alcanet-virus-scanned: n7A8YKY4015000 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 10 Aug 2009 04:46:58 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:30054 Archived-At: Chong Yidong writes: >> if a folder has names like =E2=80=9C2009-08-04 misc=E2=80=9D, then emacs= dired=20=20 >> will mistake the folder name being just =E2=80=9Cmisc=E2=80=9D, and basi= cally=20=20 >> unable to open, move, delete the folder. >> >> =E2=80=A2 switch to dired. >> =E2=80=A2 type + then 2009-08-04 misc >> >> =E2=80=A2 Now, you can see the coloring is wrong. Try to move, rename, o= r go=20=20 >> into the folder. Emacs complains >> dired-get-file-for-visit: File no longer exists; type `g' to update=20=20 >> dired buffer >> >> This happens on emacs 23.x on Mac. 100% reproducible. > > I'm afraid I can't reproduce it on GNU/Linux with 23.1, or with trunk. > Do you see the problem without customizations (-Q)? This is similar to Bug#4075. The problem is, that the `dired-filename' text property is wrongly set in the dired buffer for that entry. Under GNU/Linux, this property is set correctly, likely due to the "--dired" switch of the ls command (see `insert-directory'). Tramp hasn't set it until recently, and somebody else did set the wrong value when Tramp's `tramp-handle-insert-directory' was finished. I have solved it (partly) by setting this text property in `tramp-handle-insert-directory', if possible. I have no idea what happens on Mac. Best regards, Michael.