all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 23272@debbugs.gnu.org
Subject: bug#23272: 25.0.92; syntax-propertize-via-font-lock considered harmful
Date: Wed, 30 Oct 2019 16:56:54 +0100	[thread overview]
Message-ID: <87ftjarzuh.fsf@gnus.org> (raw)
In-Reply-To: <8637qrn4dy.fsf@yandex.ru> (Dmitry Gutov's message of "Tue, 12 Apr 2016 01:54:01 +0300")

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





  reply	other threads:[~2019-10-30 15:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-11 22:54 bug#23272: 25.0.92; syntax-propertize-via-font-lock considered harmful Dmitry Gutov
2019-10-30 15:56 ` Lars Ingebrigtsen [this message]
2019-11-20 23:22   ` Dmitry Gutov
2019-11-21 12:34     ` Lars Ingebrigtsen
2020-02-29  2:19       ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ftjarzuh.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=23272@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.