unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Charles-André Roy" <caroy47@videotron.ca>
To: David Bremner <david@tethera.net>, Tomi Ollila <tomi.ollila@iki.fi>
Cc: notmuch@notmuchmail.org
Subject: Re: Cannot Start Notmuch (invalid-read-syntax "#")
Date: Tue, 14 Sep 2021 10:47:57 -0400	[thread overview]
Message-ID: <87ee9rdxia.fsf@> (raw)
In-Reply-To: <87h7en1hea.fsf@tethera.net>

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

  reply	other threads:[~2021-09-14 14:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 19:43 Cannot Start Notmuch (invalid-read-syntax "#") Charles-André Roy
2021-09-13 21:32 ` Tomi Ollila
2021-09-14 12:16   ` David Bremner
2021-09-14 14:47     ` Charles-André Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-09-13 15:43 Charles-André Roy
2021-09-13 16:50 ` David Bremner
2021-09-13  1:37 Charles-André Roy
2021-09-13 11:45 ` David Bremner
2021-09-13 11:51   ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ee9rdxia.fsf@ \
    --to=caroy47@videotron.ca \
    --cc=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    --cc=tomi.ollila@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).