From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6NSAEsQEyGONCwEAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 15:40:04 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id TESOEcQEyGPGHAAAG6o9tA (envelope-from ) for ; Wed, 18 Jan 2023 15:40:04 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 C1CB93A498 for ; Wed, 18 Jan 2023 15:40:03 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id F04FD5FBFB; Wed, 18 Jan 2023 14:40:00 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 5A7955E541 for ; Wed, 18 Jan 2023 14:39:58 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 402AA5FB9E; Wed, 18 Jan 2023 09:39:57 -0500 (EST) Received: (nullmailer pid 442572 invoked by uid 1000); Wed, 18 Jan 2023 14:39:56 -0000 From: David Bremner To: ricardomartins@riseup.net, notmuch@notmuchmail.org Subject: Re: ## error when running notmuch from emacsclient, but not from standalone emacs instance In-Reply-To: References: Date: Wed, 18 Jan 2023 10:39:56 -0400 Message-ID: <87mt6fq537.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: QCILN4EOAVD7VDLFEISAQDH46CHTGLT7 X-Message-ID-Hash: QCILN4EOAVD7VDLFEISAQDH46CHTGLT7 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; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Country: DE X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674052804; a=rsa-sha256; cv=none; b=RUqZVxjkW7YHhCWQPeiozvbWf3hJ3Y66bMcr8fV9Zr3RawELhQZqnQ9TRlfT3jfvkCUC7b GqKnH/L1DsDKRrmbp4XwUFYif4+Kw+18+ZvFN8y+Yhb/sG/prGBqtZ3JjTP8CK9305oJPK WAcxxM8YRR9NTB1AW4TCI06utVhanzqZygLvQ+oX0xLXcAbRioxHD+P1/OYAr6+Thu2ecU zTL13HgMb0Z+q0XUypUXojc/EeEnUymaCz4azXCxfE68zZnHNlzRWpztEnNlRbW4/P3gb5 9coLLgJPEC5MjnenCPK/dnT32/URH1X37GNpV4J0LQRtFF7esdaBLAMxACeE7A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674052804; 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-owner:list-unsubscribe:list-subscribe:list-post; bh=cgal3wCAcTjqBwtL2ZoyAe+TrKBZZc6uasB2s5JaBxY=; b=JsmFZgBQX1QHHdou8M3O+j+NLbRKhEJ6mREVOYfjLSC27rSaN2pYPFuuH2eXm8FFKUnTj5 IVo1tvBs4g7+q5ngBK9miDNsgQAlv3o0zmC8MLd6PE4dRBf3FnjCfD8JIKvktYxMZk7YiN L/JbWWIw3Gug3+Ul9AQ1i9ZGY8/iV5WalOUTK6D1NOXG9AFeUkED/wolNxsly/KfgojFmv 5V1u0rFGWqlxfHCNXRR8y+RZmC5wihboWdT3vIEgtitRCD5M0rM0mqMn/bggEdeJTPZcGm 9NmcQ4SIDDwTa3ZRSQGGA8V0inkDh2q6C5oQCQimCDga2KmW4JmS6l1JPd2z8w== X-Spam-Score: -1.74 X-Migadu-Queue-Id: C1CB93A498 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.74 X-TUID: wjdlmocC/nLs ricardomartins@riseup.net writes: > > When I try to run notmuch from the emacsclient instance (M-x notmuch > ), I get an error > "notmuch count --batch failed > Please check that the notmuch CLI is new enough to support `count > --batch'. In general we recommend running matching versions of > the CLI and emacs interface." > I agree it is strange strange to have problems only affecting emacsclient. The only thing I can think of off hand is that starting emacsclient does not reload the emacs initialization file, so make sure you run both experiments with a fresh restart of emacs. What is the output of M-x notmuch-version for both emacsclient and emacs?