all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#4044: 23.1; unable to handle folder whose name starts with 2009-08-04
@ 2009-08-05  4:11 xah lee
  0 siblings, 0 replies; 4+ messages in thread
From: xah lee @ 2009-08-05  4:11 UTC (permalink / raw)
  To: bug-gnu-emacs; +Cc: xah lee

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/^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#4044: 23.1; unable to handle folder whose name starts with 2009-08-04
@ 2009-08-10  2:28 Chong Yidong
  2009-08-10  6:11 ` Xah Lee
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2009-08-10  2:28 UTC (permalink / raw)
  To: xah lee; +Cc: 4044

> 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)?





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#4044: 23.1; unable to handle folder whose name starts with 2009-08-04
  2009-08-10  2:28 bug#4044: 23.1; unable to handle folder whose name starts with 2009-08-04 Chong Yidong
@ 2009-08-10  6:11 ` Xah Lee
  0 siblings, 0 replies; 4+ messages in thread
From: Xah Lee @ 2009-08-10  6:11 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 4044

> 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@stupidchicken.com>
To: "xah lee" <xah@xahlee.org>
Cc: <4044@emacsbugs.donarmstrong.com>
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)? 






^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#4044: 23.1; unable to handle folder whose name starts with 2009-08-04
       [not found] <mailman.4271.1249872423.2239.bug-gnu-emacs@gnu.org>
@ 2009-08-10  8:34 ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2009-08-10  8:34 UTC (permalink / raw)
  To: Chong Yidong; +Cc: xah lee, 4044

Chong Yidong <cyd@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-10  8:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-10  2:28 bug#4044: 23.1; unable to handle folder whose name starts with 2009-08-04 Chong Yidong
2009-08-10  6:11 ` Xah Lee
     [not found] <mailman.4271.1249872423.2239.bug-gnu-emacs@gnu.org>
2009-08-10  8:34 ` Michael Albinus
  -- strict thread matches above, loose matches on Subject: below --
2009-08-05  4:11 xah lee

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.