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#45273: 27.1: Cannot display options help text for query-replace Date: Wed, 16 Dec 2020 21:15:33 +0200 Message-ID: <83lfdx8sve.fsf@gnu.org> References: <837896638.1438818.1608140587925.ref@mail.yahoo.com> <837896638.1438818.1608140587925@mail.yahoo.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="35823"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45273-done@debbugs.gnu.org To: Mark Harig Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 16 20:29:29 2020 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 1kpcUL-0009DB-6L for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Dec 2020 20:29:29 +0100 Original-Received: from localhost ([::1]:47804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpcUK-0004BN-7j for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Dec 2020 14:29:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpcHL-0001SY-9K for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2020 14:16:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50405) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpcHK-0008Ma-17 for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2020 14:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kpcHJ-0001Ek-TB for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2020 14:16:01 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Dec 2020 19:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 45273 X-GNU-PR-Package: emacs Mail-Followup-To: 45273@debbugs.gnu.org, eliz@gnu.org, idirectscm@aim.com Original-Received: via spool by 45273-done@debbugs.gnu.org id=D45273.16081461504731 (code D ref 45273); Wed, 16 Dec 2020 19:16:01 +0000 Original-Received: (at 45273-done) by debbugs.gnu.org; 16 Dec 2020 19:15:50 +0000 Original-Received: from localhost ([127.0.0.1]:33717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpcH7-0001EF-VR for submit@debbugs.gnu.org; Wed, 16 Dec 2020 14:15:50 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpcH4-0001Dy-7L for 45273-done@debbugs.gnu.org; Wed, 16 Dec 2020 14:15:48 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:32970) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpcGy-0008Ll-Sf; Wed, 16 Dec 2020 14:15:40 -0500 Original-Received: from [176.228.60.248] (port=4808 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kpcGx-0002VV-94; Wed, 16 Dec 2020 14:15:40 -0500 In-Reply-To: <837896638.1438818.1608140587925@mail.yahoo.com> (bug-gnu-emacs@gnu.org) 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:196217 Archived-At: > Date: Wed, 16 Dec 2020 17:43:07 +0000 (UTC) > From: Mark Harig via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > According to the Emacs manual at (emacs)Query Replace: > > ---- > ‘C-h’ > ‘?’ > ‘’ > to display a message summarizing these options. Then you must type > another character to specify what to do with this occurrence. This citation is incomplete: you've taken one item from a long list of characters one can type, and that list begins with this text: The characters you can type when you are shown a match for the string or regexp are: So the Help character will work if you type it after you already provided the string to replace and its replacement, and Emacs shows you the first match -- which is when this help is relevant. You don't need this help earlier because none of those characters can be used before the first match is found. > 2. The DEFCONST `query-replace-help' describes 'E' (upper-case > e) as: > > ---- > E to edit the replacement string. > ---- > > But the Emacs manual at (emacs)Query Replace describes 'e' > (lower-case e) as: > > ---- > `e' > to edit the replacement string in the minibuffer. When you exit > the minibuffer by typing , the minibuffer contents replace the > current occurrence of the pattern. They also become the new > replacement string for any further occurrences. I added 'E' to the text in the manual on the emacs-27 branch. With that, I'm closing this bug report. Thanks.