From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: laszlomail--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#46033: up arrow in query replace should not step into the prompt Date: Sat, 23 Jan 2021 17:35:59 +0000 Message-ID: References: <83czxx5b5j.fsf@gnu.org> <87v9boyfob.fsf_-_@gnus.org> <837do46bz0.fsf@gnu.org> Reply-To: reporter Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31476"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , "46033@debbugs.gnu.org" <46033@debbugs.gnu.org> To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 23 18:37:19 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l3Mqd-00084D-4U for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 18:37:19 +0100 Original-Received: from localhost ([::1]:57350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3Mqc-0004KB-6j for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jan 2021 12:37:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3MqO-0004Jw-O2 for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 12:37:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3MqM-0002yq-6q for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 12:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3MqM-0002VP-4j for bug-gnu-emacs@gnu.org; Sat, 23 Jan 2021 12:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: reporter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jan 2021 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46033 X-GNU-PR-Package: emacs Original-Received: via spool by 46033-submit@debbugs.gnu.org id=B46033.16114233709567 (code B ref 46033); Sat, 23 Jan 2021 17:37:02 +0000 Original-Received: (at 46033) by debbugs.gnu.org; 23 Jan 2021 17:36:10 +0000 Original-Received: from localhost ([127.0.0.1]:35191 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3MpW-0002UF-0O for submit@debbugs.gnu.org; Sat, 23 Jan 2021 12:36:10 -0500 Original-Received: from mail-40132.protonmail.ch ([185.70.40.132]:47545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3MpU-0002U1-9t for 46033@debbugs.gnu.org; Sat, 23 Jan 2021 12:36:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1611423361; bh=Z7zJwjPX8iwQz/ZHIGfae9W7dqZJ/mrBT56bv53t0sw=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=B+By+dhtTakCvVNGkCv1UvrfsLy2MitOQa3zeJKI6e3DBzNrDjgE9rYcZFvXUwmJa B3R20QeY71SMYfaqdxBIvYJpX5t2vUMtBa/q9jzy+yAVip9v0Qpl+lcj6uzeH7ijG3 zaOvVf1sloQ85PrN6mzC2C58KFqif3V39Zw2KnJg= In-Reply-To: <837do46bz0.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , reporter Xref: news.gmane.io gmane.emacs.bugs:198439 Archived-At: > > That's how it's supposed to work, though. It is not useful at all when the prompt is empty and the full default replacement is visible, because then there is nothing to scroll. This is the case just after the user invoked query replace. If the user does not type anything for a new replacement then he wants to retrieve a previous replacement. In this specific case up arrow should also retrieve the previous history, instead of going into the prompt which is useless in this case. https://i.imgur.com/7G3FcPX.png