[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Special hilighting for comments
From: |
Eli Zaretskii |
Subject: |
Re: Special hilighting for comments |
Date: |
Sat, 10 Dec 2022 10:14:54 +0200 |
> Date: Sat, 10 Dec 2022 02:42:45 +0000
> From: Heime <heimeborgia@protonmail.com>
>
> I have seen that emacs-lisp-mode allows the highlighting of some specially
> formatted comments using strings enclosed by single quotes 'this-thing'.
> This can be very useful beyond its intended use (highlighting function and
> variable names).
>
> For instance, I can use this to highlight the first comment with a different
> colour from the rest of the comments.
>
> But this special highlighting only works for function and variables names
> without spaces.
>
> So I cannot do the following to get 'A Remark here' highlighted in a
> different colour.
>
> ;; 'A Remark here'
> ;; Some comment here
> ;; Another comment here
> ;; You are a hero
>
> Can the use of '' be extended so I can use the highlighting more generally as
> described. Or perhaps have an additional highlighting for more general
> things, separate from function and variable names.
You can extend it if you want, but we won't, because that was
specifically intended to highlight symbols, not arbitrary text.
- Special hilighting for comments, Heime, 2022/12/09
- Re: Special hilighting for comments, Marcin Borkowski, 2022/12/10
- Re: Special hilighting for comments,
Eli Zaretskii <=
- 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, 2022/12/10
- 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