help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Special hilighting for comments


From: Thibaut Verron
Subject: Re: Special hilighting for comments
Date: Sat, 10 Dec 2022 18:57:46 +0100

Le sam. 10 déc. 2022 à 18:40, Heime <heimeborgia@protonmail.com> a écrit :

> ------- Original Message -------
> On Saturday, December 10th, 2022 at 5:16 PM, Eli Zaretskii <eliz@gnu.org>
> wrote:
>
>
> > > Date: Sat, 10 Dec 2022 17:11:38 +0000
> > > From: Heime heimeborgia@protonmail.com
> > > Cc: Eli Zaretskii eliz@gnu.org, help-gnu-emacs@gnu.org
> > >
> > > > This works well:
> > > >
> > > > (highlight-regexp "^;; \\[.*$")
> > >
> > > Would it be possible to change only the foreground to some specified
> colour?
> >
> >
> > Do you ever consult the built-in documentation before you ask
> > questions here? Because the answer to that is right at your
> > fingertips: just type
> >
> > M-x customize-group RET hi-lock RET
> >
> > and look there for relevant customizable settings (faces, in this
> > case).
>
> I have not worked much with faces.  There is the tutorial but it is too
> basic for things I want to do.
>

If you mean the elisp tutorial
https://www.gnu.org/software/emacs/manual/html_node/eintr/ , you might be
the first person ever to use "basic" to refer to it.

Anyway, a tutorial can introduce you to a language, but you can't expect it
to cover everything, that's what the reference documentation is for.

Faces: https://www.gnu.org/software/emacs/manual/html_node/emacs/Faces.html


reply via email to

[Prev in Thread] Current Thread [Next in Thread]