From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.emacs.devel Subject: Re: regexp does not work as documented Date: Tue, 6 May 2008 23:29:05 +0200 Message-ID: <200805062329.05484.bruno@clisp.org> References: <87k5i8ukq8.fsf@stupidchicken.com> <200805061335.11379.bruno@clisp.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210109375 28172 80.91.229.12 (6 May 2008 21:29:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 May 2008 21:29:35 +0000 (UTC) Cc: Chong Yidong , 192@emacsbugs.donarmstrong.com, koppel@ece.lsu.edu, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 06 23:30:10 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JtUjh-0006Yb-A5 for ged-emacs-devel@m.gmane.org; Tue, 06 May 2008 23:30:09 +0200 Original-Received: from localhost ([127.0.0.1]:40535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtUiz-0002Oe-BH for ged-emacs-devel@m.gmane.org; Tue, 06 May 2008 17:29:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JtUiv-0002O6-CO for emacs-devel@gnu.org; Tue, 06 May 2008 17:29:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JtUis-0002NJ-Rz for emacs-devel@gnu.org; Tue, 06 May 2008 17:29:20 -0400 Original-Received: from [199.232.76.173] (port=59280 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JtUis-0002N9-Kf for emacs-devel@gnu.org; Tue, 06 May 2008 17:29:18 -0400 Original-Received: from mo-p07-ob.rzone.de ([81.169.146.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JtUir-0007rq-VY for emacs-devel@gnu.org; Tue, 06 May 2008 17:29:18 -0400 X-RZG-CLASS-ID: mo07 X-RZG-AUTH: gMysVb8JT2gB+rFDu0PuvnvUUGmhfq1rhHRG5dSek381RH36PlIq8YOI Original-Received: from linuix.haible.de (dslb-084-058-049-074.pools.arcor-ip.net [84.58.49.74]) by post.webmailer.de (mrclete mo31) (RZmta 16.34) with ESMTP id e00c19k46Jj1i6 ; Tue, 6 May 2008 23:29:08 +0200 (MEST) (envelope-from: ) User-Agent: KMail/1.5.4 In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:96615 Archived-At: Stefan Monnier wrote: > Actually, font-lock-fontified is most likely set to t, so > hi-lock-set-pattern doesn't call re-sarch-forward at all and only calls > font-lock-fontify-buffer instead. You're right: If I do a M-x evaluate-expression (setq font-lock-fontify-buffer nil) before M-x highlight-regexp the result is correct. So the problem is indeed with the font-locking. Bruno