[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-mode and mode hooks.
From: |
Richard Stallman |
Subject: |
Re: org-mode and mode hooks. |
Date: |
Wed, 01 Jun 2005 13:22:43 -0400 |
> Suppose we make font-lock-add-keywords with nil for MODE
> record its argument in some permanent buffer-local variable.
> Then changing the major mode and reenabling font-lock
> would use the same keywords previously added.
Problem is that some of those keywords should be permanent and others
shouldn't. E.g. it depends whether they correspond to a minor mode
which is permanent or not.
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?
Re: org-mode and mode hooks., Richard Stallman, 2005/06/01
Re: org-mode and mode hooks.,
Richard Stallman <=
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/01
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/01
- Re: org-mode and mode hooks., Stefan Monnier, 2005/06/01
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/01
- Re: org-mode and mode hooks., Stefan Monnier, 2005/06/01
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/01
- Re: org-mode and mode hooks., Stefan Monnier, 2005/06/01
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/01
- Re: org-mode and mode hooks., David Kastrup, 2005/06/01
- Re: org-mode and mode hooks., Luc Teirlinck, 2005/06/01