Re: opening attachment
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 6 Oct 2010 06:47:18 +0000 (08:47 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:37:15 +0000 (09:37 -0800)
22/eb86977083dd880b44ffb32a80a2f343585ae6 [new file with mode: 0644]

diff --git a/22/eb86977083dd880b44ffb32a80a2f343585ae6 b/22/eb86977083dd880b44ffb32a80a2f343585ae6
new file mode 100644 (file)
index 0000000..1ef8580
--- /dev/null
@@ -0,0 +1,81 @@
+Return-Path: <sojkam1@fel.cvut.cz>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id F2AA940BDA7\r
+       for <notmuch@notmuchmail.org>; Tue,  5 Oct 2010 23:47:30 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -1.9\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
+       tests=[BAYES_00=-1.9] autolearn=ham\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id MnwzAJ9einDn for <notmuch@notmuchmail.org>;\r
+       Tue,  5 Oct 2010 23:47:20 -0700 (PDT)\r
+Received: from max.feld.cvut.cz (max.feld.cvut.cz [147.32.192.36])\r
+       by olra.theworths.org (Postfix) with ESMTP id A257240BFD3\r
+       for <notmuch@notmuchmail.org>; Tue,  5 Oct 2010 23:47:20 -0700 (PDT)\r
+Received: from localhost (unknown [192.168.200.4])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id B53E319F32FD;\r
+       Wed,  6 Oct 2010 08:47:19 +0200 (CEST)\r
+X-Virus-Scanned: IMAP AMAVIS\r
+Received: from max.feld.cvut.cz ([192.168.200.1])\r
+       by localhost (styx.feld.cvut.cz [192.168.200.4]) (amavisd-new,\r
+       port 10044)\r
+       with ESMTP id IMUiwWVH59H7; Wed,  6 Oct 2010 08:47:18 +0200 (CEST)\r
+Received: from imap.feld.cvut.cz (imap.feld.cvut.cz [147.32.192.34])\r
+       by max.feld.cvut.cz (Postfix) with ESMTP id 76D0519F32F2;\r
+       Wed,  6 Oct 2010 08:47:18 +0200 (CEST)\r
+Received: from steelpick.2x.cz (stud2-254.felk.cvut.cz [147.32.85.254])\r
+       (Authenticated sender: sojkam1)\r
+       by imap.feld.cvut.cz (Postfix) with ESMTPSA id 79B4DFA003;\r
+       Wed,  6 Oct 2010 08:47:18 +0200 (CEST)\r
+Received: from wsh by steelpick.2x.cz with local (Exim 4.72)\r
+       (envelope-from <sojkam1@fel.cvut.cz>)\r
+       id 1P3NmY-0002Xl-2h; Wed, 06 Oct 2010 08:47:18 +0200\r
+From: Michal Sojka <sojkam1@fel.cvut.cz>\r
+To: Daniel Goldin <danielgoldin@gmail.com>, notmuch@notmuchmail.org\r
+Subject: Re: opening attachment\r
+In-Reply-To: <8762xk4p75.fsf@gmail.com>\r
+References: <8762xk4p75.fsf@gmail.com>\r
+User-Agent: Notmuch/0.3.1-83-g6fec75f (http://notmuchmail.org) Emacs/23.2.1\r
+       (x86_64-pc-linux-gnu)\r
+Date: Wed, 06 Oct 2010 08:47:18 +0200\r
+Message-ID: <87vd5fn7gp.fsf@steelpick.2x.cz>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain; charset=us-ascii\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 06 Oct 2010 06:47:31 -0000\r
+\r
+On Sat, 02 Oct 2010, Daniel Goldin wrote:\r
+> Resourceful non-programmer looking to open up attachment in external\r
+> application from emacs. The default behavior is to ask me where to save\r
+> the file. Ideally, I'd like to open a .doc, say, in ooffice simply by\r
+> pressing return. Thanks.\r
+\r
+Hi,\r
+\r
+I do not know the details of attachment handling, but it seems to me\r
+that what happens with the attachment depends on the sender. If the .doc\r
+document is attached as application/octet-stream, then it is saved to\r
+disk. If it is attached as application/msword, then it is open in\r
+openoffice (in my case).\r
+\r
+It would be nice if a user could override this, but I do not know how to\r
+do it. Perhaps some elisp guru can tell us.\r
+\r
+Bye\r
+-Michal\r