From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#13461: Subject: 24.2; highlight lines regexp does not highlight all lines Date: Thu, 17 Jan 2013 09:36:44 -0500 Message-ID: References: <5z38y1awhy.fsf@fencepost.gnu.org> <87libsz4bn.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1358433445 6094 80.91.229.3 (17 Jan 2013 14:37:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 14:37:25 +0000 (UTC) Cc: 13461@debbugs.gnu.org, Dave Franklin To: Jambunathan K Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 17 15:37:43 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tvqb8-0003Jp-PD for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 15:37:42 +0100 Original-Received: from localhost ([::1]:37996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvqas-000858-22 for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 09:37:26 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42405) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvqao-00084b-TZ for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 09:37:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tvqan-0002MG-TO for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 09:37:22 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvqan-0002MB-Pl for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 09:37:21 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TvqbS-0002Zt-PS for bug-gnu-emacs@gnu.org; Thu, 17 Jan 2013 09:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Jan 2013 14:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13461-submit@debbugs.gnu.org id=B13461.13584334519870 (code B ref 13461); Thu, 17 Jan 2013 14:38:02 +0000 Original-Received: (at 13461) by debbugs.gnu.org; 17 Jan 2013 14:37:31 +0000 Original-Received: from localhost ([127.0.0.1]:36419 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tvqaw-0002Z9-K6 for submit@debbugs.gnu.org; Thu, 17 Jan 2013 09:37:30 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:27427) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tvqat-0002Z0-3q for 13461@debbugs.gnu.org; Thu, 17 Jan 2013 09:37:28 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkGAG6Zu09FpZpV/2dsb2JhbABEgXuyFoEIghUBAQQBViMQCxcdEhQYDRYOiBwFugmFZYU3hSgDiEKacYFYgweBOQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212777468" Original-Received: from 69-165-154-85.dsl.teksavvy.com (HELO pastel.home) ([69.165.154.85]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 17 Jan 2013 09:36:45 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id A313159537; Thu, 17 Jan 2013 09:36:44 -0500 (EST) In-Reply-To: <87libsz4bn.fsf@gmail.com> (Jambunathan K.'s message of "Thu, 17 Jan 2013 12:25:24 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:69918 Archived-At: >>> I position the cursor on the first line in the file. >>> When I execute the command: M-x highlight-lines-matching-regexp and >>> select a regexp to use, Emacs only highlights a small fraction of lines >>> that that match such regexp. >> Maybe you want to increase hi-lock-highlight-range / >> hi-lock-file-patterns-range. There may be performance consequences >> though. > As one scrolls through the buffer, the limit of highlight range should > also scroll ahead. Such a behaviour can eliminate surprises and > double-checks. Actually, I think that in the absence of font-lock, hi-lock should use jit-lock, so we can get rid of hi-lock-highlight-range. Stefan "Ideally, we'd never use font-lock for it, but the need to share the `face' property makes it a bit tricky"