Fast lock mode issue

stephen at xemacs.org stephen at xemacs.org
Mon Nov 13 01:09:29 EST 2006


Nelson Ferreira writes:

 > For a long time I have been having a problem with closing some
 > buffers. In order to be able to close them I had to manually turn
 > off font-lock mode.

First, let me warn that fast-lock is deprecated and unmaintained as
far as I know.

 > -    (let* ((bufile (expand-file-name buffer-file-truename))
 > +    (let* ((bufile (expand-file-name (or buffer-file-truename
 > +                                         buffer-file-name)))

What is the context of this?  Why does fast-lock need a file name
here?  It seems to me that fast-lock is doing something evil in
depending on the buffer visiting a file; that should be checked and
fixed, rather than applying a hack that seems likely to file up random
directories with irrelevant trash.



More information about the XEmacs-Patches mailing list