From: Joost Kremers <joostkremers@fastmail.fm>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 19720@debbugs.gnu.org, Dmitry Gutov <dgutov@yandex.ru>
Subject: bug#19720: 24.4; minor mode's font-lock-add-keywords & auto-mode-alist problem
Date: Fri, 30 Jan 2015 17:59:57 +0100 [thread overview]
Message-ID: <87y4okb3w2.fsf@fastmail.fm> (raw)
In-Reply-To: <jwvvbjpei60.fsf-monnier+emacsbugs@gnu.org>
On Thu, Jan 29 2015, Stefan Monnier <monnier@IRO.UMontreal.CA> wrote:
>> 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.
But why does it only happen when the mode is set through an entry in
`auto-mode-alist' and not when I activate `markdown-mode' myself with
`M-x markdown-mode'?
--
Joost Kremers
Life has its moments
next prev parent reply other threads:[~2015-01-30 16:59 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
2015-01-30 16:59 ` Joost Kremers [this message]
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=87y4okb3w2.fsf@fastmail.fm \
--to=joostkremers@fastmail.fm \
--cc=19720@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=monnier@IRO.UMontreal.CA \
/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.