all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Joost Kremers <joostkremers@fastmail.fm>, 19720@debbugs.gnu.org
Subject: bug#19720: 24.4; minor mode's font-lock-add-keywords & auto-mode-alist problem
Date: Thu, 29 Jan 2015 10:12:54 -0500	[thread overview]
Message-ID: <jwvvbjpei60.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <54CA1B49.7000005@yandex.ru> (Dmitry Gutov's message of "Thu, 29 Jan 2015 13:36:41 +0200")

> Looks like the problem is that `markdown-reload-extensions', which is called
> from `markdown-mode', not only sets `font-lock-defaults', but also calls
> `font-lock-refresh-defaults'.

FWIW, I think part of the problem is that there's no way to "reset
font-lock-keywords" without throwing away all the keywords added via
font-lock-add-keywords.


        Stefan





  reply	other threads:[~2015-01-29 15:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28 22:55 bug#19720: 24.4; minor mode's font-lock-add-keywords & auto-mode-alist problem Joost Kremers
2015-01-29  2:42 ` Glenn Morris
2015-01-29  3:14   ` Dmitry Gutov
2015-01-29  3:59     ` Glenn Morris
2015-01-29  6:42       ` Joost Kremers
2015-01-29 10:11         ` Dmitry Gutov
2015-01-29 11:11           ` Joost Kremers
2015-01-29 11:36             ` Dmitry Gutov
2015-01-29 15:12               ` Stefan Monnier [this message]
2015-01-30 16:59                 ` Joost Kremers
2019-10-30 15:51             ` Lars Ingebrigtsen

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=jwvvbjpei60.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=19720@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=joostkremers@fastmail.fm \
    /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.