[Python-Dev] Re: Adding Optik to the standard library

Greg Ward gward@python.net
Mon, 3 Jun 2002 18:50:39 -0400

On 03 June 2002, Barry A. Warsaw said:
> >>>>> "FL" == Fredrik Lundh <fredrik@pythonware.com> writes:
>     FL>     (setq font-lock-support-mode 'lazy-lock-mode)
> (add-hook 'font-lock-mode-hook 'turn-on-fast-lock)

Neither one worked for me (XEmacs 21.4.6).  You're *never* going to
believe what did work:
  load a font-locked file
  go to Options menu
  go to "Syntax Highlighting"
  select "Lazy lock"
  back to Options menu
  select "Save Options ..."
  restart XEmacs

XEmacs seems to have added this bit of gibberish, err sorry line of Lisp
code, to my ~/.xemacs/custom.el:

'(lazy-lock-mode t nil (lazy-lock))

The wonderful thing about (X)Emacs is that there are so very many ways
for it not to do what you want it to do, and every one of those ways
just might work in some version of (X)Emacs somewhere...

Greg Ward - Python bigot                                gward@python.net
Vote anarchist.