From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.help Subject: Re: catching parenthesis errors in elisp Date: Fri, 12 Jun 2009 18:32:27 +0300 Organization: SunSITE.dk - Supporting Open source Message-ID: <8763f1bh84.fsf@kobe.laptop> References: <89aa42c7-bfc9-43de-b844-882b9db0ef77@p6g2000pre.googlegroups.com> <9879b6b4-b81f-43f3-92cf-fc22ae5bc90c@u9g2000prd.googlegroups.com> <029be122-b0a6-426c-ac48-18e970009a97@r31g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1244839359 12112 80.91.229.12 (12 Jun 2009 20:42:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jun 2009 20:42:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jun 12 22:42:37 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MFDa8-0007Ie-Eb for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jun 2009 22:42:36 +0200 Original-Received: from localhost ([127.0.0.1]:48877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFDa7-0004Qf-TI for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jun 2009 16:42:35 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!news.banetele.no!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.94 (berkeley-unix) Cancel-Lock: sha1:OS3lDLsy8ldI6YL34ecep5VPcJA= Original-Lines: 17 Original-NNTP-Posting-Host: 77.49.143.200 Original-X-Trace: news.sunsite.dk DXC=4K028JhZ@CeVPh8EAZ[i2lYSB=nbEKnkkl:4`YVO27`oL^MjgbH?lJH1TkjlSkYWLP>Jo4fTDmAY\fE`[m Original-X-Complaints-To: staff@sunsite.dk Original-Xref: news.stanford.edu gnu.emacs.help:169995 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65213 Archived-At: On Fri, 12 Jun 2009 05:25:33 -0700 (PDT), rustom wrote: >On Jun 12, 5:06 pm, rustom wrote: >> Ive *not* written this lisp. >> All did (or tried to do) was take some existing lisp and change it a >> bit here and there -- mostly nothing more than changing some strings. > > I should mention that now that error has gone -- in the sense that I'm > not getting scan errors and mismatch paren errors. > > But the way it is behaving (or unbehaving) I conclude that large > sections of it have 'disappeared' into a string most likely. FWIW, syntax highlighting helps a lot when you are looking for this sort of error. Try enabling font-lock-mode and skim through the function. When you see large chunks of code highlighted with the colour of string literals, it's often an indication of a missing quote or an extra quote.