all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Highlight comment lines with UTF8 Characters
@ 2024-01-07  0:38 uzibalqa
  2024-01-07  7:04 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: uzibalqa @ 2024-01-07  0:38 UTC (permalink / raw)
  To: uzibalqa via Users list for the GNU Emacs text editor


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.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Highlight comment lines with UTF8 Characters
  2024-01-07  0:38 Highlight comment lines with UTF8 Characters uzibalqa
@ 2024-01-07  7:04 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-01-07  7:04 UTC (permalink / raw)
  To: help-gnu-emacs

> 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?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-07  7:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-07  0:38 Highlight comment lines with UTF8 Characters uzibalqa
2024-01-07  7:04 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.