From fb972ec2d5e77f18e8d3ce1e09362dc39e80627c Mon Sep 17 00:00:00 2001 From: Felix Konstantin Maurer Date: Fri, 10 Jul 2015 22:06:21 +0200 Subject: [PATCH] Emacs: notmuch-mua-mail throws error if notmuch-fcc-dirs does not exist --- 0f/24013a7142a9bfab766ea7b8c4052b6ced0317 | 82 +++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 0f/24013a7142a9bfab766ea7b8c4052b6ced0317 diff --git a/0f/24013a7142a9bfab766ea7b8c4052b6ced0317 b/0f/24013a7142a9bfab766ea7b8c4052b6ced0317 new file mode 100644 index 000000000..0baf6331e --- /dev/null +++ b/0f/24013a7142a9bfab766ea7b8c4052b6ced0317 @@ -0,0 +1,82 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 625376DE100F + for ; Fri, 10 Jul 2015 13:13:26 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.55 +X-Spam-Level: +X-Spam-Status: No, score=-0.55 tagged_above=-999 required=5 + tests=[RP_MATCHES_RCVD=-0.55] 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 J6VvTxMPJ_lq for ; + Fri, 10 Jul 2015 13:13:24 -0700 (PDT) +X-Greylist: delayed 419 seconds by postgrey-1.35 at arlo; + Fri, 10 Jul 2015 13:13:23 PDT +Received: from web.maufl.de (web.maufl.de [185.15.245.185]) + by arlo.cworth.org (Postfix) with ESMTP id EA6396DE0C66 + for ; Fri, 10 Jul 2015 13:13:23 -0700 (PDT) +Received: from [192.168.2.103] (x5f726607.dyn.telefonica.de [95.114.102.7]) + by web.maufl.de (Postfix) with ESMTPSA id 0D19A1E1893 + for ; Fri, 10 Jul 2015 22:05:17 +0200 (CEST) +To: notmuch@notmuchmail.org +From: Felix Konstantin Maurer +Subject: Emacs: notmuch-mua-mail throws error if notmuch-fcc-dirs does not + exist +X-Enigmail-Draft-Status: N1110 +Message-ID: <55A025BD.2090105@maufl.de> +Date: Fri, 10 Jul 2015 22:06:21 +0200 +User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 + Thunderbird/38.0.1 +MIME-Version: 1.0 +Content-Type: text/plain; charset=utf-8 +Content-Transfer-Encoding: 7bit +X-Mailman-Approved-At: Fri, 10 Jul 2015 13:15:05 -0700 +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Fri, 10 Jul 2015 20:13:26 -0000 + +Hi, + +I had a problem where creating a reply from a message would not include +the quoted original body in the emacs notmuch client. I now found out +what the problem was. + +What would happen: +>From a search in notmuch, I would open a thread. +In the read I would hit "r" or "R" to reply. +A new buffer would open, containing all headers and the "--text .." line. +The headers included an FCC header to a non existing sent folder. +I would be asked whether I want to create that folder but would decline. +Then I would be in the message buffer but without a quoted body. + +What seemed to be the problem: +In notmuch-mua-mail the message-mail function is called, which asked me +about the folder. When I declined to create the folder, it returned an +error "Message not sent". +The rest of notmuch-mua-mail was not executed anymore, and also the rest +of notmuch-mua-reply. + +I fixed it by setting notmuch-fcc-dirs to nil. +This is good for me, but might bite somebody else at some point. + +I'm quite new to emacs and don't know much elisp. I hope my findings are +correct. +Maybe somebody with more experience can confirm this problem and propose +a good fix. + +Regards +Felix -- 2.26.2