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

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

[debbugs-tracker] bug#18163: closed (24.4.50; REGRESSION, font-lock in `


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#18163: closed (24.4.50; REGRESSION, font-lock in `emacs-lisp-mode': spurious `font-lock-warning-face')
Date: Wed, 06 Aug 2014 17:16:02 +0000

Your message dated Wed, 06 Aug 2014 13:15:04 -0400
with message-id <address@hidden>
and subject line Re: bug#18163: 24.4.50; REGRESSION, font-lock in 
`emacs-lisp-mode': spurious `font-lock-warning-face'
has caused the debbugs.gnu.org bug report #18163,
regarding 24.4.50; REGRESSION, font-lock in `emacs-lisp-mode': spurious 
`font-lock-warning-face'
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
18163: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18163
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: 24.4.50; REGRESSION, font-lock in `emacs-lisp-mode': spurious `font-lock-warning-face' Date: Thu, 31 Jul 2014 21:23:47 -0700 (PDT)
Recipe from emacs -Q: Type this into an Emacs-Lisp mode buffer:

(defun foo ()
  (condition-case nil
      (let ((toto (lambda (cand)
                     (foo)) bar)))
    (quit (tutu))))

The text "bar)))" is highlighted erroneously, with face
`font-lock-warning-face'.  It should not be highlighted at all.

If you add more right-parens, or any other text, at the end of the same
line as the warning-highlighted text, it too has that red face.  It
does not seem to matter what text you add.  You can remove all of the
warning-face text except the `b' (or any other char in place of `b'),
and it is still highlighted.  You can remove the SPC before the `b'
and it remains highlighted.  If you remove the whitespace before
"(foo..." on the same line, the highlighting remains.

If you remove the newline before the "(foo..." line then the
highlighting goes away.

The first build where I see this regression is this one:

In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-04-25 on ODIEONE
Repository revision: 117024 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''

The last build I have where there is not this regression is this one:

In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-04-21 on ODIEONE
Repository revision: 117005 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''

This is the build I'm sending this report from:

In GNU Emacs 24.4.50.1 (i686-pc-mingw32)
 of 2014-06-28 on ODIEONE
Bzr revision: 117431 address@hidden
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/snapshot/trunk
 --enable-checking=yes,glyphs 'CFLAGS=-O0 -g3'
 LDFLAGS=-Lc:/Devel/emacs/lib 'CPPFLAGS=-DGC_MCHECK=1
 -Ic:/Devel/emacs/include''



--- End Message ---
--- Begin Message --- Subject: Re: bug#18163: 24.4.50; REGRESSION, font-lock in `emacs-lisp-mode': spurious `font-lock-warning-face' Date: Wed, 06 Aug 2014 13:15:04 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
tags 18163 notabug
thanks

> The text "bar)))" is highlighted erroneously, with face
> `font-lock-warning-face'.

It's no error.  There's even a help-text explaining why it's highlighted
this way (if you hover your mouse above the highlighted text).


        Stefan


--- End Message ---

reply via email to

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