opening attachment

2010-10-13 Thread Daniel Goldin

Ah, thank you. Works like a charm.

d.

On Tue, 12 Oct 2010 10:53:09 +0200, Michal Sojka  wrote:
> 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

-- 
Daniel Goldin, LMFT
626.817.2462
www.danielgoldinpractice.com


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


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


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  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 at notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch

-- 
Daniel Goldin
626.817.2462


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


opening attachment

2010-10-09 Thread Cédric Cabessa
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


opening attachment

2010-10-06 Thread Jameson Rollins
On Wed, 06 Oct 2010 08:47:18 +0200, Michal Sojka  wrote:
> 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.

It seems like the easiest thing would be to have notmuch just prompt the
user for what they would like to do with the attachment.  I think
something like firefox/iceweasel does where it prompts you if you want
to save the document, or open it with some program, where you can
specify which program to use.

jamie.
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: 



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


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


opening attachment

2010-10-02 Thread Daniel Goldin

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.

d.

-- 
Daniel Goldin
626.817.2462
www.danielgoldinpractice.com


opening attachment

2010-10-02 Thread Daniel Goldin

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.

d.

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