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 B08456DE01ED for ; Thu, 15 Feb 2018 04:44:45 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.12 X-Spam-Level: X-Spam-Status: No, score=-0.12 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 0KmMq_qR0XyQ for ; Thu, 15 Feb 2018 04:44:44 -0800 (PST) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by arlo.cworth.org (Postfix) with ESMTPS id 186986DE01EC for ; Thu, 15 Feb 2018 04:44:44 -0800 (PST) Received: by mail-wm0-f51.google.com with SMTP id x4so1016816wmc.0 for ; Thu, 15 Feb 2018 04:44:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:from:to:subject:user-agent:mime-version; bh=AxmoToh40TXtYkeQWqIC5uW3gU+MPZZgDMWlp+EttQ4=; b=N8SqWqBLcWrSeTVa7f92Uk+HMn1XNWHFXGGyhjr7NyfZ/Vr/JEpPRzOxIEjeciA3VT vl90INVOK+dhOei8XNTOmC/w11caItKcsLIBYz/qSppWDZBWy2kOrtjmsL+CYP3Q9zoo 9aVdHbAR76jnpg8ERnfMPlfUGjJSi/SSOJemc9L85aOm1+fdaI1rItYNufo+HuI6Rumg lUMoh8/gypvOkVvqVv89OrtBXTD06TuAtMw/CiFPrI6FKWTg1+3fMZSsiZ7xqrU2ZSCP Wbe8uLLNHrDHg/bXXa3A08H1cgWxkgDCLDLjixklskU/tUqDrUECNI1GTbD7xMnrIp40 zb9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:subject:user-agent :mime-version; bh=AxmoToh40TXtYkeQWqIC5uW3gU+MPZZgDMWlp+EttQ4=; b=Otfeu15BqnwVgJllstUImxx0JDp/lQDmB4MEU/PXG2jPjVxU4qZQmR7SIm2ng2DX4t gQwjtpMPIFA3KC20iYVckxG6N3tgHITkLSZ2CQs9CpYTZ50vn8MF/xzOrAN85mq4ss1p b9O5LrHnrP4s2WX6UpBHPD8lxBIV+OerVH7iLGuKgDe+cPW8kNJtBwncwcok841Y2N7o o+4xhPXmDfuuUXKc8OgpfJqpP2moStVf9AflKLCrHG0Jia3bsKYnc/3pSGLF9sVP32BK 4dVPV+bjgqg+rggSHInjGeEwbGKPaHMEUoQV321e+peUaf43BX9/2BNiYgaPK7OUwpYc C+tQ== X-Gm-Message-State: APf1xPAAy72/nUPgZvXIoRUVYSX5BRwmQpHwLSJnmqtwwXppsqrcFS2D MsrE1gNAQdhuQGQ+7HS4Mr+YFg== X-Google-Smtp-Source: AH8x227W3CYm3EO77zY0pQcvIgMAMqJXhE60UHqLTNW6wdgtPyY8TGmNV86o2nN5IsEpckYcVeA4eg== X-Received: by 10.80.208.214 with SMTP id g22mr3179557edf.217.1518698681795; Thu, 15 Feb 2018 04:44:41 -0800 (PST) Received: from b2.thep.lu.se.gmail.com (b2.thep.lu.se. [130.235.189.246]) by smtp.gmail.com with ESMTPSA id k11sm10817343eda.22.2018.02.15.04.44.40 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 15 Feb 2018 04:44:40 -0800 (PST) Date: Thu, 15 Feb 2018 13:44:39 +0100 Message-ID: <7r7erecthk.wl-karlfogel@gmail.com> From: Karl Fogelmark To: notmuch@notmuchmail.org Subject: Suggestion for Emacs: notmuch-draft-dirs User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.5 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Mailman-Approved-At: Thu, 15 Feb 2018 06:11:18 -0800 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 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: Thu, 15 Feb 2018 12:44:45 -0000 Hi! I've just started migrating to emacs notmuch from another emacs mail client. My situation is that I have multiple email accounts and I want to mirror the web interface of each e-mail service, so I can use either the web interface or notmuch interchangeably. Setting notmuch-fcc-dirs allows me to do this (as far as I can tell), by choosing the correct "sent" maildir depending on "From" filed. Now I'd also like drafts to be saved in different maildirs depending on the "From" field of the active message; however, there is no notmuch-draft-dirs with analogous behavior, instead, there's only notmuch-draft-folder, which only allows one constant string. Currently I have: (setq notmuch-fcc-dirs '(("work.com" . "\"work/Sent Items\" -unread -inbox" ) ("somemail.com" . "\"private/Sent Items\" -unread -inbox" ))) (setq notmuch-draft-folder "work/Drafts") But it would be nice if the last line could be: (setq notmuch-draft-dirs '(("work.com" . "\"work/Drafts \" -unread -inbox" ) ("somemail.com" . "\"private/Drafts \" -unread -inbox" ))) On IRC it was suggested I send this suggestion through here. Thanks!