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, 6 Jul 2006 21:01:29 -0700 Message-ID: <17581.56473.552614.576371@localhost.localdomain> References: <17580.34248.381774.421717@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 1152244909 11627 80.91.229.2 (7 Jul 2006 04:01:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 7 Jul 2006 04:01:49 +0000 (UTC) Cc: raman@users.sf.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 07 06:01:46 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 1FyhXF-0002NV-Pm for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 06:01:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyhXE-0002L4-Ak for ged-emacs-devel@m.gmane.org; Fri, 07 Jul 2006 00:01:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FyhX3-0002Kz-4Q for emacs-devel@gnu.org; Fri, 07 Jul 2006 00:01:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FyhX1-0002Jr-NM for emacs-devel@gnu.org; Fri, 07 Jul 2006 00:01:32 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FyhX1-0002Jo-GM for emacs-devel@gnu.org; Fri, 07 Jul 2006 00:01:31 -0400 Original-Received: from [63.240.77.84] (helo=sccrmhc14.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FyhXL-0006I4-Vt for emacs-devel@gnu.org; Fri, 07 Jul 2006 00:01:52 -0400 Original-Received: from labrador (c-67-180-167-124.hsd1.ca.comcast.net[67.180.167.124]) by comcast.net (sccrmhc14) with ESMTP id <20060707040130014004hv9je>; Fri, 7 Jul 2006 04:01:30 +0000 Original-Received: by labrador (Postfix, from userid 500) id 9926BF8C0A0; Thu, 6 Jul 2006 21:01:29 -0700 (PDT) Original-To: storm@cua.dk In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.57 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:56686 Archived-At: I'll try to reproduce a backtrace --- wil need to first disable the advice I threw around it to get rid of the annoyance. Note that I've not changed or modified font-lock-keywords for shell-script mode as far as I can tell. One possibility is that I'm noticing these errors when others dont because I advice 'error in emacspeak to get auditory alerts for errors. Since 'error does not return, this has to be a before advice. A side-consequence of this is that errors that are later by an error-handler further up the call stack end up still getting signaled auditorally. >>>>> "Kim" == Kim F Storm writes: Kim> "T. V. Raman" writes: >> Hi, >> >> This has been around for some months now and I've been too >> lazy to track down its exact source until now. >> >> Symptom: >> >> When editting shell scripts with font-lock turned on, >> emacs raises errors during redisplay -- specifically in >> functions >> >> font-lock-apply-syntactic-highlight >> font-lock-apply-highlight >> >> Once these errors hit, highlighting doesn't appear to >> happen correctly. Kim> Kim> What kind of errors are raised "during redisplay". Kim> Kim> Does turning on Options > Debug on Error provide more Kim> information? Kim> Kim> -- Kim F. Storm http://www.cua.dk -- 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