From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Highlight comment lines with UTF8 Characters
Date: Sun, 07 Jan 2024 09:04:11 +0200 [thread overview]
Message-ID: <838r51sjys.fsf@gnu.org> (raw)
In-Reply-To: <7BDnqFPjKtNoCOARnPrCCAzUCMWfmC9F8bfoQBIoitJrByhNNpLFogKd_TLrtBAmqrHpn-FIEy2iML1ylPjkntdl_dR7dCgClXQiCNo17lM=@proton.me> (message from uzibalqa on Sun, 07 Jan 2024 00:38:45 +0000)
> Date: Sun, 07 Jan 2024 00:38:45 +0000
> From: uzibalqa <uzibalqa@proton.me>
>
>
> I want to highlight (using colour) comment lines that have particular enclosing marks,
> a MATHEMATICAL LEFT DOUBLE ANGLE BRACKET and a MATHEMATICAL RIGHT DOUBLE ANGLE BRACKET.
>
> ;; ⟪1⟫Something
>
> where the ;; is double the comment character of the particular mode
> (; for lisp, % for latex, etc). Where there can be any number of spaces
> after the comment marks.
Did you try using highlight-regexp?
prev parent reply other threads:[~2024-01-07 7:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-07 0:38 Highlight comment lines with UTF8 Characters uzibalqa
2024-01-07 7:04 ` Eli Zaretskii [this message]
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=838r51sjys.fsf@gnu.org \
--to=eliz@gnu.org \
--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).