From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Fwd: Re: junk in *grep* buffers Date: Mon, 09 May 2005 17:03:10 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115673618 26895 80.91.229.2 (9 May 2005 21:20:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 May 2005 21:20:18 +0000 (UTC) Cc: monnier@iro.umontreal.ca, Lute.Kamstra.lists@xs4all.nl, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 09 23:20:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVFfJ-0007ua-3R for ged-emacs-devel@m.gmane.org; Mon, 09 May 2005 23:19:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVFnh-0006yd-VG for ged-emacs-devel@m.gmane.org; Mon, 09 May 2005 17:28:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVFgp-0004JE-06 for emacs-devel@gnu.org; Mon, 09 May 2005 17:21:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVFgo-0004Iv-3P for emacs-devel@gnu.org; Mon, 09 May 2005 17:21:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVFfX-0003W9-2m for emacs-devel@gnu.org; Mon, 09 May 2005 17:20:03 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DVFW9-00043h-Tt for emacs-devel@gnu.org; Mon, 09 May 2005 17:10:21 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DVFPC-0005O2-Ff; Mon, 09 May 2005 17:03:10 -0400 Original-To: Andreas Schwab In-reply-to: (message from Andreas Schwab on Sun, 08 May 2005 15:44:30 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36915 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36915 This is still not enough when there are multiple matches on the same line close to each other. Since we delete some text during fontification font-lock-fontify-keywords-region will skip over some of the following text when it readjusts point. Is it possible to adjust the position at which font-lock-fontify-keywords-region will set point, to compensate for the deletion? Could the code use a marker to maintain that position? Then it would be relocated automatically.