From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aCkqEqmNrWM/OgEAbAwnHQ (envelope-from ) for ; Thu, 29 Dec 2022 13:52:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0N/tEamNrWOsdgAAauVa8A (envelope-from ) for ; Thu, 29 Dec 2022 13:52:57 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 6ADA5116CC for ; Thu, 29 Dec 2022 13:52:56 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 8C7B5604D9; Thu, 29 Dec 2022 12:52:53 +0000 (UTC) X-Greylist: delayed 302 seconds by postgrey-1.36 at yantan; Thu, 29 Dec 2022 12:28:16 UTC Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by mail.notmuchmail.org (Postfix) with ESMTPS id EE08A6049C for ; Thu, 29 Dec 2022 12:28:16 +0000 (UTC) Received: from debian-BULLSEYE-live-builder-AMD64 ([71.249.109.104]) by mail.gmx.net (mrgmx005 [212.227.17.184]) with ESMTPSA (Nemesis) id 1N5VHM-1onD2j3rDO-016w7v for ; Thu, 29 Dec 2022 13:23:12 +0100 Date: Thu, 29 Dec 2022 07:23:08 -0500 From: Boruch Baum To: notmuch@notmuchmail.org Subject: bugreport: notmuch-hello (debian package elpa-notmuch 0.37-1) Message-ID: <20221229122308.awg67xcxbokbv7lv@debian-BULLSEYE-live-builder-AMD64> MIME-Version: 1.0 Content-Disposition: inline X-Provags-ID: V03:K1:OIh6kvBTTRJjfFufZvfshrh8VcxdLgDdJZSr0t6+nUePmsZ6M9a d5vzrm4Q2ii/SxJklM53XTdVFzFslrpVr3zXB+4BC/EIjFRHAvxV7iihGEsd5IhtfIWqHRV bwiaH2V9S5yD1GhjSkuLYDwTCceiPHHoK8kGyzNP3CkK4sh6QZmIhTw9f4RriIH6Y41J0cG Wa+panZKw3POJVKJfV7CA== UI-OutboundReport: notjunk:1;M01:P0:8tkvYbgOBSI=;M3xjIdD3rs/OBcet2pAgLEszvbi jsbyqpVKEL13e2Xei1UXI4HG58dU/q3IQbB0w4SZDisRP20z/nESHxd+7dVVtbfPCyEcoYV8C b8qU4faKWcCw/W2j2o/UTTERJUf/UtiCeqoIRCw0/Nb7aI+rWGJmLx/yvRFsHYPsqUZmYtLKk owc7p+NUd23jdg7U9Z16YPFR9Vx1SP8sXOVQ/aYkCyZkfgonMF7OJq8qwrmKerG/JkYfUgHul pxVjco6D0kRGZLR7GMibaWp0sXW7iLCz9UzsHrvrbrvLbjRqxuEHEKQmpWv75R9Ol9VCkIPP0 fnZ0V3PHwPWGBe+yiHICcLta22erYEmnMJz8xDxepyd6Bin2TVBjUatt7FPZkVLPeRh/4JURd bpFCf4nRsLZj3vhdkDvtA8cCivZpIL9By0bG7oQE0aN0I00Tyki/AKIzSmgF3Pgy9QjhBlwPB l4u5HKbvjsWDLZ9rkWtEYVssMoKTvK4xunyR3/0NqwZWF+qhUW8Bd5cmqzQsKg7PcxAfC6qLf aL1m9FLCNYDkRtbdFuRq+PMF3qJSRtvczoEa10pAetdiQyKluAYTAJ31lh1660UQZevxADSc8 B3lQD559SmVRiFBtjymDvzh5TKPEoIYMmCksANp4sxx0PX6VPGmQicPoALBkAexbjmhOsPlkF JZD2MJQMU5jGEKm7zytf62PDo6QKtdTRwhfjTI5HJRBdFOEIlrkYoigx7b4AYUVM8KLKXfVQ0 1QvAldZUXr8W4Sum6n0qAAWan0tdLMGeZOu/48pF3MPI4sgo5J5bline51YtJW7uu+mKc5ZGX z+chwzOCaJAVObXaUMrQSJYc9B8pezw8aTwfcfRiDVIEPqFmwh/RwLDuZXURaWAdfmfEe86+Y +iig6+gWvrDYKf7Li1QJSLp9jmKpNxPSR5UxpjLPrgY9W34n0+qs+k/qzPo3cUqY0Hx1VLogw PKn+shf/sTIZewfyowg6NfSvTqY= X-MailFrom: boruch_baum@gmx.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 Message-ID-Hash: RE4YOM4MV7D4NVAPVBXA6E5BORUBMZFN X-Message-ID-Hash: RE4YOM4MV7D4NVAPVBXA6E5BORUBMZFN X-Mailman-Approved-At: Thu, 29 Dec 2022 12:52:50 +0000 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=1672318376; a=rsa-sha256; cv=none; b=k9UCzNc9OOV7NSd4Zf4Yh0bpWCKpeIE118Q++KzXpAcHec60wiBtoDNyfML6Z6CvuTAXrb zup8+FrzOXJZwafHio9n1TUc4a2MqO9SCc3hK5zoaIrs8IdOIQnkbiBI+PoNjFxNIHCTQt 4qMtlcj5aMm/mykNucLipOQbRorx18nQxjGvoaX2qU9ULo2N7Vz2GjFdXw4QVChqs9Oasb EkuiCgAT3lozW7wABbqKx9kfGkzCWmHy56H0XFODPYfMLrIHTm/1zDjDO35gZnzJMfJPLY uvjZCBPWkr4DH+64XZKXeo59xSPktocs0CNfFqJ25K/HL0OMelwJWpA5wiGFGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmx.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672318376; 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:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=PWOtXLdCAJOAPXwqqrB20PD/lE0Y6EthhnzpCgDOdvc=; b=fmT6zXGw4lApNzf0WMmCjPDVPmAxlxeaZYOdJfVduMurgCQ9uD9jd3d513VdMy6Qp10q8f 4ep1xD5mTEljU/7tQswdsQW0UP1RSvjD7lrDRZrceKbV9Wju4cDTs/AfbE7TfZwkPiJeCG LQShTHnsRRXsnLkhqT52/bWCILCrPpOwdzjM+mSOw/5EWbAcyPgB80LpWKNTGiTJWvhyzG iqzMWvVT9qq78f7AeueF0zA7QgFF71X7GeHFBWtuC+Cpo8ARZNs6ibxYXGJ//Kwqafi3SV eO4CaNLWWYIJXQwCGsMGwlY9mnduBjxn/v1DFCZqka72xpQ3DludNnbhzqweUg== X-Spam-Score: -1.75 X-Migadu-Queue-Id: 6ADA5116CC Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmx.com (policy=none) X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -1.75 X-TUID: PoA8U4E6VMAp I wasn't sure the best way to report a bug against it, so I hope by sending it to thislist it will find its proper home. Summary: notmuch-hello not respecting notmuch file search order In debian, I installed debian packages notmuch and elpa-notmuch, versions 0.3701, and proceeded with the command-line setup process. Per the FILES section of man(1) notmuch-config, I first performed: export NOTMUCH_CONFIG=$HOME/.config/notmuch/notmuch.conf With this setting, I successfully set-up notmuch, created a database, and searched it from the command-line. However, from within emacs, M-x notmuch-hello failed when it would internally send shell command: notmuch count --exclude=false The emacs shell-command error buffer would report "Error: cannot load config file". From outside emacs, that shell command *would* succeed. Repeating the notmuch setup process with the environment variable unset did not help for me. What did work for me was to create a default profile folder and move the config file there. export NOTMUCH_CONFIG="" mkdir ~/.config/notmuch/default mv ~/.config/notmuch/{notmuch.conf,default/config} But then, in order to be able to continue to use notmuch from the command-line I needed to perform export NOTMUCH_CONFIG=$HOME/.config/notmuch/default/config So it looks like the elisp package isn't checking the file location precedence mentioned in the man pages. -- hkp://keys.gnupg.net CA45 09B5 5351 7C11 A9D1 7286 0036 9E45 1595 8BC0