[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font lock with functions
From: |
Stefan Monnier |
Subject: |
Re: font lock with functions |
Date: |
Tue, 31 Mar 2020 10:56:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> (while ...
>> (put-text-property x y 'face 'foobar-face)
>> ...)
>> ;; Return nil if you don't want font-lock to call you again right away
>> ;; to "look for the next match".
>
> I was going to suggesting this myself, but isn't this approach even more of
> a hack (i.e. undocumented feature)?
I don't see it as a hack, no. It would be nice for font-lock to provide
a more direct way to get the same result, but it's what we have.
Stefan
- Re: emacs rendering comparisson between emacs23 and emacs26.3, (continued)
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Eli Zaretskii, 2020/03/29
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Stefan Monnier, 2020/03/29
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Eli Zaretskii, 2020/03/29
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/03/29
- emacs-tree-sitter and font-lock (was: emacs rendering comparisson between emacs23 and emacs26.3), Stefan Monnier, 2020/03/29
- Re: emacs-tree-sitter and font-lock, Dmitry Gutov, 2020/03/29
- font lock with functions (was: emacs rendering comparisson between emacs23 and emacs26.3), David Engster, 2020/03/31
- Re: font lock with functions, Adam Porter, 2020/03/31
- Re: font lock with functions, Stefan Monnier, 2020/03/31
- Re: font lock with functions, Dmitry Gutov, 2020/03/31
- Re: font lock with functions,
Stefan Monnier <=
- Re: font lock with functions, Dmitry Gutov, 2020/03/31
- Re: font lock with functions, Stephen Leake, 2020/03/31
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/03/29
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Eli Zaretskii, 2020/03/29
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Dmitry Gutov, 2020/03/29
- Re: emacs rendering comparisson between emacs23 and emacs26.3, 조성빈, 2020/03/29
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Eli Zaretskii, 2020/03/29
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Richard Stallman, 2020/03/29
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Eli Zaretskii, 2020/03/30
- Re: emacs rendering comparisson between emacs23 and emacs26.3, Richard Stallman, 2020/03/30