From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: Re: font-lock and shell scripts: Raises redisplay errors in highlight pattern: Date: Thu, 13 Jul 2006 18:28:48 -0700 Message-ID: <17590.62288.189166.983777@localhost.localdomain> References: <17580.34248.381774.421717@localhost.localdomain> <17581.56473.552614.576371@localhost.localdomain> <17589.50995.201436.401539@localhost.localdomain> Reply-To: raman@users.sf.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1152840551 7559 80.91.229.2 (14 Jul 2006 01:29:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Jul 2006 01:29:11 +0000 (UTC) Cc: raman@users.sf.net, storm@cua.dk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 14 03:29:08 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G1CUM-0003uB-FU for ged-emacs-devel@m.gmane.org; Fri, 14 Jul 2006 03:29:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G1CUL-0005hY-T3 for ged-emacs-devel@m.gmane.org; Thu, 13 Jul 2006 21:29:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G1CU8-0005hL-SS for emacs-devel@gnu.org; Thu, 13 Jul 2006 21:28:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G1CU6-0005gO-8o for emacs-devel@gnu.org; Thu, 13 Jul 2006 21:28:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G1CU6-0005gL-5j for emacs-devel@gnu.org; Thu, 13 Jul 2006 21:28:50 -0400 Original-Received: from [206.18.177.51] (helo=alnrmhc11.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G1CVy-0007ak-W9 for emacs-devel@gnu.org; Thu, 13 Jul 2006 21:30:47 -0400 Original-Received: from labrador (c-67-180-167-124.hsd1.ca.comcast.net[67.180.167.124]) by comcast.net (alnrmhc11) with ESMTP id <20060714012848b1100o7rsne>; Fri, 14 Jul 2006 01:28:49 +0000 Original-Received: by labrador (Postfix, from userid 500) id 5E6E7161C14C; Thu, 13 Jul 2006 18:28:48 -0700 (PDT) Original-To: monnier@iro.umontreal.ca In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.64 x-attribution: tvr 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:56986 Archived-At: Suspect your patch will fix it. I did a cvs update before patching --- turned out to be a mistake in hindsight because the build is currently broken like so:) (this is after a make clean , configure ... ../src/emacs -batch --no-site-file --multibyte -f batch-byte-compile /home/tvraman/sourceforge/emacs/lisp/progmodes/cc-mode.el Source file `/home/tvraman/sourceforge/emacs/lisp/emacs-lisp/edebug.el' newer than byte-compiled file Source file `/home/tvraman/sourceforge/emacs/lisp/progmodes/cc-fonts.el' newer than byte-compiled file cc-mode.el:1188:21:Error: Wrong type argument: integerp, nil make: *** [/home/tvraman/sourceforge/emacs/lisp/progmodes/cc-mode.elc] Error 1 18:27:05 labrador lisp $ >>>>> "Stefan" == Stefan Monnier writes: >> Error during redisplay: (error No match 6 in highlight (6 >> font-lock-builtin-face)) Stefan> Stefan> Thanks. Does the patch below fix your problem? Stefan> Stefan> Stefan> Stefan Stefan> Stefan> Stefan> --- sh-script.el 04 Jul 2006 11:23:07 -0400 1.181 +++ Stefan> sh-script.el 13 Jul 2006 11:28:47 -0400 @@ -1554,7 Stefan> +1554,7 @@ (regexp-opt (sh-feature sh-builtins) t) Stefan> "\\>") (2 font-lock-keyword-face nil t) - (6 Stefan> font-lock-builtin-face)) + (4 Stefan> font-lock-builtin-face)) ,@(sh-feature Stefan> sh-font-lock-keywords-var-2))) (,(concat keywords Stefan> "\\)\\>") 2 font-lock-keyword-face) -- Best Regards, --raman Email: raman@users.sf.net WWW: http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk: tv.raman.tv@gmail.com PGP: http://emacspeak.sf.net/raman/raman-almaden.asc Google: tv+raman IRC: irc://irc.freenode.net/#emacs