From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54173: 28.0.91; Training wheels for query-replace Date: Sun, 27 Feb 2022 12:55:12 +0200 Message-ID: <83o82so9yn.fsf@gnu.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: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34741"; mail-complaints-to="usenet@ciao.gmane.io" 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 11:56:09 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 1nOHDk-0008sj-JP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Feb 2022 11:56:08 +0100 Original-Received: from localhost ([::1]:39282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOHDj-0004R8-Nb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Feb 2022 05:56:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOHDd-0004Qu-Tp for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 05:56:01 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOHDd-00033l-LH for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 05:56:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOHDd-0001lI-KK for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 05:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Feb 2022 10:56:01 +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.16459593326737 (code B ref 54173); Sun, 27 Feb 2022 10:56:01 +0000 Original-Received: (at 54173) by debbugs.gnu.org; 27 Feb 2022 10:55:32 +0000 Original-Received: from localhost ([127.0.0.1]:56912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOHDA-0001kb-AI for submit@debbugs.gnu.org; Sun, 27 Feb 2022 05:55:32 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOHD9-0001kO-6b for 54173@debbugs.gnu.org; Sun, 27 Feb 2022 05:55:31 -0500 Original-Received: from [2001:470:142:3::e] (port=47614 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOHD3-000315-Sy; Sun, 27 Feb 2022 05:55:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=5h+ZVi2hWvruU4J+s0Z9NyZvJnlKWdB+W7IEug6iqiE=; b=UUTi2o6C5mVEf1qgYzJ9 OJ6FaWJn0SOx9aFlWsPudwStKYvn+5vyaO/dhC/SoRm7PnFZNC/3rwB09WIfHIGuyatvSBNqncYLf uaA5GIpTf4mpsMxKZ0MUqZlqHYc+T6/xCy+XaybwrVatMYeI8BU1nWA+09eJ7YzvhGUDrU+H0flrk FWG8BEljfqVc3oZvJ1RfwK3MQzRlLjp0EXWkjdZfaNKOHjyQcNgA8PBSmyqgEPDURsboIuHDfEOjM /ubgutNMfjNZrj7AqQ287TUIXZj2fj720Gle7RNXk7iwkSNGs4SxmGH/3RaY9bhch3qVZlE9fNB6n +xT5gafG6OkbxA==; Original-Received: from [87.69.77.57] (port=2406 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOHD3-0007N6-By; Sun, 27 Feb 2022 05:55:25 -0500 In-Reply-To: <87wnhgtxzv.fsf@gmail.com> (message from Augusto Stoffel on 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:227710 Archived-At: > From: Augusto Stoffel > Cc: 54173@debbugs.gnu.org > Date: Sun, 27 Feb 2022 11:17:08 +0100 > > >> I think ‘y’ and ‘n’ are intuitive enough that they don't need a > >> reminder. But mentioning the more uncommon ones (‘.’ and so on) without > >> talking about ‘y’ and ‘n’ is weird. > > > > How about the below? > > > > (‘y’/‘n’, ‘.’ replace & exit, ‘^’ back up, ‘?’ help) > > 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. > >> One idea would be to choose between the short and long messages based on > >> the size of the miniwindow as well as the length regexp and replacement > >> text. > > > > That could also be a possibility. > > Between this and your suggestion, I'm undecided what's better. Perhaps > this is more complicated than necessary. Let's see what others think.