From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Use Vertico + consult to do the search for an exact word.
Date: Thu, 1 Jun 2023 07:27:35 +0800 [thread overview]
Message-ID: <CAGP6POKa1LnDSD4iPgagfbJH2k5He7ijwk2oxRa_4KsLNMUC_g@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 702 bytes --]
Hi here,
In Emacs, I use Vertico + consult to do the in-buffer and minibuffer
search and bind
bound the command `consult-line' to M-s l.
What puzzles me is that this cannot let me search for an exact word.
For example, if I want to sear all the occurrences of the word `id',
the result obtained is shown in the attached file, which obviously is
not what I want.
How to achieve my goal based on Vertico + consult for utilizing the
more intuitive minibuffer display?
Regards,
Zhao
--
Assoc. Prof. Hongsheng Zhao <hongyi.zhao@gmail.com>
Theory and Simulation of Materials
Hebei Vocational University of Technology and Engineering
No. 473, Quannan West Street, Xindu District, Xingtai, Hebei province
[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 171979 bytes --]
next reply other threads:[~2023-05-31 23:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-31 23:27 Hongyi Zhao [this message]
2023-06-01 6:50 ` Use Vertico + consult to do the search for an exact word Tassilo Horn
2023-06-01 7:36 ` Hongyi Zhao
2023-06-01 9:47 ` Tassilo Horn
2023-06-01 9:59 ` Hongyi Zhao
2023-06-01 18:45 ` Tassilo Horn
2023-06-02 1:53 ` Hongyi Zhao
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=CAGP6POKa1LnDSD4iPgagfbJH2k5He7ijwk2oxRa_4KsLNMUC_g@mail.gmail.com \
--to=hongyi.zhao@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.
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).