From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: catching parenthesis errors in elisp Date: Fri, 12 Jun 2009 11:57:26 +0200 Message-ID: <873aa5rczd.fsf@ambire.localdomain> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1244801078 21613 80.91.229.12 (12 Jun 2009 10:04:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jun 2009 10:04:38 +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 12:04:35 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 1MF3cS-0006xB-UO for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jun 2009 12:04:21 +0200 Original-Received: from localhost ([127.0.0.1]:60931 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MF3cS-0004EN-FD for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jun 2009 06:04:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MF3bK-0003HJ-HP for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 06:03:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MF3bH-0003Cw-12 for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 06:03:09 -0400 Original-Received: from [199.232.76.173] (port=35503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MF3bG-0003Ca-J2 for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 06:03:06 -0400 Original-Received: from smtp-out114.alice.it ([85.37.17.114]:2293) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MF3bF-0004Uh-QW for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 06:03:06 -0400 Original-Received: from FBCMMO02.fbc.local ([192.168.68.196]) by smtp-out114.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Jun 2009 12:02:54 +0200 Original-Received: from FBCMCL01B05.fbc.local ([192.168.69.86]) by FBCMMO02.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Fri, 12 Jun 2009 12:02:54 +0200 Original-Received: from ambire.localdomain ([79.30.67.46]) by FBCMCL01B05.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Jun 2009 12:02:54 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1MF3Vm-00050f-Jc for help-gnu-emacs@gnu.org; Fri, 12 Jun 2009 11:57:26 +0200 In-Reply-To: (rustom's message of "Fri, 12 Jun 2009 00:05:58 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-OriginalArrivalTime: 12 Jun 2009 10:02:54.0373 (UTC) FILETIME=[F42E0550:01C9EB44] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:65191 Archived-At: () rustom () Fri, 12 Jun 2009 00:05:58 -0700 (PDT) Any suggestions on how to catch such errors? Here are some suggestions, to catch the error: - before it happens, do cut/paste by sexps; - as it happens, see mic-paren.el; - after it happens, try M-x check-parens RET. thi