From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mark Harig via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45273: 27.1: Cannot display options help text for query-replace Date: Wed, 16 Dec 2020 17:43:07 +0000 (UTC) Message-ID: <837896638.1438818.1608140587925@mail.yahoo.com> References: <837896638.1438818.1608140587925.ref@mail.yahoo.com> Reply-To: Mark Harig , Mark Harig Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1438817_1532195259.1608140587923" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18713"; mail-complaints-to="usenet@ciao.gmane.io" To: 45273@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 16 18:48:44 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 1kpaup-0004i5-0F for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Dec 2020 18:48:43 +0100 Original-Received: from localhost ([::1]:44544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kpauo-0002Ox-2o for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 16 Dec 2020 12:48:42 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52768) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpaqI-0007Fe-Ku for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2020 12:44:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpaqI-0003eJ-DE for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2020 12:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kpaqI-0007Pr-Ag for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2020 12:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Harig Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 16 Dec 2020 17:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45273 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.160814060428450 (code B ref -1); Wed, 16 Dec 2020 17:44:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Dec 2020 17:43:24 +0000 Original-Received: from localhost ([127.0.0.1]:33650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpapg-0007On-2p for submit@debbugs.gnu.org; Wed, 16 Dec 2020 12:43:24 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:56890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpapb-0007OZ-MQ for submit@debbugs.gnu.org; Wed, 16 Dec 2020 12:43:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpapb-0006S4-CF for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2020 12:43:19 -0500 Original-Received: from sonic308-9.consmr.mail.ne1.yahoo.com ([66.163.187.32]:40297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kpapW-0003VY-2W for bug-gnu-emacs@gnu.org; Wed, 16 Dec 2020 12:43:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aim.com; s=a2048; t=1608140588; bh=YTsBrUk5wuP3ILuhkOLJBpyZ1Goqe1Pl8+fSXSGKkas=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=KoMODi9HZRat7JYQWw7LT18sevYWgLfNGhCdrSCrsRiHD94b4DX1A1gYJbUjfmcBBm7UqRghzMiEsCQqcd5BO6Eix9synGLJgRqo65NAJCymQhfK3SLW8SceyLq7QiVj5SiAIosc5vWN40c3eQWjCCiVXr7HVpegQlt2JLu2N0u6i/CHhYAYN3YOGA2MpP3gvxZfr4N0f8kDsFuA6IsrcAkM8HrHazs2MCqKeIZaTNI4fvkhq45R+DLfm14WiGrLNR6H/Cm+CsvDnqH0N+JROA7EHZBLRnp861qVhGYNF19BUvvRrAvxdwDmesm18jEMbdS9VtRzDveUHPzl//LAEw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1608140588; bh=vshpyETKOKReYPpcPrChWYPLMVC90GeTqaiDxLvyur3=; h=Date:From:To:Subject:From:Subject; b=tOaHmx5tSVzjMH563B31S4wBIh4CB4urpmBuuuST26W9nRA2HAIm08noS8MjBRf6ODNrXtt0S/NpIcnza1GBrIrDqOyUfXbqzLsUa+vBd57A/8LiIVV2x0UZrv+zeUoHVX4pIPZRAZtaXvg+eDyd808gxwW+eCBJoI1kJy463F3pLBpy9RTBc/K5rmVU5/A+Wx5K+9fZ3dOvvTwpmyYhGCse0e/L63wzD5zyS9I4eVZynM7g2B/FEYzbISwdMgREn4Ser7FzYK+M2wk4Asrwe5M41Ftc/kX+KWHcde1Oc1VI3pHkefYFTTOp7jVL5VIyTKOoDjoFEQeIxPiuyj+zDw== X-YMail-OSG: 8UYe.HMVM1nfoY8muntzUZUBOdquW8XlN.Ql9KGZLueQCMHzqwZ8gz2MmkIxpi8 Uvm_VGeL5zQ6uamLSxWnTMbiUzFVA50dld9tkCshsj.FtC5lSU2bvCvWVL30Dy94te5.T0TiTlxS qdhhO7.Ch5BYOeYfJ.s3turzCEexKK9g.jsqL75VlrUGG8KLqgfLUXl46sgroCel13RZsjBG.jH1 T5mYEX_1.PFs0wqt.JvxBnLHPnF8YGZ3bGvpepQ_FALk3w2CzTHy9n8ZMGAOabN4afUdDk1aCQvU IJZXWfaDt.YDGjXz4.yXPc7pS6UBw2FmLPti5JfvrPojnm7s1xlqUlJJLAkE7aVJ8zg3Qwf6uHvn Z5j.MJdAe_VyAZFp_GQ7amkX9oTE7p06Nj6UXAJU4iV_0OQvrIELkB_1gs.NaVniffHyxbIuf9Bb F83EX1bFx0ytzfNLGTeoRNrMDOJNRtmLFD9ecGaDk49xz25B.JJBPUXXBDttR44IqPODeE.y4kwX XSqYCgMvW3tmLPFiqOFnzQVxoBNZbBPXMWrVX1xWIDArFtO98u5n6PKEve24ZrdSBZeYI1kSEgUl 6Zpz2g0gFa60XDDatrYZ0sVrfDJVng7AlzTbYam4lhc5adtJgG9rcpYTolO8Za80dxTeAscf.adI S0pEiVGvq2ukJ_WYqzpO8lb1Z.NgBBnzFAjHkJFLyGT4jBcajfXdrN9Tg39lAsOHHnsoeSmnBCcd pDZP2MJCpCT8X03HlIdXMzqkQBKpsHBE3du8bgZxVjlsKoQHQlc5xFVwJdmCfN_RRM5pJdBqPxF3 35u2LzecKXt8jdVYh0ff6AxEdnuga6Xn44yVv_r_yo Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic308.consmr.mail.ne1.yahoo.com with HTTP; Wed, 16 Dec 2020 17:43:08 +0000 X-Mailer: WebService/1.1.17278 aolwebmail Mozilla/5.0 (X11; CrOS x86_64 13597.23.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.37 Safari/537.36 Received-SPF: pass client-ip=66.163.187.32; envelope-from=idirectscm@aim.com; helo=sonic308-9.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:196214 Archived-At: ------=_Part_1438817_1532195259.1608140587923 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Emacs Maintainers, =C2=A0 The following two issues concerning Query Replace were found in GNU Emacs version 27.1, started with 'emacs -Q': 1. It appears that it is not possible to display the options available when using `query-replace' (M-%). According to the Emacs manual at (emacs)Query Replace: ---- =E2=80=98C-h=E2=80=99 =E2=80=98?=E2=80=99 =E2=80=98=E2=80=99 =C2=A0 =C2=A0 to display a message summarizing these options.=C2=A0 Then yo= u must type =C2=A0 =C2=A0 another character to specify what to do with this occurrence. ---- =C2=A0 Yet when any of these three keys are pressed after the "Query replace: " prompt is displayed in the minibuffer, there is no *Help* buffer displayed.=C2=A0 Based on the text in the manual, above, shouldn't we expect to see a help buffer displayed with a summary of the keybindings for `query-replace'? =C2=A0 A cursory look inside replace.el shows that it has the DEFCONST `query-replace-help' defined to provide the information that is described in the Emacs manual, but this function is not being called when one of the keys C-h, [F1], or ? is pressed. 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' =C2=A0 =C2=A0 to edit the replacement string in the minibuffer.=C2=A0 When = you exit =C2=A0 =C2=A0 the minibuffer by typing , the minibuffer contents repla= ce the =C2=A0 =C2=A0 current occurrence of the pattern.=C2=A0 They also become the= new =C2=A0 =C2=A0 replacement string for any further occurrences. ---- In replace.el, the DEFVAR `query-replace-map' has both e and E mapped to `edit-replacement'.=C2=A0 So both keys should work, but neither the help text nor the info manual document thatboth keys can be= used. Note: The following search did not find the above issues inthe GNU Bug Trac= ker: https://debbugs.gnu.org/cgi/pkgreport.cgi?include=3Dsubject%3Aquery-replace= ;package=3Demacs --=C2=A0 ------=_Part_1438817_1532195259.1608140587923 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Emacs Maintainers,

  The following two issues concerning Query Replace w= ere
found in GNU Emacs version 27.1, started with 'emacs -Q':<= br>

1. It appears that it is not possible to display the optio= ns
available when using `query-replace' (M-%).

According to the Emacs manual at (emacs)Query Replace:

----
=E2=80=98C-h=E2=80=99
=E2=80=98?=E2=80=99
=E2=80=98<F1>=E2=80=99
    to display a message summarizing these optio= ns.  Then you must type
    another character to specify what to do with= this occurrence.
----

  Yet when any of these three keys are pressed after = the
"Query replace: " prompt is displayed in the minibuffer,
there is no *Help* buffer displayed.  Based on the te= xt in
the manual, above, shouldn't we expect to see a help buffe= r
displayed with a summary of the keybindings for
`query-replace'?

  A cursory look inside replace.el shows that it has = the
DEFCONST `query-replace-help' defined to provide the
information that is described in the Emacs manual, but thi= s
function is not being called when one of the keys C-h, [F1= ],
or ? is pressed.


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 minibu= ffer.  When you exit
    the minibuffer by typing <RET>, the mi= nibuffer contents replace the
    current occurrence of the pattern.  The= y also become the new
    replacement string for any further occurrenc= es.
----

In replace.el, the DEFVAR `query-replace-map' has both e a= nd
E mapped to `edit-replacement'.  So both keys should = work,
but neither the help text nor the info manual document tha= t
both keys can be used.

<= /div>

Note: The following search did not find the above issues i= n
the GNU Bug Tracker:

https://debbugs.gnu.= org/cgi/pkgreport.cgi?include=3Dsubject%3Aquery-replace;package=3Demacs

-- 

------=_Part_1438817_1532195259.1608140587923--