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: Tue, 10 May 2005 12:26:01 -0400 Message-ID: References: <873bswvyd0.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1115742402 23419 80.91.229.2 (10 May 2005 16:26:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 16:26:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 10 18:26:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVXXg-0001Uk-Ii for ged-emacs-devel@m.gmane.org; Tue, 10 May 2005 18:25:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVXgF-0005Sp-FD for ged-emacs-devel@m.gmane.org; Tue, 10 May 2005 12:33:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVXfk-0005Ng-0Y for emacs-devel@gnu.org; Tue, 10 May 2005 12:33:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVXfh-0005MH-Iw for emacs-devel@gnu.org; Tue, 10 May 2005 12:33:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVXfh-0005MB-FR for emacs-devel@gnu.org; Tue, 10 May 2005 12:33:25 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DVXfn-0008Dh-Fm for emacs-devel@gnu.org; Tue, 10 May 2005 12:33:31 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DVXYX-00075y-5Q; Tue, 10 May 2005 12:26:01 -0400 Original-To: Juri Linkov In-reply-to: <873bswvyd0.fsf@jurta.org> (message from Juri Linkov on Tue, 10 May 2005 00:16:43 +0300) 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:36950 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36950 The following hack fixes the problem, but this is an imperfect solution. It sets the local variable `pos' from `font-lock-fontify-keywords-region' to avoid changing the current position on the line: Could the code in font-lock-fontify-keywords-region use a marker to maintain that position? Then it would be relocated automatically.