David PONCE wrote:
> Hi Markus,
>>Since I switched now permanently to the CVS-Emacs version dating
>>from the 16th of April 2005 (precompiled binary for Windows
>>downloadable from http://www.crasseux.com/emacs/), I wanted to ask
>>about the status of the compile-reinitialize-errors replacement
>>I had something like
>> (lambda (compilation-buffer finishing-message)
>>in my .emacs file, but since lmcompile-do-highlight calls
>>lmcompile-reinitialize-errors, which is defined as
>>(if (fboundp 'compile-reinitialize-errors)
>> (defalias 'lmcompile-reinitialize-errors 'compile-reinitialize-errors)
>> ;; Newer versions of Emacs:
>> (defun lmcompile-reinitialize-errors (&rest foo)
>> "Find out what this should be."
>> (error "Need replacement for `compile-reinitialize-errors")
>>in lmcompile.el, it no longer works for recent Emacs versions.
> According to what I understood the new compile.el library in CVS Emacs
> now uses font-locking to highlight with different colors the various
> kinds of compilation messages. So lmcompile.el shouldn't be necessary
> anymore. Maybe could you change your .emacs like this and see if that
> gives good results for you?
> (when (fboundp 'compile-reinitialize-errors)
> (add-to-list 'compilation-finish-functions
> (lambda (compilation-buffer finishing-message)
Hmm, compile-reinitialize-errors is not available in recent Emacs
versions anymore. So lmcompile-do-highlight in the code above gets
never called, right? The functionality which lmcompile-do-highlight
provided was to highlight the respective lines in the buffers which are
referred to by the errors in the compilation window. Without
lmcompile-do-highlight this is not done automatically, even not in
Did I misunderstood you?