GNU bug report logs -
#54173
28.0.91; Training wheels for query-replace
Previous Next
Reported by: Augusto Stoffel <arstoffel <at> gmail.com>
Date: Sat, 26 Feb 2022 22:16:02 UTC
Severity: normal
Tags: wontfix
Found in version 28.0.91
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On Sun, 27 Feb 2022 at 11:24, Eli Zaretskii <eliz <at> gnu.org> wrote:
>> From: Augusto Stoffel <arstoffel <at> gmail.com>
>> Cc: 54173 <at> debbugs.gnu.org
>> Date: Sun, 27 Feb 2022 09:51:42 +0100
>>
>> > But since '?' produces a more detailed help, and that help text stays
>> > on display thereafter, do we really need one more variant? Maybe the
>> > default message could be expanded instead (but not to such a long
>> > text, which would resize the mini-window in many cases)?
>>
>> I think ‘y’ and ‘n’ are intuitive enough that they don't need a
>> reminder. But mentioning the more uncommon ones (‘.’ and so on) without
>> talking about ‘y’ and ‘n’ is weird.
>
> How about the below?
>
> (‘y’/‘n’, ‘.’ replace & exit, ‘^’ back up, ‘?’ help)
I find this better than the status quo. I've attached the patch.
[0001-Expand-help-string-in-perform-replace-prompt.patch (text/x-patch, attachment)]
[Message part 3 (text/plain, inline)]
> An alternative is to have C-h and F1 temporarily show a longer line
> with more commands.
>
>> One idea would be to choose between the short and long messages based on
>> the size of the miniwindow as well as the length regexp and replacement
>> text.
>
> That could also be a possibility.
Between this and your suggestion, I'm undecided what's better. Perhaps
this is more complicated than necessary.
This bug report was last modified 3 years and 67 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.