[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Special hilighting for comments
From: |
Heime |
Subject: |
Re: Special hilighting for comments |
Date: |
Sat, 10 Dec 2022 14:28:04 +0000 |
------- Original Message -------
On Saturday, December 10th, 2022 at 2:21 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > Date: Sat, 10 Dec 2022 11:26:58 +0000
> > From: Heime heimeborgia@protonmail.com
> > Cc: help-gnu-emacs@gnu.org
> >
> > > Type "M-s h l" (or "M-x highlight-lines-matching-regexp RET").
> >
> > How can I do it with elisp code. Highlighting lines starting with
> > ";; [".
> >
> > Thus in elisp-mode, how to achieve the following
> >
> > ;; [Highlighted line]
> > ;; Some comment
> > ;; Other comment
> >
> > Have started with the following, whilst you suggest
> > "highlight-lines-matching-regexp".
>
>
> I suggested a user command. If you want to do it from Lisp, use the
> command as a function, or use lower-level functions if that suits your
> needs better.
Yes, I want to do it from lisp.
- Re: Special hilighting for comments, (continued)
- Re: Special hilighting for comments, Marcin Borkowski, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments,
Heime <=
- Re: Special hilighting for comments, Jean Louis, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Thibaut Verron, 2022/12/10
- Re: Special hilighting for comments, Eli Zaretskii, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/11
- Re: Special hilighting for comments, Jean Louis, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10
- Re: Special hilighting for comments, Heime, 2022/12/10