[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-mode and mode hooks.
From: |
Stefan Monnier |
Subject: |
Re: org-mode and mode hooks. |
Date: |
Wed, 01 Jun 2005 17:24:46 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Maybe we should label each of these things by the name of the minor
> mode. That way, we could tell which of them to discard. Or we could
> give each one a flag saying whether to preserve it when changing the
> major mode.
> Would that solve the problem?
Yes, I think a real solution is to define a new way to add keywords.
It could look like a new var minor-mode-font-lock-keywords-alist modelled
after minor-mode-map-alist. I think the important part is that the API
should be declarative rather than imperative, so that at any point in time
we can reconstruct font-lock-keywords from font-lock-defaults and whatever
other keyword-sources there can be (such as
minor-mode-font-lock-keywords-alist).
Stefan
- Re: org-mode and mode hooks., (continued)
- Re: org-mode and mode hooks., Stefan Monnier, 2005/06/07
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/07
- Re: org-mode and mode hooks., Stefan Monnier, 2005/06/07
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/07
- Re: org-mode and mode hooks., Stefan Monnier, 2005/06/08
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/08
- Re: org-mode and mode hooks., Richard Stallman, 2005/06/08
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/03
- Re: org-mode and mode hooks., Carsten Dominik, 2005/06/02
Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/01
Re: org-mode and mode hooks.,
Stefan Monnier <=
Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/06
Re: org-mode and mode hooks., Stefan Monnier, 2005/06/07
Re: org-mode and mode hooks., Richard Stallman, 2005/06/08
Re: org-mode and mode hooks., Lute Kamstra, 2005/06/27
Re: org-mode and mode hooks., Lute Kamstra, 2005/06/27