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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3068 in the body.
You can then email your comments to 3068 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3068; Package emacs. (Tue, 21 Apr 2009 11:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Deniz Dogan <deniz.a.m.dogan <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 21 Apr 2009 11:00:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

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!





Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. (Thu, 23 Apr 2009 01:45:03 GMT) Full text and rfc822 format available.

Notification sent to Deniz Dogan <deniz.a.m.dogan <at> gmail.com>:
bug acknowledged by developer. (Thu, 23 Apr 2009 01:45:04 GMT) Full text and rfc822 format available.

Message #10 received at 3068-done <at> emacsbugs.donarmstrong.com (full text, mbox):

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.)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Thu, 21 May 2009 14:24:13 GMT) Full text and rfc822 format available.

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

Previous Next


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