[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Introducing face in comments for various modes
From: |
Jean Louis |
Subject: |
Re: Introducing face in comments for various modes |
Date: |
Tue, 13 Dec 2022 22:19:27 +0300 |
User-agent: |
Mutt/2.2.9+54 (af2080d) (2022-11-21) |
* Christopher Dimech <dimech@gmx.com> [2022-12-13 11:17]:
> > ; 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
>
> Would your procedure not conflict when people use outline-mode. Such comments
> will end up getting folded by tho outline commands, something the OP does not
> want.
It is for Heime, but if people wish to use it, why not. There is no
conflict that I see. It gives me more highlighted comments, easier to navigate.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
- Re: Introducing face in comments for various modes, (continued)
- Re: Introducing face in comments for various modes, Jean Louis, 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
- 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
- Re: Introducing face in comments for various modes, Christopher Dimech, 2022/12/13
- Re: Introducing face in comments for various modes,
Jean Louis <=
- Re: Introducing face in comments for various modes, Stefan Monnier, 2022/12/12