GNU bug report logs - #3611
23.0.94; Error in format-core

Previous Next

Package: emacs;

Reported by: David Casperson <casper <at> unbc.ca>

Date: Thu, 18 Jun 2009 23:55:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3611 in the body.
You can then email your comments to 3611 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3611; Package emacs. (Thu, 18 Jun 2009 23:55:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Casperson <casper <at> unbc.ca>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Thu, 18 Jun 2009 23:55:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: David Casperson <casper <at> unbc.ca>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.94; Error in format-core
Date: Thu, 18 Jun 2009 16:50:41 -0700 (PDT)
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 <at> 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



Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Fri, 19 Jun 2009 14:30:03 GMT) Full text and rfc822 format available.

Notification sent to David Casperson <casper <at> unbc.ca>:
bug acknowledged by developer. (Fri, 19 Jun 2009 14:30:04 GMT) Full text and rfc822 format available.

Message #10 received at 3611-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: David Casperson <casper <at> unbc.ca>
Cc: 3611-done <at> debbugs.gnu.org
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.



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 18 Jul 2009 14:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 345 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.