help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undebuggable error in .emacs


From: Barry Margolin
Subject: Re: Undebuggable error in .emacs
Date: Fri, 12 Jul 2013 12:29:47 -0400
User-agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X)

In article <mailman.938.1373639533.12400.help-gnu-emacs@gnu.org>,
 Michal Sojka <sojkam1@fel.cvut.cz> 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 ***


reply via email to

[Prev in Thread] Current Thread [Next in Thread]