From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id CA5766DE1105 for ; Fri, 29 Sep 2017 23:24:24 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.082 X-Spam-Level: X-Spam-Status: No, score=0.082 tagged_above=-999 required=5 tests=[AWL=-0.048, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5P_0djttYc6r for ; Fri, 29 Sep 2017 23:24:21 -0700 (PDT) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by arlo.cworth.org (Postfix) with ESMTPS id AA40C6DE1101 for ; Fri, 29 Sep 2017 23:24:20 -0700 (PDT) Received: by mail-wm0-f51.google.com with SMTP id i124so2603232wmf.3 for ; Fri, 29 Sep 2017 23:24:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=GMSWRFivHe4Suvx2qQRocpYuRA98epuFMfBw8LXT2nI=; b=NLA4I3xeQUTdseeAAR4Zw4vXeDf0hiZwoQBB0tkQ14OuN6DGFosp8Uo1I+QdbeowcW IlrcAhGwJg1rGQAxaNVEk5D6PuU5+hVS744tFJpCxBpFQpyLiC+6CIq3GX4d1aW0G5uO Gv+EgreE2uEMnuqpbkQR7AFdEUL6iehgKUiETqFytd8BqQYJxg49+QNm1wlDO6aoFc7E AmTaozYmihluwgPkDCNFrDFRVO3f0s6L9zpSmaaLO7NBfksgxl7Mug2KB3BPJBnze1Fm Zs/rpU9ZzZ/6smvCUXlf7X7V1SD/y4zbWBrvqy0kJU1X0+6TxpIF4RqBcLNHzcwNUsTG EVtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=GMSWRFivHe4Suvx2qQRocpYuRA98epuFMfBw8LXT2nI=; b=QZoE+DQwOjWeZVqT+kmgPaqPcLWbn0vMw58jG7MwkSi/oeCfzkNGxt+u5+SUZgaAyy Wv/NSgfcVVaB/anQ14NCTzNbvGxwbv6IfKsNf/GtaMz0Ou+6lWxMaRRrWBQDU9Lvt6Pk Tpz4YHby6L2seG9ibbAdjsVyqgDcmKgG+2cDeAD3lXZTw1RkvtdHlABIenuTND+qFYmB rmnDHH2xbMdaMi8HHv6cQppwf+Bv9jLe7SNPBGQeuwT4N3g1QwhP111rSKxeyNwjk/Tu IG2QAcZrzw+BpFSmy/wZoHws/TtzDMspq7/OrJMRSNQrV4X35LFmjeisUXeNdAs5Ouz3 FNnQ== X-Gm-Message-State: AHPjjUgBELAA9/hTRQm9Gs7530QUaXJtGxfl4hL/bYQjOc1/PTxS9VMv VECcdQUkbCHSBo+Jbznuo3E= X-Google-Smtp-Source: AOwi7QC6mCrxnKGxnRljBcuf0eITT9OPdAI1vpaxR7O4zg5heqW044JY9+4BGqEZMbKq2igUqMEMiA== X-Received: by 10.28.153.85 with SMTP id b82mr5025347wme.121.1506752657851; Fri, 29 Sep 2017 23:24:17 -0700 (PDT) Received: from localhost (5751dfa2.skybroadband.com. [87.81.223.162]) by smtp.gmail.com with ESMTPSA id 25sm9179549wrv.8.2017.09.29.23.24.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Sep 2017 23:24:16 -0700 (PDT) From: Mark Walters To: David Bremner , Arun Isaac , notmuch@notmuchmail.org Subject: Re: notmuch-emacs: Fcc to top-level directory given by database.path In-Reply-To: <87a81k70pr.fsf@tethera.net> References: <87fubd7ibl.fsf@tethera.net> <09e68393.AEEAQ2wzaJcAAAAAAAAAAAPvrI0AAAACwQwAAAAAAAW9WABZxnU0@mailjet.com> <87a81k70pr.fsf@tethera.net> Date: Sat, 30 Sep 2017 07:24:15 +0100 Message-ID: <874lrkn1ps.fsf@qmul.ac.uk> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Sat, 30 Sep 2017 06:24:24 -0000 On Sun, 24 Sep 2017, David Bremner wrote: > Arun Isaac writes: > >>> In any case I've noted your feature request/bug-report. It doesn't sound >>> terribly difficult to change, but it will need someone motivated to >>> think about all of the related details like updating the test suite and >>> changing docstrings. >> >> I can contribute this patch. Shall I make it such that if the folder >> part of `notmuch-fcc-dirs' is an empty string, then `notmuch insert' is >> called without a `--folder=' argument? > > Sounds reasonable to me. Any objections Mark? I am not sure: do we want an empty Fcc header to save the message to the root folder? (At the moment the insert fails for an empty Fcc header which isn't good either) In general though are suggesting Fcc header lines of the form "" or "" +sent save to the root folder? Apart from the empty header case that sounds fine. I am not sure about the documentation for it -- the variable is already a little complicated, so I wouldn't want to clutter it further. Incidentally, I think "/" is an alternative for the fcc line which already works, which is "\"/\" in notmuch-fcc-dirs. Best wishes Mark