unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Automatically highlight all same occurrence of same stuff which has been currently marked/selected.
Date: Sun, 21 May 2023 08:47:18 +0800	[thread overview]
Message-ID: <CAGP6POLifN9xwnkq5_dCw06zNa92jQr9Ei_fiYFfOwe5tZ=1Kg@mail.gmail.com> (raw)

Hi here,

In an Emacs buffer, I want to let it automatically highlight all same
occurrence of some stuff which has been currently marked/selected.

Say, I have the following:

foo ...
.. bar...
baz foo

Then when I select one of the `foo` above, the two `foo`s will be
highlighted automatically. Any tips for achieving this?

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



             reply	other threads:[~2023-05-21  0:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-21  0:47 Hongyi Zhao [this message]
2023-05-21  1:13 ` Automatically highlight all same occurrence of same stuff which has been currently marked/selected Michael Heerdegen
2023-05-21  1:44   ` Hongyi Zhao
2023-05-21  7:17 ` Philip Kaludercic
2023-05-22 11:16   ` Daniel Martín
2023-05-25 13:27     ` Rudolf Adamkovič
2023-05-25 14:29       ` Hongyi Zhao
2023-05-25 14:35         ` tomas
2023-05-25 15:31       ` Daniel Martín
2023-05-26 11:47         ` Rudolf Adamkovič
2023-05-26 12:26           ` Hongyi Zhao
2023-05-26 12:38             ` Eli Zaretskii

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='CAGP6POLifN9xwnkq5_dCw06zNa92jQr9Ei_fiYFfOwe5tZ=1Kg@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).