GNU bug report logs - #52751
27.1; Go back to editing the from part in query replace

Previous Next

Package: emacs;

Reported by: ndame <laszlomail <at> protonmail.com>

Date: Thu, 23 Dec 2021 06:56:01 UTC

Severity: wishlist

Found in version 27.1

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: ndame <laszlomail <at> protonmail.com>
Cc: 52751 <at> debbugs.gnu.org
Subject: bug#52751: 27.1; Go back to editing the from part in query replace
Date: Thu, 23 Dec 2021 19:18:23 +0200
> I often run into the situation of doing a complicated query replace/regexp,
>  submitting the FROM part and then during editing the TO part I notice an
> error in FROM. But I cannot go back there to fix it, I can either cancel
> the replace which deletes the FROM part, because it did not yet go into
> history, or I can submit some dummy TO value, cancel the replace, restart
> it  and then use history to fix the FROM value.
>
> There should be an easy way to go back to editing FROM without cumbersome
> workarounds.
>
> Mainstream UIs solve this by having different input fields where I can
> switch to and edit any input field before submitting. Maybe the FROM -> TO
> input should be the default with a preinserted -> arrow, so the user can
> switch back an forth easily between FROM and TO?

Preinserting an arrow by default would be confusing for users.
But maybe M-n could insert it.




This bug report was last modified 3 years and 171 days ago.

Previous Next


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