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 964A5431FBC for ; Sat, 5 Dec 2009 14:54:18 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org 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 n3pnQ20d5UCh for ; Sat, 5 Dec 2009 14:54:17 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by olra.theworths.org (Postfix) with ESMTP id E45EA431FAE for ; Sat, 5 Dec 2009 14:54:17 -0800 (PST) Received: from vps.nicira.com (66.7.219.28.static.dimenoc.com [66.7.219.28]) by mx.perfora.net (node=mxus2) with ESMTP (Nemesis) id 0Ljq5Z-1NoCTQ0ryj-00bf2A for notmuch@notmuchmail.org; Sat, 05 Dec 2009 17:54:17 -0500 Received: from hq.nicira.com ([209.172.104.10]:40834 helo=kea-nicira-lt) by vps.nicira.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NH3W2-0001S5-FC for notmuch@notmuchmail.org; Sat, 05 Dec 2009 17:54:15 -0500 Received: by kea-nicira-lt (sSMTP sendmail emulation); Sat, 05 Dec 2009 14:54:13 -0800 From: Keith Amidon To: notmuch@notmuchmail.org Date: Sat, 5 Dec 2009 14:53:58 -0800 Message-Id: <1260053640-10034-1-git-send-email-keith@nicira.com> X-Mailer: git-send-email 1.6.5.4 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.nicira.com X-AntiAbuse: Original Domain - notmuchmail.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nicira.com X-Source: X-Source-Args: X-Source-Dir: X-Mailman-Approved-At: Mon, 07 Dec 2009 09:47:22 -0800 Subject: [notmuch] Simple improvements to saving attachments X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 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, 05 Dec 2009 22:54:18 -0000 I found there were some attachments I couldn't save using the existing functionality. Since I was already touching the code I implemented a rough cut at the "save all attachments" function Carl requested as well. I don't think this is the best code in the world but it gets the job done for now and I expect it will get replaced with something much better when some more thought has been put into the split in mime-handling functionality between the frontend and the backend. --- Keith