GNU bug report logs - #801
grep et al should use font-lock

Previous Next

Package: emacs;

Reported by: Richard Stallman <rms <at> gnu.org>

Date: Wed, 27 Aug 2008 20:30:06 UTC

Severity: minor

Merged with 2134

Found in version 23.0.60

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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 801 in the body.
You can then email your comments to 801 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 stored:
bug#801; Package emacs. Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: quiet <quiet <at> debbugs.gnu.org>
Subject: grep et al should use font-lock
Date: Wed, 27 Aug 2008 16:22:52 -0400
Package: emacs
Version: 23.0.60
Severity: minor

(Filing a report for an old FOR-RELEASE issue.)

http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00548.html

"
    Because grep relies on compilation-mode, which uses font-lock to do
    its work, so it forcefully enables font-lock.

It seems like a bug for it to work this way.

What it ought to do is enable Font Lock in an internal way, so it will
put on font-lock-face properties.  These properties should be created
regardless of whether Font Lock mode is enabled, but they should
only affect display when Font Lock mode is enabled.
"




Changed bug submitter from Glenn Morris <rgm <at> gnu.org> to Richard Stallman <rms <at> gnu.org>. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 27 Aug 2008 21:00:04 GMT) Full text and rfc822 format available.

Forcibly Merged 801 2134. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 04 Feb 2009 03:50:03 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Jari Aalto <jari.aalto <at> cante.net> to control <at> emacsbugs.donarmstrong.com. (Sun, 13 Sep 2009 14:30:09 GMT) Full text and rfc822 format available.

Removed tag(s) patch. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 04 Nov 2009 22:10:08 GMT) Full text and rfc822 format available.

Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Fri, 28 Jan 2011 22:13:03 GMT) Full text and rfc822 format available.

Notification sent to Richard Stallman <rms <at> gnu.org>:
bug acknowledged by developer. (Fri, 28 Jan 2011 22:13:03 GMT) Full text and rfc822 format available.

Message #16 received at 801-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 801-done <at> debbugs.gnu.org, 7771-done <at> debbugs.gnu.org
Subject: compile.el and font-lock
Date: Fri, 28 Jan 2011 17:19:56 -0500
I've just pushed a change which makes M-x compile and M-x grep work
without forcing font-lock to be enabled.  They also make the
error-parsing lazier, so it may be faster in some cases (tho probably
slower in others as well: speed was not the main focus of my coding).


        Stefan




Reply sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
You have taken responsibility. (Fri, 28 Jan 2011 22:13:03 GMT) Full text and rfc822 format available.

Notification sent to Jari Aalto <jari.aalto <at> cante.net>:
bug acknowledged by developer. (Fri, 28 Jan 2011 22:13:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 26 Feb 2011 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 14 years and 176 days ago.

Previous Next


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