From unknown Tue Jun 24 20:55:21 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#3611: 23.0.94; Error in format-core Reply-To: David Casperson , 3611@debbugs.gnu.org Resent-From: David Casperson Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 18 Jun 2009 23:55:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 3611 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124536905219201 (code B ref -1); Thu, 18 Jun 2009 23:55:05 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jun 2009 23:50:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5INolK1019194 for ; Thu, 18 Jun 2009 16:50:48 -0700 Received: from mx10.gnu.org ([199.232.76.166]:34040) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MHRNW-0003xO-BU for emacs-pretest-bug@gnu.org; Thu, 18 Jun 2009 19:50:46 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MHRNU-0006CU-Om for emacs-pretest-bug@gnu.org; Thu, 18 Jun 2009 19:50:46 -0400 Received: from pg-uni-imap-02.unbc.ca ([142.207.145.7]:39287) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHRNU-0006Bu-C3 for emacs-pretest-bug@gnu.org; Thu, 18 Jun 2009 19:50:44 -0400 Received: from tl-fac-1-226-53.unbc.ca (tl-fac-1-226-53.unbc.ca [142.207.226.53]) by pg-uni-imap-02.unbc.ca (Postfix) with ESMTP id 08048538043 for ; Thu, 18 Jun 2009 16:50:41 -0700 (PDT) Date: Thu, 18 Jun 2009 16:50:41 -0700 (PDT) From: David Casperson To: emacs-pretest-bug@gnu.org Message-ID: User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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 From unknown Tue Jun 24 20:55:21 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: David Casperson Subject: bug#3611 closed by Chong Yidong (Re: 23.0.94; Error in format-core) Message-ID: References: <874oucgv4e.fsf@stupidchicken.com> X-Emacs-PR-Message: they-closed 3611 X-Emacs-PR-Package: emacs Reply-To: 3611@debbugs.gnu.org Date: Fri, 19 Jun 2009 14:30:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1245421804-14393-1" This is a multi-part message in MIME format... ------------=_1245421804-14393-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #3611: 23.0.94; Error in format-core It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 3611: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3611 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1245421804-14393-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3611-done) by emacsbugs.donarmstrong.com; 19 Jun 2009 14:23:58 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.3 required=4.0 tests=AWL,MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pantheon-po31.its.yale.edu (pantheon-po31.its.yale.edu [130.132.50.82]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5JENrU5013399 for <3611-done@emacsbugs.donarmstrong.com>; Fri, 19 Jun 2009 07:23:55 -0700 Received: from furry (dhcp128036014144.central.yale.edu [128.36.14.144]) (authenticated bits=0) by pantheon-po31.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n5JENkOu011618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 Jun 2009 10:23:47 -0400 Received: by furry (Postfix, from userid 1000) id C283CC09B; Fri, 19 Jun 2009 10:23:45 -0400 (EDT) From: Chong Yidong To: David Casperson Cc: 3611-done@debbugs.gnu.org Subject: Re: 23.0.94; Error in format-core Date: Fri, 19 Jun 2009 10:23:45 -0400 Message-ID: <874oucgv4e.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) > 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. ------------=_1245421804-14393-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jun 2009 23:50:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.0 required=4.0 tests=MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5INolK1019194 for ; Thu, 18 Jun 2009 16:50:48 -0700 Received: from mx10.gnu.org ([199.232.76.166]:34040) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MHRNW-0003xO-BU for emacs-pretest-bug@gnu.org; Thu, 18 Jun 2009 19:50:46 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MHRNU-0006CU-Om for emacs-pretest-bug@gnu.org; Thu, 18 Jun 2009 19:50:46 -0400 Received: from pg-uni-imap-02.unbc.ca ([142.207.145.7]:39287) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MHRNU-0006Bu-C3 for emacs-pretest-bug@gnu.org; Thu, 18 Jun 2009 19:50:44 -0400 Received: from tl-fac-1-226-53.unbc.ca (tl-fac-1-226-53.unbc.ca [142.207.226.53]) by pg-uni-imap-02.unbc.ca (Postfix) with ESMTP id 08048538043 for ; Thu, 18 Jun 2009 16:50:41 -0700 (PDT) Date: Thu, 18 Jun 2009 16:50:41 -0700 (PDT) From: David Casperson Reply-To: David Casperson To: emacs-pretest-bug@gnu.org Subject: 23.0.94; Error in format-core Message-ID: User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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 ------------=_1245421804-14393-1--