unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Thierry Volpiatto <thievol@posteo.net>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: peter.mao@gmail.com, Eli Zaretskii <eliz@gnu.org>, 63676@debbugs.gnu.org
Subject: bug#63676: cancelling editable dired causes UI problems with dired
Date: Sun, 28 May 2023 04:09:30 +0000	[thread overview]
Message-ID: <87wn0tm70l.fsf@posteo.net> (raw)
In-Reply-To: <87a5xp6xu5.fsf@web.de> (Michael Heerdegen's message of "Sun, 28 May 2023 03:36:50 +0200")


Hello Michael,

Michael Heerdegen <michael_heerdegen@web.de> writes:

> When I'm in the middle of a complex renaming operation using wdired, I
> might have done some preparations before entering wdired, like killing
> some unrelated lines so that it's simpler to use rectangle commands on
> the rest (to rename a "block" of files).  When aborting reverts the
> buffer (Say, I made a mistake ans lost orientation), I now have to do
> the preparations again.  This is not helpful.

You could avoid such problem by creating a dired buffer with _only_ the
files you want to modify (helm allows this), then switch to wdired-mode
and do your modifications.
Probably implementing this in dired (i.e. open a new dired buffer with
only marked files) would be a good addition.

Note: Only Emacs-30 (see commit 66040fbeed2) allow this,
Emacs-28 dired doesn't support a list of files.

-- 
Thierry





  reply	other threads:[~2023-05-28  4:09 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
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 [this message]
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=87wn0tm70l.fsf@posteo.net \
    --to=thievol@posteo.net \
    --cc=63676@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=michael_heerdegen@web.de \
    --cc=peter.mao@gmail.com \
    /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).