emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile issues


From: Daniel Pfeiffer
Subject: Re: Compile issues
Date: Wed, 7 Apr 2004 11:01:31 +0200

Saluton,

Stefan Monnier <address@hidden> skribis:

> > (save-window-excursion
> >   (save-excursion
> >     (global-font-lock-mode 1)
> >     (comint-run "bash")
> >     (compilation-minor-mode)
> >     font-lock-keywords))
> 
> Daniel, have you tried the above?
> It return (t) meaning that there is no font-lock keyword defined, so
> nothing will be matched.  Sounds like a bug to me.

Yes, see my 2nd mail yesterday.  I've now found out what's wrong:

(defcustom comint-mode-hook '(turn-on-font-lock) ...)

When I add-hook in .emacs, this has a value, and the value from comint.el is
ignored.  If font-lock is on, without font-lock-defaults being set (the ways
of configuring font-lock are mysterious :-) compilation-minor-mode chokes. 
A fix is on the way.

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- 
lerne / learn / apprends / läramå / ucz się    Esperanto:
                              http://lernu.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]