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