From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CGbjJi87P2HhewEAgWs5BA (envelope-from ) for ; Mon, 13 Sep 2021 13:51:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4NujIi87P2FdYgAA1q6Kng (envelope-from ) for ; Mon, 13 Sep 2021 11:51:11 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 55BD81CA90 for ; Mon, 13 Sep 2021 13:51:11 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9989920505; Mon, 13 Sep 2021 07:51:07 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id BB0FD203BE for ; Mon, 13 Sep 2021 07:51:05 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id A48585FD5C; Mon, 13 Sep 2021 07:51:05 -0400 (EDT) Received: (nullmailer pid 2268372 invoked by uid 1000); Mon, 13 Sep 2021 11:51:04 -0000 From: David Bremner To: =?utf-8?Q?Charles-Andr=C3=A9?= Roy , notmuch@notmuchmail.org Subject: Re: Cannot Start Notmuch (invalid-read-syntax "#") In-Reply-To: <87zgsg3dhx.fsf@tethera.net> References: <87zgsg3dhx.fsf@tethera.net> Date: Mon, 13 Sep 2021 08:51:04 -0300 Message-ID: <87wnnk3d93.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: RPOTBT5NHVOLLGNP3HSNNFQKICRS67DH X-Message-ID-Hash: RPOTBT5NHVOLLGNP3HSNNFQKICRS67DH X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631533871; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=W0w7RhJHoOGLPQUdyZoaA8dVICxj8yfWllUbZl3BJhI=; b=LGMCPC4B7GoPsGn2qAnRK6ynQOTENyZ7SlzjGN3Ushvh7kHQ6E3n+pGeFoklX3hbJ/eq6F HGskO6v7krbuJpDc8/P8d4MNMIATsVcjqJM7gTNzh3yrT9BZZT9UPAiWSTWEU9ijwMOz0x C22moh/pqSOKslp2H/cZmJghPp4o2SoO+ugrP35AH9RN1x9HNF3h4TyMWSuHZeaDdpRZZY drRtVebfQrr4ABOE2Kyq+hUVm+ZCdSxUTst0PgzgOKdqEVF1g+RGwj3/0MJhRKbuHiByZ5 nLldft72FKQts0DXMkfEXqeIY2eOeJ2Jm2xENew8IXWHa3dJIGdyVbSvWMeWiw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631533871; a=rsa-sha256; cv=none; b=tuqonoWysG1k//oM5kdi//xny0rqIgf/coCQewFt6C7aC0fbflpkkHJuTQxWrNKrkXAWwl oPref4mhSFqjdyvsxgzVgqJR6pD9A1vMUZq6ijijTO2ptzkoaMihx2Jb29HVVuXrObwdIs vw2bvvOQX0mWuvRB+1WjJiMKWL3E9mGCDr+07tshWBu7EpugeslxA4VlVmCe5x/xEt2hch +KfrRE5MhF4HC/TES8zwwuWBmNtw/B/5uvkpRlKDmAk7dArAi5Wof3OuS5+HROLvX6UZr0 tMxurwsUns7yf+18PK1C92cv6O8tMM1MXA2gfpF9sbBup0wvA7glRX9e2jncBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.13 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 55BD81CA90 X-Spam-Score: -2.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: EbsKBxMS4Qlq David Bremner writes: >> Debugger entered--Lisp error: (invalid-read-syntax "#") >> read(#) >> eval-buffer(# 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) > > The emacs function load is for lisp files. $HOME/.notmuch-config is an > INI style config file, which does indeed have many '#' in it by > default. Why emacs is trying to run .notmuch-config as lisp is currently > a mystery to me. Oh, I might know what is happening. notmuch-emacs is trying to load .notmuch-config.el, and you (maybe?) have $HOME in your emacs load-path. I guess I would pretty strongly recommmend not having $HOME in your emacs load-path (at least I just end up with random files in my $HOME). If it's important to you to have $HOME in your load-path, you can use the XDG location for your config file: put it in $HOME/.config/notmuch/default/config. d