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: Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#3068: marked as done (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)]
Your message dated Wed, 22 Apr 2009 21:38:42 -0400
with message-id <87eivk5eu5.fsf <at> cyd.mit.edu>
and subject line Re: highlight-lines-matching-regexp doesn't work after reverting a buffer
has caused the Emacs bug report #3068,
regarding highlight-lines-matching-regexp doesn't work after reverting a buffer
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact help-debbugs <at> gnu.org
immediately.)


-- 
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: 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!



[Message part 3 (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.)


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.