From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 kDCYOP0JyGOsNwEAbAwnHQ (envelope-from ) for ; Wed, 18 Jan 2023 16:02:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OOd1OP0JyGMbwAAA9RJhRA (envelope-from ) for ; Wed, 18 Jan 2023 16:02:21 +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 9880E3ADFE for ; Wed, 18 Jan 2023 16:02:21 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 7A8945FBFB; Wed, 18 Jan 2023 14:55:49 +0000 (UTC) Received: from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com [IPv6:2a00:1450:4864:20::52a]) by mail.notmuchmail.org (Postfix) with ESMTPS id 83D685E541 for ; Wed, 18 Jan 2023 14:55:47 +0000 (UTC) Received: by mail-ed1-x52a.google.com with SMTP id y19so16385322edc.2 for ; Wed, 18 Jan 2023 06:55:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=6x4zw/HSoIRlXFRdfRL3IOD0QOSxp2pjlaVwHlzjUBM=; b=GP4BLS7oYCek3ZimlQp0QTLQem7sCbXoeLN1l/qdnDxOd3JMyflENXd3pGwBZInmLu YdMe7O7jh2jWHcydnajoK8ByR+X1EeJ3nB9NrmvRT0SUppVP9X708RkDU6fcvv/nEvvm 9DBQJcTBdMzL7Fr6CuB63dzs/YwavfsM6pspBTzXU/G8VjUIQIGGrBLN1YKTzuTDB4UE L8Ve98hwZCuZYPu99Sj/uRMm/bIb31r4Ijr65NVTNhrvP0730kJXekvlmpZ7ckNX24JC g6Q2Yz6nBITKU5axpkN/8FyjlMnsfXUVPik/XDCYZ+LosyBQAVX6LabzhD4wxMVivxVX GIoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=6x4zw/HSoIRlXFRdfRL3IOD0QOSxp2pjlaVwHlzjUBM=; b=EL/BqM5KUl55YUxUX+VJNL/3AbNM/G/OgSlFVOppAtTudGf7QsHYT3ExOpBpBfTCaO mE5291jXhUh9+zCxi1SLsdy/w5Er33DwLc0X6Qwz7QOdYoiqh4HsZVqWSSJAxGM/XwU/ G9lUSvYteSJiR5hKLl58AHKze9V8awFSdHwSByPvvEMSDacPGDI39E29uPk+mcDA2seZ yXxEpAFaBVZaAGjyd5qDp/scLNu1X/8xZXFGLI1f1hOGYt6IegpyYvIF94K6c/lxLhc+ MAXK2pQtGAQQdQIwDvnN/zEMh3KK6RtPR73mxNJyCG3FmeWZKAEGxNpXWS4Wuf9COUaU Wmhg== X-Gm-Message-State: AFqh2kq0Wr4MMbskoKoBuMF/bYlSlsfYoLUzR0ZHeybGS9RHU5CY6pZL uQsj6AALKdhXOEDrlOKNI05ncJFfwlL/54yPdIA= X-Google-Smtp-Source: AMrXdXtInkloNbaXPwN/YJhyx8yeMMhwoGKyU1Xnswj9odoA/2EngWm/NRdztt1USbqDNwq6WEGPRQeovGTh2GrIIhc= X-Received: by 2002:a05:6402:951:b0:498:ebb7:d8b8 with SMTP id h17-20020a056402095100b00498ebb7d8b8mr909180edz.144.1674053746783; Wed, 18 Jan 2023 06:55:46 -0800 (PST) MIME-Version: 1.0 References: <87mt6fq537.fsf@tethera.net> In-Reply-To: <87mt6fq537.fsf@tethera.net> From: Michael J Gruber Date: Wed, 18 Jan 2023 15:55:35 +0100 Message-ID: Subject: Re: ## error when running notmuch from emacsclient, but not from standalone emacs instance To: David Bremner Message-ID-Hash: TF7XD7BJD6RU2RUEJY327FZE3GBEF2QP X-Message-ID-Hash: TF7XD7BJD6RU2RUEJY327FZE3GBEF2QP X-MailFrom: michaeljgruber@gmail.com 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 CC: ricardomartins@riseup.net, notmuch@notmuchmail.org 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=1674054141; a=rsa-sha256; cv=none; b=aKM+F+5iKtfHjQnXla8CMz9+8VObJqaq0xVj5h/fUfAmoYJuaT3i2jvKqnDXUbM2U6UvYG hbgXSuGcUfcBzDR9ef5T+7yWRkJvpItioVcgcf3dF6qWg2u2/ffKPMPUcYuRdE/5BVP6xD ExluIkYCGtkb4HWdm9v97HEFiseYMMSFkxSFBPibPRNlYHFFWdwxU2A/BVFv/028cRkLHs ivgUWuKil2XT6RnDb8XCE1Lk1qPp7cIhieDDYsFpE70HNxrk6NdpHSSU1rItgMZ3NixZ3t Gh+4SgX1zGSVa/tB2sYIV9GcH3XVyo3f8ZANz8fdqb3YtVcE1m9QuowUF8mW5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=GP4BLS7o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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=1674054141; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc: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:dkim-signature; bh=l+uM2sk3/ylJ4M+e8Lk7xdVOfpRIXH++xBgi+BZrJ0Y=; b=nwE0E2Ib74TxHKbr7/kRmPqzxTgp/ep0NVZZT1xAr1rJsVdqiLahjtDY1FQatfXBllC5vL +X53nGyBjJzVaw5UH9ToEffn8/75DfXsiu02wwjuqjNyzSX9f8pvd9iV8/ubheb6bI/wjF 3shxUR9V8QV3XBXD4h+jTxN9zpzmQJsF2SLfq9S0x2CPkdGtkczpKYvQOZe+TSq7D56jVM GGwZ8MSrogIQ3rRNFj77aeDREyObz91NCtg6KTtMsglj7zRVKbOK0ZXTcrsG6+j4eAVDbA k760litNX7RR/whBLmbVOBISMbnlnn4N8QvhEs64Bww+udnrUOvKNsPzsXHAtw== X-Spam-Score: 6.95 X-Migadu-Queue-Id: 9880E3ADFE Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=gmail.com header.s=20210112 header.b=GP4BLS7o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 6.95 X-TUID: 78DQhZ7lc+8k Am Mi., 18. Jan. 2023 um 15:40 Uhr schrieb David Bremner : > > 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? ... and how are you starting the emacs server? Depending on that, server and standalone may get a different PATH from the environment so that one uses the system notmuch and the other your personal install.