From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#52751: 27.1; Go back to editing the from part in query replace Date: Sun, 26 Dec 2021 09:45:10 +0200 Organization: LINKOV.NET Message-ID: <86bl133iuh.fsf@mail.linkov.net> References: <861r20lchf.fsf@mail.linkov.net> <8635mgjtyk.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18356"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 52751@debbugs.gnu.org, rms@gnu.org To: ndame Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 26 08:59:44 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 1n1ORU-0004cc-3h for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Dec 2021 08:59:44 +0100 Original-Received: from localhost ([::1]:51760 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1ORT-0006Mb-7c for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Dec 2021 02:59:43 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1OQo-0006Ex-Mg for bug-gnu-emacs@gnu.org; Sun, 26 Dec 2021 02:59:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56857) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1OQo-0005FV-Aq for bug-gnu-emacs@gnu.org; Sun, 26 Dec 2021 02:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1OQo-0008JK-8u for bug-gnu-emacs@gnu.org; Sun, 26 Dec 2021 02:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Dec 2021 07:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52751 X-GNU-PR-Package: emacs Original-Received: via spool by 52751-submit@debbugs.gnu.org id=B52751.164050551131878 (code B ref 52751); Sun, 26 Dec 2021 07:59:02 +0000 Original-Received: (at 52751) by debbugs.gnu.org; 26 Dec 2021 07:58:31 +0000 Original-Received: from localhost ([127.0.0.1]:40166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1OQI-0008I5-Mi for submit@debbugs.gnu.org; Sun, 26 Dec 2021 02:58:30 -0500 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:54871) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1OQG-0008HZ-Aw for 52751@debbugs.gnu.org; Sun, 26 Dec 2021 02:58:28 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id DE2E1100007; Sun, 26 Dec 2021 07:58:20 +0000 (UTC) In-Reply-To: (ndame's message of "Sat, 25 Dec 2021 21:04:26 +0000") 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" Xref: news.gmane.io gmane.emacs.bugs:223135 Archived-At: >> First, each of these fields should act as the minibuffer >> where M-p and M-n navigates the history of previous FROM->TO pairs. > > Yes, history navigation keys should fill the FROM and TO fields > as appropriate. What's the problem here? Of course, they have to > be reimplemented here, if this is what you mean. > > Optimally, this two field input thing should be made generic, so > other commands can also use it in the future. So it should be > a reusable input widget, a new kind of interactive input for commands > to use, beside the usual single minibuffer input. This means like there is a generic function 'completing-read-multiple' that reads multiple fields using "," as a separator, a similar function could be created to read a list of values from fields in the minibuffer.