[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prettify keywords
From: |
pietru |
Subject: |
Re: Prettify keywords |
Date: |
Wed, 3 Feb 2021 22:26:55 +0100 |
I am also trying to perform prettif when I have \alpha-\beta
\alpha_n and ethor characters such as ^ :
Have tried using
"\\\\\\<alpha+\\>\\([\s+\,:;._^-]\\\\\\<[a-z]+\\>\\)?"
But the prettify is not being executed.
> Sent: Thursday, February 04, 2021 at 9:13 AM
> From: "Gregory Heytings" <gregory@heytings.org>
> To: pietru@caramail.com
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Prettify keywords
>
>
> >
> > Thank you. Where can I find the code for it? Does it use prog-mode
> > functionality?
> >
>
> I don't understand your questions, nor how they are related to your
> original question, but here's an attempt to answer them anyway:
>
> "Where can I find the code for it?" The "foo-mode-hook" variables are
> evaluated when a buffer with a mode "foo" is entered. If you want to see
> this for Texinfo, type C-h v texinfo-mode-hook RET, which will open a
> window with a link to "texinfo.el", which you can follow: it will open the
> "texinfo.el" file at the point where "texinfo-mode-hook" is defined.
>
> "Does it use prog-mode functionality?" No, "texinfo-mode" is a major mode
> for Texinfo files, and it has no relation to "prog-mode", which is a major
> mode for source code files (Python, Java, C, ...).
>
- Re: Prettify keywords, (continued)
- Re: Prettify keywords, Stefan Monnier, 2021/02/03
- Re: Prettify keywords, Gregory Heytings, 2021/02/03
- Re: Prettify keywords, pietru, 2021/02/03
- Re: Prettify keywords, Gregory Heytings, 2021/02/03
- Re: Prettify keywords, pietru, 2021/02/03
- Re: Prettify keywords, pietru, 2021/02/03
- Re: Prettify keywords,
pietru <=
- Re: Prettify keywords, Stefan Monnier, 2021/02/03
- Re: Prettify keywords, pietru, 2021/02/03