From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Undebuggable error in .emacs Date: Fri, 12 Jul 2013 12:29:47 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1373646623 22316 80.91.229.3 (12 Jul 2013 16:30:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2013 16:30:23 +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 Jul 12 18:30:24 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UxgEg-00040C-MV for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jul 2013 18:30:22 +0200 Original-Received: from localhost ([::1]:39232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxgEg-0005fj-AE for geh-help-gnu-emacs@m.gmane.org; Fri, 12 Jul 2013 12:30:22 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 41 Injection-Info: barmar.motzarella.org; posting-host="2be9e9f5dd9af768b8861af71b85fc28"; logging-data="29875"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+JTCdjlIifJ7S/b/TnZTJt" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:TZZFx7Sv6VNXQXwaTNzA8dQkMQ0= Original-Xref: usenet.stanford.edu gnu.emacs.help:199821 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92088 Archived-At: In article , Michal Sojka wrote: > Hi all, > > I experience strange behavior of my emacs that looks like an emacs bug. > My emacs is GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) > of 2013-04-13 on trouble, modified by Debian. > > After upgrading the org-mode to the latest version (8.0.6) and starting > emacs, I get this well known message: > > Warning (initialization): An error occurred while loading > `/home/wsh/.emacs': > > End of file during parsing: /home/wsh/.emacs > > To ensure normal operation, you should investigate and remove the > cause of the error in your initialization file. Start Emacs with > the `--debug-init' option to view a complete error backtrace. > > When I run `emacs --debug-init', no error is detected and emacs starts > without executing the most of my .emacs. By trying to comment out > various parts of my (huge) .emacs, I figured out that commenting the > following line prevents the error. The line in question is: > > (setq notmuch-wash-original-regexp "^\\(--+\s?\\([oO]riginal > [mM]essage\\|Messaggio > Originale\\)\s?--+\s*\\|\s*_____*\s*\n\n\\(Da:\\|Von:\\) .*\\)$" > > The interesting thing is that this line has nothing to do with org-mode. > It configures behavior of the notmuch email client. > > Does anybody know how to allow having the above line in my .emacs? That line is missing a close parenthesis at the end. Add it. -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***