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 11:24:53 +0200 Message-ID: <83sfs4oe56.fsf@gnu.org> References: <87a6edi8b3.fsf@gmail.com> <835yp0pzoh.fsf@gnu.org> <87wnhgwxo8.fsf@gmail.com> <83tuckogza.fsf@gnu.org> <87sfs4wv35.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="27181"; 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 10:26:29 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 1nOFoy-0006wL-CC for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Feb 2022 10:26:28 +0100 Original-Received: from localhost ([::1]:57910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nOFox-00079T-FA for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 27 Feb 2022 04:26:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nOFoZ-00079I-3S for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 04:26:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nOFoY-0008Qw-Pd for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 04:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nOFoY-00081c-Ga for bug-gnu-emacs@gnu.org; Sun, 27 Feb 2022 04:26:02 -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 09:26: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.164595391530792 (code B ref 54173); Sun, 27 Feb 2022 09:26:02 +0000 Original-Received: (at 54173) by debbugs.gnu.org; 27 Feb 2022 09:25:15 +0000 Original-Received: from localhost ([127.0.0.1]:56869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOFnn-00080a-Gj for submit@debbugs.gnu.org; Sun, 27 Feb 2022 04:25:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nOFnl-00080H-8X for 54173@debbugs.gnu.org; Sun, 27 Feb 2022 04:25:14 -0500 Original-Received: from [2001:470:142:3::e] (port=47016 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 1nOFng-0006uF-0j; Sun, 27 Feb 2022 04:25:08 -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=6BaSNE/OQtkLRQAVszUpW9reLNf5kALqE6ie8KUbuQs=; b=Ek3iwt92d+VWKwY2WgdM XfWeyOVuDPqi54wBPD0cycUunaieUVBO35uy1EXKS2LSzotufVoJQ2uWQ9WVss0PUO/SXIuZTA1/a ewaV5GEBgJ11p7uDmIFF5sQoyQ6BDLIWlrdrljphihuv42NVRWEtqORuOzO5rfz6cxyQaRgJUe2Ho QBInLX3DvjjI3kKreiDRXJbzHVyScGQrrHPU/Qi3SQAO3hDC++t/qkfgTbP/rPl8YzOvPKjPrjpN6 VSieywom6bU6D87H6ObeSWjQDWb3vYI0tYnWZVY+AlBoKHkR5KSlNavwm+6kL7k8ksvA1hQogk83W Qs0uhPv+nrqD3w==; Original-Received: from [87.69.77.57] (port=4822 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 1nOFne-0000hG-Ib; Sun, 27 Feb 2022 04:25:07 -0500 In-Reply-To: <87sfs4wv35.fsf@gmail.com> (message from Augusto Stoffel on Sun, 27 Feb 2022 09:51:42 +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:227708 Archived-At: > From: Augusto Stoffel > Cc: 54173@debbugs.gnu.org > Date: Sun, 27 Feb 2022 09:51:42 +0100 > > > But since '?' produces a more detailed help, and that help text stays > > on display thereafter, do we really need one more variant? Maybe the > > default message could be expanded instead (but not to such a long > > text, which would resize the mini-window in many cases)? > > 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) An alternative is to have C-h and F1 temporarily show a longer line with more commands. > 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.