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


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: reporter <laszlomail <at> protonmail.com>
Cc: 46033 <at> debbugs.gnu.org, eliz <at> gnu.org
Subject: bug#46033: up arrow in query replace should not step into the prompt
Date: Sat, 23 Jan 2021 20:34:34 +0200
>> 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.

This is exactly what the patch does.  Have you really tried it?




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.