emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#63676: closed (cancelling editable dired causes UI problems with dir


From: GNU bug Tracking System
Subject: bug#63676: closed (cancelling editable dired causes UI problems with dired)
Date: Fri, 26 May 2023 09:25:02 +0000

Your message dated Fri, 26 May 2023 12:25:04 +0300
with message-id <83cz2nla1b.fsf@gnu.org>
and subject line Re: bug#63676: cancelling editable dired causes UI problems 
with dired
has caused the debbugs.gnu.org bug report #63676,
regarding cancelling editable dired causes UI problems with dired
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
63676: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63676
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: cancelling editable dired causes UI problems with dired Date: Tue, 23 May 2023 21:51:01 -0700
I'm testing: GNU Emacs 29.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo
 version 1.16.0) of 2023-05-15

Dired behavior has multiple problems if subdirectories are present in the buffer and writable mode is entered and then cancelled

To reproduce the problem
1. Open a directory in dired
2. Insert a subdirectory with "i"
3. Enter writable mode "C-x C-q"
4. Cancel writable mode "C-c ESC"

Now the subdirectory is in the buffer, but it can't be folded or removed with "C-u k" and  the top dir files can no longer be accessed.  After playing around a while, I found that "g" (revert-buffer) fixes things, but it's not the most obvious thing to do.

On the plus side, at least I *can* enter writable mode with a folded subdirectory in dired now!

Peter

--- End Message ---
--- Begin Message --- Subject: Re: bug#63676: cancelling editable dired causes UI problems with dired Date: Fri, 26 May 2023 12:25:04 +0300
> From: Peter Mao <peter.mao@gmail.com>
> Date: Wed, 24 May 2023 18:14:08 -0700
> Cc: 63676@debbugs.gnu.org
> 
> (btw -- I did try this with "emacs -Q" and it did reproduce for me)
> 
> 5. Try to fold the subdir with "$". Instead of folding the subdir, everything 
> folds.
> 6. Try to kill the subdir with "C-u k" with point on the line with the path, 
> message: "Can only kill file
> lines" (expected inserted subdir to be removed from buffer)
> 7. refresh buffer with "g" -- normal operations resume.

Thanks.  So I've now installed Stephen's suggested change on the
emacs-29 branch, and I'm closing this bug.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]