From deniz.a.m.dogan@gmail.com Tue Apr 21 03:54:12 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Apr 2009 10:54:12 +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=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3LAs8gL029522 for ; Tue, 21 Apr 2009 03:54:09 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwDc8-00064f-6F for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 06:54:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwDc7-00063o-Mi for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 06:54:07 -0400 Received: from [199.232.76.173] (port=52533 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwDc7-00063c-Es for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 06:54:07 -0400 Received: from fg-out-1718.google.com ([72.14.220.156]:17369) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwDc7-0003jo-3F for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2009 06:54:07 -0400 Received: by fg-out-1718.google.com with SMTP id e12so395142fga.7 for ; Tue, 21 Apr 2009 03:54:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=dx8JWQ+VQp59BcH3pQvVtCRacsMlYATCvOVz6E7u+DM=; b=GMHu7wAb/H4Dx43kQONjeBF0Z9B5haOjoc/OOmrY0tiABIvetLi0EY7RaiT9EZlrM1 EwiJa6YCYiNulQQx0d7mpuQ5gSFNTM6lyyYYhGEEzwEO2tKr70Ws2HSz+Eh7B1jjm61L YnPxVIDKsvBKrx1JkakiKoJTtkugAZDJMOaxw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=mwKhBIBQh06BnPWfkVm/I+U5K2j6e+NgiDODzln5Gnvf7520T4CwSCriwTkWG/lB1/ iT3NyNPXnOxv76zyqp2tIAajbYRklc6nmDjd7AUE1cjXjaERHig3BFxE/xZhWUl6rqIm xTmK8MUlHoVG5I+1Ru4TD9x+99lTZVX1gSSaQ= MIME-Version: 1.0 Received: by 10.86.95.20 with SMTP id s20mr4507486fgb.26.1240311245401; Tue, 21 Apr 2009 03:54:05 -0700 (PDT) Date: Tue, 21 Apr 2009 12:54:05 +0200 Message-ID: <7b501d5c0904210354x35cabf59q8653dfad085e7e9@mail.gmail.com> Subject: highlight-lines-matching-regexp doesn't work after reverting a buffer From: Deniz Dogan To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) highlight-lines-matching-regexp doesn't work as it should after having reverted a buffer. Reproduction: 1. Open a text file with any relevant contents. 2. M-x highlight-lines-matching-regexp and highlight something in the file. 3. M-x revert-buffer RET yes RET 4. Now the highlighting is gone, which I can accept, however... 5. M-x highlight-lines-matching-regexp RET RET 6. Nothing is highlighted this second time! From cyd@stupidchicken.com Wed Apr 22 18:36:50 2009 Received: (at 3068-done) by emacsbugs.donarmstrong.com; 23 Apr 2009 01:36:50 +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=none autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3N1amQ4003764 for <3068-done@emacsbugs.donarmstrong.com>; Wed, 22 Apr 2009 18:36:49 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id D853757E246; Wed, 22 Apr 2009 21:38:42 -0400 (EDT) From: Chong Yidong To: Deniz Dogan Cc: 3068-done@debbugs.gnu.org, Stefan Monnier Subject: Re: highlight-lines-matching-regexp doesn't work after reverting a buffer Date: Wed, 22 Apr 2009 21:38:42 -0400 Message-ID: <87eivk5eu5.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > highlight-lines-matching-regexp doesn't work as it should after having > reverted a buffer. I've checked in a fix. (This is actually a manifestation of Bug#635, "Adding font-lock keywords results in no font-lock at all". I added a hack to hi-lock-mode to work around this bug, and the hack can probably be reversed if/when 635 is fixed.) From unknown Fri Jun 20 07:23:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Thu, 21 May 2009 14:24:13 +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