From: Eli Zaretskii <eliz@gnu.org>
To: Mark Harig <idirectscm@aim.com>
Cc: 45273-done@debbugs.gnu.org
Subject: bug#45273: 27.1: Cannot display options help text for query-replace
Date: Wed, 16 Dec 2020 21:15:33 +0200 [thread overview]
Message-ID: <83lfdx8sve.fsf@gnu.org> (raw)
In-Reply-To: <837896638.1438818.1608140587925@mail.yahoo.com> (bug-gnu-emacs@gnu.org)
> 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" <bug-gnu-emacs@gnu.org>
>
> According to the Emacs manual at (emacs)Query Replace:
>
> ----
> ‘C-h’
> ‘?’
> ‘<F1>’
> 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 <RET>, 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.
next prev parent reply other threads:[~2020-12-16 19:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <837896638.1438818.1608140587925.ref@mail.yahoo.com>
2020-12-16 17:43 ` bug#45273: 27.1: Cannot display options help text for query-replace Mark Harig via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-16 19:15 ` Eli Zaretskii [this message]
2020-12-16 19:59 ` Mark Harig via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83lfdx8sve.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=45273-done@debbugs.gnu.org \
--cc=idirectscm@aim.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).