Subject: bug#50173: 27.1; M-x notmuch fails with 'Invalid read syntax: "#"

From: Charles-André Roy <[email-masked]>
Date: Mon, 23 Aug 2021 16:11:04 -0400

Hi Eli,

The problem is solved.

I went to look at the file .notmuch-config in which the beginning lines
are :

==============================

# .notmuch-config - Configuration file for the notmuch mail system
#
# For more information about notmuch, see http://notmuchmail.org

# Database configuration
#
# The only value supported here is 'path' which should be the top-level
# directory where your mail currently exists and to where mail will be
# delivered in the future. Files should be individual email messages.
# Notmuch will store its database within a sub-directory of the path
# configured here named ".notmuch".
#

[database]
path=/home/charles/Maildir/

...

==============================

I deleted the first 3 characters and retyped them.

It solved the problem :  "M-x notmuch" now loads notmuch.

That was precious help. Thanks a lot !

Charles

Le lun, 23 aoû 2021, à 22:02, Eli Zaretskii <[email-masked]> a écrit :
>> From: Charles-André Roy <[email-masked]>
>> Date: Mon, 23 Aug 2021 13:13:14 -0400
>> 
>> Debugger entered--Lisp error: (invalid-read-syntax "#")
>>   read(#<buffer  *load*>)
>>   eval-buffer(#<buffer  *load*> nil "/home/charles/.notmuch-config" nil t)  ; Reading at buffer position 2
>>   load-with-code-conversion("/home/charles/.notmuch-config" "/home/charles/.notmuch-config" t t)
>>   load("~/.notmuch-config" t t nil t)
>
> We need to see what's in ~/.notmuch-config at position 2 (and around
> it).
>
> Thanks.