GNU bug report logs - #3068
highlight-lines-matching-regexp doesn't work after reverting a buffer

Previous Next

Package: emacs;

Reported by: Deniz Dogan <deniz.a.m.dogan <at> gmail.com>

Date: Tue, 21 Apr 2009 11:00:03 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Deniz Dogan <deniz.a.m.dogan <at> gmail.com>
Subject: bug#3068 closed by Chong Yidong <cyd <at> stupidchicken.com> (Re: 
 highlight-lines-matching-regexp doesn't work after reverting a buffer)
Date: Thu, 23 Apr 2009 01:45:04 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#3068: highlight-lines-matching-regexp doesn't work after reverting a buffer

It has been closed by Chong Yidong <cyd <at> stupidchicken.com>.

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 <cyd <at> stupidchicken.com> by
replying to this email.


-- 
3068: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3068
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Chong Yidong <cyd <at> stupidchicken.com>
To: Deniz Dogan <deniz.a.m.dogan <at> gmail.com>
Cc: 3068-done <at> debbugs.gnu.org,
        Stefan Monnier  <monnier <at> iro.umontreal.ca>
Subject: Re: highlight-lines-matching-regexp doesn't work after reverting a buffer
Date: Wed, 22 Apr 2009 21:38:42 -0400
> 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.)

[Message part 3 (message/rfc822, inline)]
From: Deniz Dogan <deniz.a.m.dogan <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: highlight-lines-matching-regexp doesn't work after reverting a buffer
Date: Tue, 21 Apr 2009 12:54:05 +0200
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!




This bug report was last modified 16 years and 34 days ago.

Previous Next


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