Re: opening attachment

2010-10-12 Thread Michal Sojka
On Sun, 10 Oct 2010, Daniel Goldin wrote:
 
 Setting my .mailcap doesn't seem to have any effect on how notmuch/emacs
 handles attachments. Hitting return saves no matter what.

I use 'v' key to display attachments. This shows all attachments at
once with the programs configured in .mailcap.

-Michal
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: opening attachment

2010-10-10 Thread Daniel Goldin

Setting my .mailcap doesn't seem to have any effect on how notmuch/emacs
handles attachments. Hitting return saves no matter what.

d.

On Sat, 9 Oct 2010 15:48:41 +0200, Cédric Cabessa c...@ryick.net wrote:
 On Wednesday 06 October 2010 08:47:18 Michal Sojka wrote:
  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.
 
 Without lisp, you can customize your ~/.mailcap file (or /etc/mailcap)
 
 see: 
 http://www.gnus.org/manual/emacs-mime_30.html
 http://tools.ietf.org/html/rfc1524
 
 -- 
 Cédric
 ___
 notmuch mailing list
 notmuch@notmuchmail.org
 http://notmuchmail.org/mailman/listinfo/notmuch

-- 
Daniel Goldin
626.817.2462
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


Re: opening attachment

2010-10-06 Thread Michal Sojka
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
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch