From 6cabb25445e4ae8256505b1aa896794fe805f8a1 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Tue, 27 Mar 2012 08:09:13 +1700 Subject: [PATCH] Re: [Stefano Zacchiroli] Bug#628018: [PATCH] notmuch-mutt utility for notmuch/contrib/ --- ea/dfe37c791d6fc48bba81d3c1fb30de4cb26931 | 108 ++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 ea/dfe37c791d6fc48bba81d3c1fb30de4cb26931 diff --git a/ea/dfe37c791d6fc48bba81d3c1fb30de4cb26931 b/ea/dfe37c791d6fc48bba81d3c1fb30de4cb26931 new file mode 100644 index 000000000..1ccd25209 --- /dev/null +++ b/ea/dfe37c791d6fc48bba81d3c1fb30de4cb26931 @@ -0,0 +1,108 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id A0E7F431FAF + for ; Mon, 26 Mar 2012 08:09:24 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -2.29 +X-Spam-Level: +X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id NXgcAkhzifFT for ; + Mon, 26 Mar 2012 08:09:22 -0700 (PDT) +Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu + [131.215.239.19]) + by olra.theworths.org (Postfix) with ESMTP id 8B495431FAE + for ; Mon, 26 Mar 2012 08:09:22 -0700 (PDT) +Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1]) + by earth-doxen-postvirus (Postfix) with ESMTP id 020BD66E0145; + Mon, 26 Mar 2012 08:09:22 -0700 (PDT) +X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new +Received: from finestructure.net (pool-108-27-62-184.nycmny.fios.verizon.net + [108.27.62.184]) (Authenticated sender: jrollins) + by earth-doxen-submit (Postfix) with ESMTP id E033266E0134; + Mon, 26 Mar 2012 08:09:17 -0700 (PDT) +Received: by finestructure.net (Postfix, from userid 1000) + id 82F77573; Mon, 26 Mar 2012 08:09:15 -0700 (PDT) +From: Jameson Graef Rollins +To: Tomi Ollila , zack@debian.org +Subject: Re: [Stefano Zacchiroli] Bug#628018: [PATCH] notmuch-mutt utility for + notmuch/contrib/ +In-Reply-To: +References: <87ehsfr6lb.fsf@zancas.localnet>User-Agent: + Notmuch/0.12+71~gdacf76b (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-unknown-linux-gnu) +User-Agent: Notmuch/0.11.1+335~gf868783 (http://notmuchmail.org) Emacs/23.3.1 + (x86_64-pc-linux-gnu) +Date: Mon, 26 Mar 2012 08:09:13 -0700 +Message-ID: <87d37zl7qe.fsf@servo.finestructure.net> +MIME-Version: 1.0 +Content-Type: multipart/signed; boundary="=-=-="; + micalg=pgp-sha256; protocol="application/pgp-signature" +Cc: notmuch@notmuchmail.org +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Mon, 26 Mar 2012 15:09:24 -0000 + +--=-=-= +Content-Transfer-Encoding: quoted-printable + +On Mon, 26 Mar 2012 15:34:04 +0300, Tomi Ollila wrote: +> I think storing stuff to .../.cache/... is Great !!! +>=20 +> However, if we're "allowing" public software to use .../.cache/notmuch +> directory we should have policy to do so. I suggest we add a description +> file to notmuch source distribution which describes the public software +> that are allowed to contain files in notmuch XDG directories. The file +> could have format which describes the file/directory name, the software +> using it and some description why this file is there. +>=20 +> Another thing is this .cache hardcoding. Should this be resolved +> first by using $XDG_CACHE_HOME, (then *MAYBE* $XDG_CONFIG_HOME/.cache) +> and finally $HOME/.cache + +These are good points. I agree that since ~/.cache is an XDG standard +we should resolve the appropriate environment variables. + +If notmuch-mutt is accepted into notmuch upstream then it really becomes +a part of notmuch and isn't really "public" anymore (at least in the +sense that you're using). So I don't really see any problem with having +it use ~/.cache/notmuch. + +jamie. + +--=-=-= +Content-Type: application/pgp-signature + +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.11 (GNU/Linux) + +iQIcBAEBCAAGBQJPcIaZAAoJEO00zqvie6q8Z0EP+gKuGPRkiDz0jW9Kv8XCDm6E +Wg/NVtCPiQAQS4+Jt2XPgrKPJ5Oh0926/WdXj/QFYcnTTGYOME2AK2BUDu3OALtB +Xs8kldlzYa6Ny8VBtXNx9Q9be/BXwF3kW/NPIsXiSsqmtxTByyX5wxx27/riFa0q +kRXxN49aG7Tt6Mwo+Na9MIbAGuNTTB9+uUX2XMKHhmrXIiVIrO9FxaHNGdf/WgYe +/1u6RqVOvk47C7Q1nKf4LHeBNAwW2mVY1AtquXvHNVEAbySz8/esC95j8LR6uO4q +aVrLEm4qmfRY963/Viovma3wGzYMAQwkeeStQc/QMNPAH3WWACXq0AN6IOVh87Ik +xGmRsVA6i4uhhJOwsMhCUk23D0Cd0ZUifuHhR5Z/ZonNqQLOEpXVH2vhoo6qvgft +Nd+/JyPkJMAkhWjQ3FCUVRtybrXnYwMTrwdEvCb7odaChGHbJqQJHts/iQWSCwr9 +xI8ZTsuhfRQVaaNP9XyPrDNSzKIQ8a2/5F1xSoabyBkAEM6xiJX36kLvvc2JK4Bi +9fwK49lICC9P4MDCiynftJUxLax57yLNS6ZDi2mW7WrW9ChyrFo2KzYHD2v3dlwh ++P8vTICyiGPJGntPTCVUgDncCRZ3+/gpeUQZ0a2i5/wPQKBnn5cSZ1cv9gf6AWHe +oR2G4vEH9P9OGo8hvtDE +=DwVS +-----END PGP SIGNATURE----- +--=-=-=-- -- 2.26.2