[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14099: 24.3.50; regression: bad font locking for `abort' in Lisp mod
From: |
Drew Adams |
Subject: |
bug#14099: 24.3.50; regression: bad font locking for `abort' in Lisp mode |
Date: |
Sun, 31 Mar 2013 07:29:46 -0700 |
> > emacs -Q
> > Type this in an Emacs Lisp buffer:
> > (abort-recursive-edit)
> > Emacs now highlights `abort' here, which is bad.
>
> I can't reproduce this, but maybe I didn't do everything needed for
> reproduction. What exactly do you mean by "in an Emacs Lisp buffer"?
> How did you create such a buffer, starting from "emacs -Q"?
>
> What I did was to create a buffer and manually put it under
> emacs-lisp-mode.
The regression was apparently fixed. It is easy to repro it in the build I
reported on, from 2013-03-23. But it no longer repros in a build from 3-28.
As for reproducing in 3-23, just put that sexp in *scratch* (Lisp interaction
mode) or any buffer that is `emacs-lisp-mode'.
So you can close this bug (or I will), unless you want to investigate further
for some reason. I don't know what other changes were made when the regression
was introduced. This is a pretty basic mistake, so maybe the changes are worth
looking at.
Also, as I mentioned, I found no `abort' function etc. in Emacs, and even with
the latest build (abort) still highlights in red. What was fixed is that
(abort-recursive-edit) no longer has the `abort' part in red. But what is this
`abort' function, and why is it highlighted with `font-lock-warning-face'?