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: Sat, 12 Mar 2022 17:58:55 +0100 Message-ID: <87sfrn150w.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> <87tucksbey.fsf@gnus.org> <87tuckjuc5.fsf@gmail.com> <87r17jc7jg.fsf@gmail.com> <86pmmtobl6.fsf@mail.linkov.net> <878rth4nf2.fsf@gnus.org> <86wnh1mw2n.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="37242"; 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, Augusto Stoffel To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 12 18:00:50 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 1nT56n-0009T1-Th for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 18:00:49 +0100 Original-Received: from localhost ([::1]:55080 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT56m-0006OW-JY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 12:00:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52276) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT563-0006MG-2F for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 12:00:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46830) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nT562-0003QA-P4 for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 12:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nT562-0006zD-JC for bug-gnu-emacs@gnu.org; Sat, 12 Mar 2022 12:00: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: Sat, 12 Mar 2022 17:00: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.164710435226727 (code B ref 54173); Sat, 12 Mar 2022 17:00:02 +0000 Original-Received: (at 54173) by debbugs.gnu.org; 12 Mar 2022 16:59:12 +0000 Original-Received: from localhost ([127.0.0.1]:40718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT55E-0006x1-6b for submit@debbugs.gnu.org; Sat, 12 Mar 2022 11:59:12 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:50824) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT55C-0006wj-7l for 54173@debbugs.gnu.org; Sat, 12 Mar 2022 11:59:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=IWoV83VwDXRP9etQOiTVzZrMS/nCwz9EOFw2w5zhWmQ=; b=icOb72zTmU4RUI0yANtLiixHHb ySO/kM6pZ34XsN5KHF6w76rbmdAAFWtF43+mWjqpwHCZ6XMgdl0cU9oYlPfHLmn3wfBSLGOM6EeRv IC5KowwvkUgH2HhKkRHq4G+7iNKjGir2++ohLbvRF9RDd7w0wJ6oW9gqIZaAlwPlel8E=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nT54y-0001Oe-HR; Sat, 12 Mar 2022 17:58:58 +0100 In-Reply-To: <86wnh1mw2n.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 10 Mar 2022 21:44:32 +0200") 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:228250 Archived-At: Juri Linkov writes: >> I think the likelihood of a user customising such a string is pretty >> much nil -- if they're able to formulate a longer help string here, then >> they'll remember the options they typed out. > > I agree that probability tends to zero. > > OTOH, there is already such a const: > > (defconst query-replace-help "...") > > that is used in: > > (substitute-command-keys query-replace-help) > > So the same way a new const makes sense: > > (defconst query-replace-prompt-help "(\\\\[help] > for help) ") > > to be used like this: > > (substitute-command-keys query-replace-prompt-help) > > that will help Augusto to solve this problem. I suspect that the former is just a const because people don't like to put walls of texts inside function definitions because it makes it more difficult to read the code, not because they thought anybody would want to change it. And that's not really the case with the prompt. So I'm leaning towards us not wanting to change anything here, and I'm therefore closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no