[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Introducing face in comments for various modes
From: |
Heime |
Subject: |
Re: Introducing face in comments for various modes |
Date: |
Tue, 13 Dec 2022 08:04:56 +0000 |
------- Original Message -------
On Tuesday, December 13th, 2022 at 7:52 AM, Jean Louis <bugs@gnu.support> wrote:
> Heime, I like the idea of highlighting comments, though I do it this
> way to specify (syntax comment-start) as that works for multiple
> modes.
>
> ; one
> ;; two
> ;;; three
> ;;;; and more
>
> ;;; Highlighting comments
>
> (setq rcd-regexp-comment (rx line-start
> (one-or-more (syntax comment-start))
> (one-or-more space)
> (group (one-or-more not-newline))
> line-end))
>
> ;; (highlight-regexp regexp nil 1)
> ;; (unhighlight-regexp regexp)
>
> Jean
I shall try this and report back. But, how do I get to use
"rcd-regexp-comment" ?
Is that just "regexp" ?
- Re: Introducing face in comments for various modes, (continued)
- Re: Introducing face in comments for various modes, Yuri Khan, 2022/12/12
- Re: Introducing face in comments for various modes, Thibaut Verron, 2022/12/12
- Re: Introducing face in comments for various modes, Christopher Dimech, 2022/12/12
- Re: Introducing face in comments for various modes, Christopher Dimech, 2022/12/12
- Re: Introducing face in comments for various modes, Stefan Monnier, 2022/12/12
- Re: Introducing face in comments for various modes, Christopher Dimech, 2022/12/13
- Re: Introducing face in comments for various modes, Stefan Monnier, 2022/12/12
- Re: Introducing face in comments for various modes, Jean Louis, 2022/12/13
- Re: Introducing face in comments for various modes,
Heime <=
- Re: Introducing face in comments for various modes, Heime, 2022/12/13
- Re: Introducing face in comments for various modes, Thibaut Verron, 2022/12/13
- Re: Introducing face in comments for various modes, Heime, 2022/12/13
- Re: Introducing face in comments for various modes, Thibaut Verron, 2022/12/13
- Re: Introducing face in comments for various modes, Christopher Dimech, 2022/12/13
- Re: Introducing face in comments for various modes, Heime, 2022/12/13
- Re: Introducing face in comments for various modes, Thibaut Verron, 2022/12/13
- Re: Introducing face in comments for various modes, Heime, 2022/12/13
- Re: Introducing face in comments for various modes, Heime, 2022/12/13
- Re: Introducing face in comments for various modes, Jean Louis, 2022/12/13