From unknown Tue Jun 24 20:50:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#3611 <3611@debbugs.gnu.org> To: bug#3611 <3611@debbugs.gnu.org> Subject: Status: 23.0.94; Error in format-core Reply-To: bug#3611 <3611@debbugs.gnu.org> Date: Wed, 25 Jun 2025 03:50:57 +0000 retitle 3611 23.0.94; Error in format-core reassign 3611 emacs submitter 3611 David Casperson severity 3611 normal thanks From casper@unbc.ca Thu Jun 18 16:50:52 2009 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 From cyd@stupidchicken.com Fri Jun 19 07:23:57 2009 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. From unknown Tue Jun 24 20:50:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Sat, 18 Jul 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator