Subject: Re: compilation only highlights the "E" of error

From: Lars Magne Ingebrigtsen <[email-masked]>
Date: Sun, 10 Jul 2011 18:26:01 +0200

Glenn Morris <[email-masked]> writes:

> emacs -Q foo.el, where foo.el contains everything between start and end:
>
> ;; start
> (setq foo 1)
>
> (
> ;; end
>
> M-x byte-compile-file RET foo.el RET
>
> The "*Compile-Log*" buffer contains:
>
>  foo.el:1:7:Warning: assignment to free variable `foo'
>  foo.el:3:1:Error: End of file during parsing
>
> On the warning line, everything up to and including the "g" in "Warning"
> is underlined and has mouse-face.
>
> On the error line, the underline/mouse-face stops at the "E" in error.

I'm able to reproduce this in Emacs 24, but I'm not able to make any
sense of how compilation mode parses and fontifies the buffer...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/