unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Peter Mao <peter.mao@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 63676@debbugs.gnu.org
Subject: bug#63676: cancelling editable dired causes UI problems with dired
Date: Wed, 24 May 2023 18:14:08 -0700	[thread overview]
Message-ID: <CAEK3s1OVP56oHb-4Mn3a0QzRm1WMJxeEbci_J4nKOnAeXs5bDQ@mail.gmail.com> (raw)
In-Reply-To: <83ilcing54.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]

(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.

On Wed, May 24, 2023 at 4:05 AM Eli Zaretskii <eliz@gnu.org> wrote:

> > From: Peter Mao <peter.mao@gmail.com>
> > 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.
>
> I seem to be unable to reproduce this.  But your recipe lack some
> details, so I'm unsure.  Would you please describe exactly what to
> type after "C-c ESC" to demonstrate that some commands don't work, and
> what did you expect those command to do?
>
> Thanks.
>

[-- Attachment #2: Type: text/html, Size: 2047 bytes --]

  parent reply	other threads:[~2023-05-25  1:14 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-24  4:51 bug#63676: cancelling editable dired causes UI problems with dired Peter Mao
2023-05-24 11:05 ` Eli Zaretskii
2023-05-24 12:09   ` Stephen Berman
2023-05-25  1:14   ` Peter Mao [this message]
2023-05-26  9:25     ` Eli Zaretskii
2023-05-26 23:51   ` Michael Heerdegen
2023-05-27  0:55   ` Michael Heerdegen
2023-05-27  2:39     ` Michael Heerdegen
2023-05-27  6:26       ` Eli Zaretskii
2023-05-27  6:24     ` Eli Zaretskii
2023-05-28  1:36       ` Michael Heerdegen
2023-05-28  4:09         ` Thierry Volpiatto
2023-05-28  5:01           ` Michael Heerdegen
2023-05-28  5:08             ` Thierry Volpiatto
2023-05-28 16:04             ` Drew Adams
2023-05-28 16:21               ` Thierry Volpiatto
2023-05-28 19:17                 ` Drew Adams
2023-05-29  3:43                   ` Thierry Volpiatto
2023-05-29  5:16                     ` Drew Adams
2023-05-29  9:43                       ` Thierry Volpiatto
2023-05-29 17:11                         ` Drew Adams
2023-05-28 16:05           ` Drew Adams
2023-05-28  3:39       ` Michael Heerdegen
2023-05-28  6:43         ` Eli Zaretskii
2023-05-29  1:35           ` Michael Heerdegen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEK3s1OVP56oHb-4Mn3a0QzRm1WMJxeEbci_J4nKOnAeXs5bDQ@mail.gmail.com \
    --to=peter.mao@gmail.com \
    --cc=63676@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).