From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#54173: 28.0.91; Training wheels for query-replace Date: Sun, 27 Feb 2022 14:10:13 +0100 Message-ID: <87tucksbey.fsf@gnus.org> References: <87a6edi8b3.fsf@gmail.com> <835yp0pzoh.fsf@gnu.org> <87wnhgwxo8.fsf@gmail.com> <83tuckogza.fsf@gnu.org> <87sfs4wv35.fsf@gmail.com> <83sfs4oe56.fsf@gnu.org> <87wnhgtxzv.fsf@gmail.com> 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="29625"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 54173@debbugs.gnu.org To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 27 14:11:24 2022 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 1nOJKd-0007Vs-TM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Feb 2022 14:11:23 +0100 Original-Received: from localhost ([::1]:46966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOJKc-0006v0-Lm for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Feb 2022 08:11:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOJKI-0006uq-FZ for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 08:11:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOJKI-0000Q8-6Z for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 08:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOJKI-0007gV-2S for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 08:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Feb 2022 13:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54173 X-GNU-PR-Package: emacs Original-Received: via spool by 54173-submit@debbugs.gnu.org id=B54173.164596742729499 (code B ref 54173); Sun, 27 Feb 2022 13:11:02 +0000 Original-Received: (at 54173) by debbugs.gnu.org; 27 Feb 2022 13:10:27 +0000 Original-Received: from localhost ([127.0.0.1]:57024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOJJj-0007fj-Jy for submit@debbugs.gnu.org; Sun, 27 Feb 2022 08:10:27 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:53652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOJJg-0007fU-Nd for 54173@debbugs.gnu.org; Sun, 27 Feb 2022 08:10:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=vwgdj0KuIidzCD7qce9+vDuDHpLIeGArH1yK+sFSszw=; b=W51w+4/7znRWIGyYSkcA3j1WTt K6DarncW206oHqCLb8Vk1Y1O3vGoIUb4y8qUgBVcXXp7Xdqfha/wp5bsorlhiICxNUiij7Z/EDGze w0+Oj6AHp7tj47nn3BAwqM6cVHlPpVkwqxmV2mBr5/i4Ah/IW3ydb06BblwyLnwHNPtc=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nOJJX-0002Ei-F7; Sun, 27 Feb 2022 14:10:18 +0100 X-Now-Playing: Tom Tom Club's _Tom Tom Club_: "=?UTF-8?Q?L'=C3=89l=C3=A9phant?=" In-Reply-To: <87wnhgtxzv.fsf@gmail.com> (Augusto Stoffel's message of "Sun, 27 Feb 2022 11:17:08 +0100") 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:227715 Archived-At: Augusto Stoffel writes: > - (define-key map "y" 'act) > - (define-key map "n" 'skip) > (define-key map "Y" 'act) > + (define-key map "y" 'act) > (define-key map "N" 'skip) > - (define-key map "e" 'edit-replacement) > + (define-key map "n" 'skip) > (define-key map "E" 'edit-replacement) > + (define-key map "e" 'edit-replacement) This seems unrelated, and just moves bindings around? >> > (=E2=80=98y=E2=80=99/=E2=80=98n=E2=80=99, =E2=80=98.=E2=80=99 replac= e & exit, =E2=80=98^=E2=80=99 back up, =E2=80=98?=E2=80=99 help) >>=20 >> I find this better than the status quo. I've attached the patch. > > Thanks. Let's wait a bit to let others chime in and express their > opinions. I'm not sure I understood the patch. Is the proposal to append all that to "Query replacing foo with bar"? It'll make prompts commonly be longer than a line, and it's pretty noisy, so if that's the proposal, I'm against it. The help is on `?', so I don't see the point, either. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no