>>>> "Raymond" == Raymond Toy
<toy(a)rtp.ericsson.se> writes:
>>>> "sb" == SL Baur <steve(a)xemacs.org>
writes:
sb> Because normal-mode restores the font lock state.
>> P.S. I am using lazy-shot.el that sim
sb> I am using fast-lock.
Raymond> Could this be the key? I've noticed that after
Right on:
With an unpatched vc.elc? fontification survives
vc-revert-buffer
when I have this in my .emacs:
(setq font-lock-support-mode 'fast-lock-mode)
Fontification is lost when I use any of these:
(setq font-lock-support-mode 'font-lock-mode)
(setq font-lock-support-mode 'lazy-lock-mode)
For font-lock-mode fontification is lost after `revert-buffer' calls
`insert-file-contents'.
All of this in 21.1.4 WindowsNT4sp4 native.
BTW: Although font-lock-support-mode is documented, it does not seem
to be defined anywhere. Is this intentinal? Seem to me it should
be defcustomed to take on any of the three choices above.
Regards,
Adrian
Raymond> revert-buffer on large files lazy-shot doesn't fontify
Raymond> anything. Only new stuff is fontified. Existing stuff
Raymond> that hasn't been changed isn't fontified. So perhaps
Raymond> lazy-shot is getting confused after revert-buffer about
Raymond> what has been fontified and what has not?
Raymond> Ray