From: "Charles-André Roy" <caroy47@videotron.ca>
To: "David Bremner" <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: Re: Cannot Start Notmuch (invalid-read-syntax "#")
Date: Mon, 13 Sep 2021 15:43:08 -0400 [thread overview]
Message-ID: <87lf408do3.fsf@> (raw)
Hello David,
I have removed and purged the notmuch-emacs package.
elpa-notmuch/stable,now 0.31.4-2 was already installed.
On the notmuchmail.org Web site, I looked at the pages "Notmuch Emacs
Interface" and "Tips and Tricks". The only configuration file mentioned
on these pages is ~/.emacs.d/notmuch-config.el
And I agree with you that the backtrace reports a Lisp reading error. I
created an empty ~/.emacs.d/notmuch-config.el, tried to start Notmuch
and it WORKED. I could see the beautiful notmuch-hello screen again.
I wanted to make sure it was a steady fix. I closed all my opened Emacs
and started them again. On the first try I got the same *Backtrace*.
On the second try it worked. So the fix does not seem too stable.
In one session, does Notmuch en Emacs first try to look at the file in
~/. On another try, does it skip that step and go directly to the
programme ? That would also explain why some time ago a small
change in the file made a difference. The change in the file would not have made the difference but
the second try would. I wonder ?
I am wondering also how come I did not have a the
~/.emacs.d/notmuch-config.el Notmuch is trying to read.
In trying to solve the problem I deleted the ~/.notmuch-config file.
Notmuch produced the message that it was not setup. I did the command
"notmuch setup" in a terminal. It created again the config file that
starts with the character # and placed it in ~/.
C-h a did not show any setup command inside Emacs, how is the
notmuch-config.el file created and what goes in it ? Is it what I put
about Notmuch in my .emacs file ?
Thank you !
Charles
David Bremner <david@tethera.net> (Today 12:50) (inbox unread)
Subject: Re: Cannot Start Notmuch (invalid-read-syntax "#")
From: David Bremner <david@tethera.net>
To: Charles-André Roy <caroy47@videotron.ca>
Cc: notmuch@notmuchmail.org
Date: Mon, 13 Sep 2021 13:50:22 -0300
\fheader}
\fbody{
\fpart{ ID: 1, Content-type: text/plain
Charles-André Roy <caroy47@videotron.ca> writes:
> Hello David,
>
> Thank you for your responses !
>
> 1. I looked at the load-path variable and the $HOME directory per se is
> not in it. There are many directories in $HOME/.emacs.d leading to
> packages I have installed.
>
> 2. I installed notmuch-emacs through the Debian packages
> apt list gives notmuch-emacs/now 0.28.4-1 all [installé, local]
That is quite old (from buster I guess?). Can you try elpa-notmuch 0.31.4-2
from bullseye? That version you have of notmuch-emacs should be a dummy package
depending on elpa-notmuch, so safe to remove.
> apt list also gives notmuch/stable,now 0.31.4-2 amd64 [installé]\r
next reply other threads:[~2021-09-13 19:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-13 19:43 Charles-André Roy [this message]
2021-09-13 21:32 ` Cannot Start Notmuch (invalid-read-syntax "#") Tomi Ollila
2021-09-14 12:16 ` David Bremner
2021-09-14 14:47 ` Charles-André Roy
-- 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=87lf408do3.fsf@ \
--to=caroy47@videotron.ca \
--cc=david@tethera.net \
--cc=notmuch@notmuchmail.org \
/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).