From help-octave-request at bevo dot che dot wisc dot edu Tue Mar 7 13:28:42 2000 Subject: Re: Octave and Xemacs From: Hendrik Naumann To: Octave-Help Date: Tue, 7 Mar 2000 20:09:22 +0100 On Tue, 07 Mar 2000, Douglas Sturim wrote: >Has there been a fix for this error in xemacs > >(6) (warning/warning) Error caught in `font-lock-pre-idle-hook' > >It happens every time I type an "if" statement > >Thanks, > I also know nothing about lisp, but I managed the problem without just turning of the errormessages. I did the following: ;; Fontify all builtin operators. (cons "\\(&\\||\\|<=\\|>=\\|==\\|<\\|>\\|!=\\|!\\)" 'font-lock-builtin-face) changed to (cons "\\(&\\||\\|<=\\|>=\\|==\\|<\\|>\\|!=\\|!\\)" 'font-lock-preprocessor-face) now it works fine. But if one knows how to define the face font-lock-builtin-face it would be better, maybe. Bye Hendrik Naumann PS. I use xemacs 21.1 ----------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.che.wisc.edu/octave/octave.html How to fund new projects: http://www.che.wisc.edu/octave/funding.html Subscription information: http://www.che.wisc.edu/octave/archive.html -----------------------------------------------------------------------