From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Roehler Newsgroups: gmane.emacs.help Subject: detecting errors Date: Tue, 10 Oct 2006 12:11:33 +0200 Message-ID: <452B71D5.2010300@easy-emacs.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1160475077 6388 80.91.229.2 (10 Oct 2006 10:11:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2006 10:11:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 10 12:11:16 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GXEZv-0004Wh-F0 for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Oct 2006 12:11:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXEZu-0001G7-TC for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Oct 2006 06:11:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GXEZi-0001FG-4N for help-gnu-emacs@gnu.org; Tue, 10 Oct 2006 06:11:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GXEZf-0001Eo-Ft for help-gnu-emacs@gnu.org; Tue, 10 Oct 2006 06:11:01 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GXEZf-0001Ee-CY for help-gnu-emacs@gnu.org; Tue, 10 Oct 2006 06:10:59 -0400 Original-Received: from [212.227.126.186] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GXEhP-0002T9-Tv for help-gnu-emacs@gnu.org; Tue, 10 Oct 2006 06:19:00 -0400 Original-Received: from [84.190.137.92] (helo=[192.168.178.23]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1GXEZb3Zrb-0000tl; Tue, 10 Oct 2006 12:10:56 +0200 User-Agent: Thunderbird 1.5.0.4 (X11/20060516) Original-To: help-gnu-emacs@gnu.org X-Provags-ID: kundenserver.de abuse@kundenserver.de login:62d13292e0fce6aaed56aaadcb96352d 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:37960 Archived-At: While editing a larger file a function definition was mutilated inadvertently. I.e. beginning part was killed, remaining code saved as shown below. ;; (goto-char (point-min)) (while (re-search-forward "\\(^\"[ \t]+\\)" nil t) (progn (replace-match "\"") (message "%s" (what-line)))) (goto-char (point-min)) (while (re-search-forward "\\([ \t]+\\)" nil t) (progn (replace-match " ") (message "%s" (what-line)))) Detecting this error turned out laborious, as `(check parens)', which often is helpful, couldn't claim anything wrong. Also byte-compile-file finished without error-messages. Is there an appropriate way to locate this kind of errors? Thanks __ Andreas Roehler