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

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

Undebuggable error in .emacs


From: Michal Sojka
Subject: Undebuggable error in .emacs
Date: Fri, 12 Jul 2013 16:32:00 +0200
User-agent: Notmuch/0.15.2 (http://notmuchmail.org) Emacs/24.3.1 (x86_64-pc-linux-gnu)

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?

Thanks,
-Michal



reply via email to

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