GNU bug report logs - #46033
up arrow in query replace should not step into the prompt

Previous Next

Package: emacs;

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

Date: Fri, 22 Jan 2021 13:23:02 UTC

Severity: normal

Tags: fixed

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #29 received at submit <at> debbugs.gnu.org (full text, mbox):

From: reporter <laszlomail <at> protonmail.com>
To: Juri Linkov <juri <at> linkov.net>
Cc: "laszlomail--- via \"Bug reports for GNU Emacs,
 the Swiss army knife of text editors\"" <bug-gnu-emacs <at> gnu.org>,
 Eli Zaretskii <eliz <at> gnu.org>, "46033 <at> debbugs.gnu.org" <46033 <at> debbugs.gnu.org>
Subject: Re: bug#46033: up arrow in query replace should not step into the
 prompt
Date: Sat, 23 Jan 2021 17:46:18 +0000
[Message part 1 (text/plain, inline)]
>
> Thanks for the well justified request. This patch avoids moving point
> to the prompt on the rightful assumption that most of the time the users
> would not want to edit read-only text:

This breaks the history retrieval feature with up arrow.

With the current implementation up arrow takes you into the prompt, but if
you are in the top line of the prompt and press up arrow again then up
arrow retrieves history.

In the case I described going into the prompt is useless, so up arrow
should retrieve history immediately, without having to go to the top
line of the prompt first.
[avoid-minibuffer-prompt.patch (text/x-diff, attachment)]

This bug report was last modified 4 years and 117 days ago.

Previous Next


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