From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#9919: 24.0.91; font-lock broken in dired Date: Mon, 9 Jan 2012 07:52:50 -0800 Message-ID: References: <1161A09A8D6E494CBF91D53B99D5FBC2@us.oracle.com><86k47fuzce.fsf@googlemail.com> <01BD44CE3569404796A5C8252DDA7BDB@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1326124445 1442 80.91.229.12 (9 Jan 2012 15:54:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2012 15:54:05 +0000 (UTC) To: <9919@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 09 16:53:59 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RkHXr-00084u-7T for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jan 2012 16:53:59 +0100 Original-Received: from localhost ([::1]:58001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkHXq-0002Ta-Js for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jan 2012 10:53:58 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkHXk-0002TE-63 for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 10:53:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkHXg-0000FL-2a for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 10:53:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkHXg-0000FG-0w for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 10:53:48 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RkHXu-0002X7-0E for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 10:54:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jan 2012 15:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9919 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9919-submit@debbugs.gnu.org id=B9919.13261243979687 (code B ref 9919); Mon, 09 Jan 2012 15:54:01 +0000 Original-Received: (at 9919) by debbugs.gnu.org; 9 Jan 2012 15:53:17 +0000 Original-Received: from localhost ([127.0.0.1]:51185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkHXA-0002WB-QM for submit@debbugs.gnu.org; Mon, 09 Jan 2012 10:53:17 -0500 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:20345) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkHX8-0002Vw-3m for 9919@debbugs.gnu.org; Mon, 09 Jan 2012 10:53:15 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q09FqqRg005246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <9919@debbugs.gnu.org>; Mon, 9 Jan 2012 15:52:53 GMT Original-Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q09Fqpu6009275 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <9919@debbugs.gnu.org>; Mon, 9 Jan 2012 15:52:52 GMT Original-Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q09FqpxO028128 for <9919@debbugs.gnu.org>; Mon, 9 Jan 2012 09:52:51 -0600 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 09 Jan 2012 07:52:51 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <01BD44CE3569404796A5C8252DDA7BDB@us.oracle.com> Thread-Index: AcybWw9sYEQTQ5VESJOaCCzxm9a4dwAdA4oADMXO5iA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090206.4F0B0D55.0106,ss=1,re=0.000,fgs=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55575 Archived-At: > > I cannot reproduce this with the 24.0.91 Windows Pretest > > binary or my current trunk build. > > I downloaded dired+.el and put it in the Emacs path. With > > emacs -Q, I do M-x load-library and load dired+.el. The dired > > buffer shows your custom font-locking. > > I then tried (require 'dired+) in my init.el and it also showed the > > font-locking correctly when invoking dired. > > Could anything have changed in your setup? > > No nothing changed in my setup. But I added the workaround > to dired+.el, as I mentioned, so you will not see the bug with the latest > dired+.el. See the 2011/10/21 change-log entry. > > To see the bug, just remove the call to `font-lock-refresh-defaults'. > There is only one such call, preceded by this comment: > ;; Emacs 24+: Need to refresh `font-lock-keywords' from > `font-lock-defaults'. > > (BTW, this bug was also reported to me by dired+.el users. It > has nothing to do with my setup.) ping. I am still getting reports about this wrt dired+.el from users on GNU/Linux. So perhaps my workaround is not sufficient there - dunno. In any case, this is a regression and a performance problem. It should not be necessary to explicitly refontify (fontify twice).