Re: Cannot Start Notmuch (invalid-read-syntax "#")

Subject: Re: Cannot Start Notmuch (invalid-read-syntax "#")

Date: Tue, 14 Sep 2021 10:47:57 -0400

To: David Bremner, Tomi Ollila

Cc: notmuch@notmuchmail.org

From: Charles-André Roy


Hello David,

It worked.  Problem solved.  I have tried twice to make sure and both
times it did work.

Tomi Ollila's message was very helpful, even if it was a bit too
technical for me.  It made me understand the difference between
~/.notmuch-config and ~/.emacs.d/notmuch-config.el.  I also reread the
Web pages more carefully.

This morning I thought I must have specified somewhere that
~/.notmuch-config is the configuration file for Emacs.  I looked in M-x
customize and did not find anything there.  I thought about my init.file
but your message came in before I had the chance to look at it.

I did what you suggested, emacs -q, and notmuch started immeidiately.

I then went in my .emacs file and did a search for .notmuch-config.  I
found it as the notmuch-init-file.  I changed that variable to
~/.emacs.d/notmuch-config.el and that has done the job.

Thank you so much David and Tomi for your support and patience to deal
with basic questions like the one I had.  But as you well know, even a
basic question can paralyze your system.

Best regards,


Charles




Le mar, 14 sep 2021, à 09:16, David Bremner <david@tethera.net> a écrit
:
> Tomi Ollila <tomi.ollila@iki.fi> writes:
>
>> On Mon, Sep 13 2021, Charles-André Roy wrote:
>>
>>> Hello David,
>>>
>>> I have removed and purged the notmuch-emacs package.
>>>
>>> elpa-notmuch/stable,now 0.31.4-2 was already installed.
>>>
>>
>> The notmuch-config.el file is created by user; if it exists, notmuch emacs
>> mua loads it.
>>
>> The following defines it (no notmuch.el)
>>
>> (defcustom notmuch-init-file (locate-user-emacs-file "notmuch-config")
>>  ...)
>
> A few more questions based on Tomi's experiments / observations.
>
> 1) Can you try starting "emacs -q", then evaluate "(require 'notmuch)" in
>    *scratch*.  If notmuch starts after this we have confirmed it is
>    something specific to your emacs configuration. The usual approach is
>    then to bisect your init.el
>
> 2) Check in .emacs.d/elpa for any residual notmuch-* directories
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: