From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: philip@warpmail.net (Philip K.) Newsgroups: gmane.emacs.bugs Subject: bug#34940: [PATCH 1/1] lisp/gnus/nnir.el: prefer $MAILDIR over $HOME/Mail as notmuch prefix Date: Fri, 31 May 2019 09:13:38 +0200 Message-ID: <87a7f3t7tp.fsf@bulbul> References: <20190321204917.14611-1-philip@warpmail.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="135816"; mail-complaints-to="usenet@blaine.gmane.org" To: 34940@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 31 09:14:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWbjv-000ZAa-NW for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 May 2019 09:14:12 +0200 Original-Received: from localhost ([127.0.0.1]:37806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWbju-0005Di-LX for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 May 2019 03:14:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWbjn-0005DP-J8 for bug-gnu-emacs@gnu.org; Fri, 31 May 2019 03:14:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWbjm-00077c-Od for bug-gnu-emacs@gnu.org; Fri, 31 May 2019 03:14:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49364) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWbjm-00077F-IM for bug-gnu-emacs@gnu.org; Fri, 31 May 2019 03:14:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWbjm-000255-B0 for bug-gnu-emacs@gnu.org; Fri, 31 May 2019 03:14:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20190321204917.14611-1-philip@warpmail.net> Resent-From: philip@warpmail.net (Philip K.) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 May 2019 07:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34940 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 34940-submit@debbugs.gnu.org id=B34940.15592868337964 (code B ref 34940); Fri, 31 May 2019 07:14:02 +0000 Original-Received: (at 34940) by debbugs.gnu.org; 31 May 2019 07:13:53 +0000 Original-Received: from localhost ([127.0.0.1]:34675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWbjd-00024O-Hf for submit@debbugs.gnu.org; Fri, 31 May 2019 03:13:53 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:41815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWbja-00023x-BG for 34940@debbugs.gnu.org; Fri, 31 May 2019 03:13:51 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id BBFE27E8 for <34940@debbugs.gnu.org>; Fri, 31 May 2019 03:13:43 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 31 May 2019 03:13:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=warpmail.net; h= from:to:subject:date:message-id:mime-version:content-type; s= fm3; bh=Wij/aBg/QI7LmvyWqlp3BA2ppfdBwYWz9wiseZb4NRk=; b=A/cc1OGQ 1ammezk49dAd3MOelad2m70juC/9EgTMRVKIfgvajFQ/l8awIMcwOoBD+1QtR1WL QPgER7I6Pj8dTQtkD3DP7fPJpl5zqNxxTXB7LuR+hl/kvwi6luYe9+zRaISFV+LC 3//CFtELgnmKgZYdFiXTqwQ/cjk1ygR+yC1VbUB+8LnC884A/nXicOlS6yLS2Dwz qGE33V5YG+7eoGZ2ppKKe3iS/4U0+tszSINnhENV8Hsc0fQ77gTyc4Hs8BZfatwo wcyovC/dwRDewJiItOt9fWiTBldgv2bd8LnKx5DyHv9xc1YHqffH9MF3Pkx1oxcy 32FNHSXerBVIgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=Wij/aBg/QI7LmvyWqlp3BA2ppfdBw YWz9wiseZb4NRk=; b=vzrDf2PtmG7Pm4BbfwriYFmL/Hz75i8yd7RnVuaJxMJl2 QTNxyWgdX7dC7yuKyt2ouXwPbrIJ6HesSoVidGEIC5dAygrKWFpGy2s8KN8RuzAp +6o44aMPvuGhEOW7Rk1sVUOyrOGMfponXMOzpL+OFXSW709kFlm0h2vmNVOhHkZc 9qJZ6Dxte09rWy4KSwRxLtz0yJ0N9Tdqi8O5ri0mH5qGzh1jCcGUx/FaMsbm0DGT Rs9sfjJgVRP5z7YUe39MPapuM2zD/4i5FouwlHTQKtZ9BES1wgYWtGct0STWMeOj ZieaVDociPEdYApY6NsnDViGUbRp/K8OFQleexs1g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrudeftddguddulecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesghdtreertd dttdenucfhrhhomhepphhhihhlihhpseifrghrphhmrghilhdrnhgvthculdfrhhhilhhi phcumfdrmdenucfkphepjeelrddvudelrddvtddtrddvgedunecurfgrrhgrmhepmhgrih hlfhhrohhmpehphhhilhhiphesfigrrhhpmhgrihhlrdhnvghtnecuvehluhhsthgvrhfu ihiivgeptd X-ME-Proxy: Original-Received: from localhost (p4fdbc8f1.dip0.t-ipconnect.de [79.219.200.241]) by mail.messagingengine.com (Postfix) with ESMTPA id 1E8D78005C for <34940@debbugs.gnu.org>; Fri, 31 May 2019 03:13:41 -0400 (EDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159958 Archived-At: --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable You're right, something was messed up. I hope this is better. =2D-=20 With kind regards, Philip K. --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-lisp-gnus-nnir.el-prefer-MAILDIR-over-HOME-Mail-as-n.patch Content-Transfer-Encoding: quoted-printable From=2009de2282a0c9dc2e74c61d2dc1b5b2abf64319bf Mon Sep 17 00:00:00 2001 From: Philip K Date: Fri, 31 May 2019 09:10:18 +0200 Subject: [PATCH] lisp/gnus/nnir.el: prefer $MAILDIR over $HOME/Mail as notm= uch prefix =2D-- lisp/gnus/nnir.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 9d59a4db0d..b07390ec81 100644 =2D-- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el @@ -507,7 +507,8 @@ Instead, use this: :type '(repeat (string)) :group 'nnir) =20 =2D(defcustom nnir-notmuch-remove-prefix (concat (getenv "HOME") "/Mail/") +(defcustom nnir-notmuch-remove-prefix (concat (getenv "MAILDIR") + (getenv "HOME") "/Mail/") "The prefix to remove from each file name returned by notmuch in order to get a group name (albeit with / instead of .). This is a regular expression. =2D-=20 2.20.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEXEVvqaSeWykH0GvsTLppj2Aa7OEFAlzw1CIACgkQTLppj2Aa 7OG4ZAf9Gum3vE+X4L/SpEm4rjWt/Ifr8zL9Oll2bUyQI7dSy8w42Q9eajWmq0y2 RubN43GfWS4y8CDb08UrtC/ATO/nGO+9TMnx50+NzkR1ZZmOaQypcTOet1Mi8vYQ B4mAT8y4sJC38jVR3Abw4xSY1i9ov29D48ESnrHekkO7XKLLzK518A4zhYvXdDfu TOOvUQx+o5K0nrVS7l+Bd6gO7/wBm4xiYhrPcakuYM4XN83lNibCa8+Z9AZzprkp RuaJiiQA5NltXCEqaL9GZ6aRdUCxsD9L/gU7l++Q2cnT5gc7WzriNt5V2cJjvDMF KpvAq6APZbtTS/tDRpirFbuTghETPg== =TFUI -----END PGP SIGNATURE----- --==-=-=--