GNU bug report logs - #4044
23.1; unable to handle folder whose name starts with 2009-08-04

Previous Next

Package: emacs;

Reported by: xah lee <xah <at> xahlee.org>

Date: Wed, 5 Aug 2009 04:20:04 UTC

Severity: normal

Merged with 3710, 5597, 9039

Found in version 24.0.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4044 in the body.
You can then email your comments to 4044 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4044; Package emacs. (Wed, 05 Aug 2009 04:20:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to xah lee <xah <at> xahlee.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 05 Aug 2009 04:20:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: xah lee <xah <at> xahlee.org>
To: bug-gnu-emacs <at> gnu.org
Cc: xah lee <xah <at> xahlee.org>
Subject: 23.1; unable to handle folder whose name starts with 2009-08-04
Date: Tue, 4 Aug 2009 21:11:26 -0700
bug summary:

if a folder has names like “2009-08-04 misc”, then emacs dired  
will mistake the folder name being just “misc”, and basically  
unable to open, move, delete the folder.

Steps:

• switch to dired.

• type + then 2009-08-04 misc

• Now, you can see the coloring is wrong. Try to move, rename, or go  
into the folder. Emacs complains
dired-get-file-for-visit: File no longer exists; type `g' to update  
dired buffer

This happens on emacs 23.x on Mac. 100% reproducible.

GNU Emacs 23.1.1 (powerpc-apple-darwin8.11.0, NS apple-appkit-824.48)  
of 2009-08-04 on xahg5.local

  Xah
∑ http://xahlee.org/

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4044; Package emacs. (Mon, 10 Aug 2009 02:35:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 10 Aug 2009 02:35:04 GMT) Full text and rfc822 format available.

Message #10 received at 4044 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: xah lee <xah <at> xahlee.org>
Cc: 4044 <at> debbugs.gnu.org
Subject: Re: 23.1; unable to handle folder whose name starts with 2009-08-04
Date: Sun, 09 Aug 2009 22:28:01 -0400
> if a folder has names like “2009-08-04 misc”, then emacs dired  
> will mistake the folder name being just “misc”, and basically  
> unable to open, move, delete the folder.
>
> • switch to dired.
> • type + then 2009-08-04 misc
>
> • Now, you can see the coloring is wrong. Try to move, rename, or go  
> into the folder. Emacs complains
> dired-get-file-for-visit: File no longer exists; type `g' to update  
> 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)?



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4044; Package emacs. (Mon, 10 Aug 2009 06:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Xah Lee" <xah <at> xahlee.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 10 Aug 2009 06:20:04 GMT) Full text and rfc822 format available.

Message #15 received at 4044 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Xah Lee" <xah <at> xahlee.org>
To: "Chong Yidong" <cyd <at> stupidchicken.com>
Cc: <4044 <at> debbugs.gnu.org>
Subject: Re: 23.1; unable to handle folder whose name starts with 2009-08-04
Date: Sun, 9 Aug 2009 23:11:34 -0700
> 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)?

yea, 100% reproduceable with -Q, but on Mac OS X only though.

Xah

----- Original Message ----- 
From: "Chong Yidong" <cyd <at> stupidchicken.com>
To: "xah lee" <xah <at> xahlee.org>
Cc: <4044 <at> debbugs.gnu.org>
Sent: Sunday, August 09, 2009 7:28 PM
Subject: Re: 23.1; unable to handle folder whose name starts with 2009-08-04


> if a folder has names like “2009-08-04 misc”, then emacs dired
> will mistake the folder name being just “misc”, and basically
> unable to open, move, delete the folder.
>
> • switch to dired.
> • type + then 2009-08-04 misc
>
> • Now, you can see the coloring is wrong. Try to move, rename, or go
> into the folder. Emacs complains
> dired-get-file-for-visit: File no longer exists; type `g' to update
> 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)? 




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4044; Package emacs. (Mon, 10 Aug 2009 08:40:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Michael Albinus <michael.albinus <at> gmx.de>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 10 Aug 2009 08:40:05 GMT) Full text and rfc822 format available.

Message #20 received at 4044 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 4044 <at> debbugs.gnu.org, xah lee <xah <at> xahlee.org>
Subject: Re: bug#4044: 23.1; unable to handle folder whose name starts with 2009-08-04
Date: Mon, 10 Aug 2009 10:34:19 +0200
Chong Yidong <cyd <at> stupidchicken.com> writes:

>> if a folder has names like “2009-08-04 misc”, then emacs dired  
>> will mistake the folder name being just “misc”, and basically  
>> unable to open, move, delete the folder.
>>
>> • switch to dired.
>> • type + then 2009-08-04 misc
>>
>> • Now, you can see the coloring is wrong. Try to move, rename, or go  
>> into the folder. Emacs complains
>> dired-get-file-for-visit: File no longer exists; type `g' to update  
>> 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.



bug reassigned from package 'emacs' to 'emacs,ns'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 15 Jan 2010 02:35:02 GMT) Full text and rfc822 format available.

Forcibly Merged 4044 9039. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 21 Jul 2011 01:10:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 18 Aug 2011 11:24:03 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 20 Sep 2011 03:34:01 GMT) Full text and rfc822 format available.

Forcibly Merged 4044 5597 9039. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Tue, 20 Sep 2011 03:34:01 GMT) Full text and rfc822 format available.

Forcibly Merged 3710 4044 5597 9039. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 06 Oct 2011 01:44:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Nov 2011 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 290 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.