From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ndame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#52751: 27.1; Go back to editing the from part in query replace Date: Sat, 25 Dec 2021 21:04:26 +0000 Message-ID: References: <861r20lchf.fsf@mail.linkov.net> <8635mgjtyk.fsf@mail.linkov.net> Reply-To: ndame 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="9357"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52751@debbugs.gnu.org, rms@gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 25 22:05:22 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 1n1EED-0002Bt-SW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Dec 2021 22:05:21 +0100 Original-Received: from localhost ([::1]:47786 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1EEC-0001rD-IY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Dec 2021 16:05:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51326) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1EDv-0001qf-0d for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2021 16:05:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56632) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1EDu-0003Qg-Nd for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2021 16:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1EDu-0005un-J7 for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2021 16:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ndame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Dec 2021 21:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52751 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: 52751@debbugs.gnu.org, "ndame via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\"" , rms@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.164046627722688 (code B ref -1); Sat, 25 Dec 2021 21:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Dec 2021 21:04:37 +0000 Original-Received: from localhost ([127.0.0.1]:39943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1EDU-0005tn-SA for submit@debbugs.gnu.org; Sat, 25 Dec 2021 16:04:37 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:49424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1EDS-0005tW-Nx for submit@debbugs.gnu.org; Sat, 25 Dec 2021 16:04:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51192) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1EDR-0001oE-Sp for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2021 16:04:34 -0500 Original-Received: from mail-4319.protonmail.ch ([185.70.43.19]:22727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1EDO-0003MO-1L for bug-gnu-emacs@gnu.org; Sat, 25 Dec 2021 16:04:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1640466266; bh=i2LnSDDEl7Ljq1eiiX3GWLGqDqZKRo0m2rBYJrf/rM8=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=XTjM3JC9qCSNN5xNpxC8ymYUj8hZs/ksXgxqHK05VQTi+A3OpnvVZIL1OR9FWHXKE kIgk6XbHjPzfkcx4v2HVTzgfbQ0xmz31eRHrod5y9uFGBopS5/dE6EpKSjpAMaKjfl ZWgk8GVqwm4gQSB/CI1iomK5F9GPsPNmHCKKjQiitpSuSE498YN6VirTgr5/TJ+2pU 7iX/2Qz2ulFLgG+CcVCRmDzR84N01JyExuCqjihG5ieNbb8A8mBda9mdwqxBhuaAPv E01lsGcO7A8Mn+fRkTgJiu5MmORjdYoN61GP4HL6lB9Sd1fn+2HeWaXP+CDKelmOf+ v6Wzo6W/N/IDA== In-Reply-To: <8635mgjtyk.fsf@mail.linkov.net> Received-SPF: pass client-ip=185.70.43.19; envelope-from=laszlomail@protonmail.com; helo=mail-4319.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , ndame Xref: news.gmane.io gmane.emacs.bugs:223119 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. > Second, typing RET in the first field is ambiguous It is not ambiguous. RET submits, TAB moves between fields. This is how dialogs work in mainstream UIs, users are used to this. So RET in the first field means the user wants to replace matches with the empty string. In order to add a TO string the users presses TAB to move to the second field.