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

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

bug#3611: marked as done (23.0.94; Error in format-core)


From: Emacs bug Tracking System
Subject: bug#3611: marked as done (23.0.94; Error in format-core)
Date: Fri, 19 Jun 2009 14:30:03 +0000

Your message dated Fri, 19 Jun 2009 10:23:45 -0400
with message-id <874oucgv4e.fsf@stupidchicken.com>
and subject line Re: 23.0.94; Error in format-core
has caused the Emacs bug report #3611,
regarding 23.0.94; Error in format-core
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
3611: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3611
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message --- Subject: 23.0.94; Error in format-core Date: Thu, 18 Jun 2009 16:50:41 -0700 (PDT) User-agent: Alpine 2.00 (OSX 1167 2008-08-23)
There is a bug in `turn-on-font-lock-if-desired' that causes it to miss
the first entry in font-lock-global modes in the case when the list does
not start with `not'.  A patch is enclosed below.

To make the bug manifest itself, put dired-mode first (and only once) on
the font-lock-global-modes list, and then switch to a new dired buffer.


*** font-core-buggy.el  2009-06-18 14:51:25.000000000 -0700
--- font-core-fixed.el  2009-06-18 14:51:42.000000000 -0700
***************
*** 291,297 ****
               t)
              ((eq (car-safe font-lock-global-modes) 'not)
               (not (memq major-mode (cdr font-lock-global-modes))))
!             (t (memq major-mode (cdr font-lock-global-modes))))
      (let (inhibit-quit)
        (turn-on-font-lock))))

--- 291,297 ----
               t)
              ((eq (car-safe font-lock-global-modes) 'not)
               (not (memq major-mode (cdr font-lock-global-modes))))
!             (t (memq major-mode font-lock-global-modes)))
      (let (inhibit-quit)
        (turn-on-font-lock))))



HTH,
David
--
Dr. David Casperson, Assistant Professor     |  casper@unbc.ca
Department of Computer Science               |  (250)   960-6672 Fax 960-5544
College of Science and Management            |  3333 University Way
University of Northern British Columbia      |  Prince George, BC   V2N 4Z9
                                             |  CANADA


--- End Message ---
--- Begin Message --- Subject: Re: 23.0.94; Error in format-core Date: Fri, 19 Jun 2009 10:23:45 -0400
> There is a bug in `turn-on-font-lock-if-desired' that causes it to
> miss the first entry in font-lock-global modes in the case when the
> list does not start with `not'.  A patch is enclosed below.

Thanks; this is a regression against Emacs 22.  I've checked in your
patch into CVS.

--- End Message ---

reply via email to

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