[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 06:23:10 +0000 |
Sent with Proton Mail secure email.
------- Original Message -------
On Saturday, December 10th, 2022 at 6:12 AM, Marcin Borkowski <mbork@mbork.pl>
wrote:
> On 2022-12-10, at 03:42, Heime heimeborgia@protonmail.com wrote:
>
> > 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.
>
>
> Try M-s h C-h.
M-s does not do anything.
- Special hilighting for comments, Heime, 2022/12/09
- Re: Special hilighting for comments, Marcin Borkowski, 2022/12/10
- Re: Special hilighting for comments,
Heime <=
- 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, 2022/12/10
- Re: Special hilighting for comments, Jean Louis, 2022/12/10