[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23272: 25.0.92; syntax-propertize-via-font-lock considered harmful
From: |
Lars Ingebrigtsen |
Subject: |
bug#23272: 25.0.92; syntax-propertize-via-font-lock considered harmful |
Date: |
Wed, 30 Oct 2019 16:56:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> It makes it impossible to call syntax-propertize without enabling
> font-lock-mode first, e.g. when delay-mode-hooks is used.
>
> Example:
>
> (with-temp-buffer
> (insert "-- -*- mode: ada -*-")
> (delay-mode-hooks
> (set-auto-mode))
> (syntax-propertize (point)))
>
> => (error "Font-lock trying to use keywords before setting them up")
I'm unable to reproduce this bug on the current trunk. Has this been
fixed in the three years since it was reported?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#23272: 25.0.92; syntax-propertize-via-font-lock considered harmful,
Lars Ingebrigtsen <=