* opening attachment
@ 2010-10-02 14:57 Daniel Goldin
2010-10-06 6:47 ` Michal Sojka
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Goldin @ 2010-10-02 14:57 UTC (permalink / raw)
To: notmuch
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: opening attachment
2010-10-02 14:57 opening attachment Daniel Goldin
@ 2010-10-06 6:47 ` Michal Sojka
2010-10-06 14:09 ` Jameson Rollins
2010-10-09 13:48 ` Cédric Cabessa
0 siblings, 2 replies; 7+ messages in thread
From: Michal Sojka @ 2010-10-06 6:47 UTC (permalink / raw)
To: Daniel Goldin, notmuch
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: opening attachment
2010-10-06 6:47 ` Michal Sojka
@ 2010-10-06 14:09 ` Jameson Rollins
2010-10-09 13:48 ` Cédric Cabessa
1 sibling, 0 replies; 7+ messages in thread
From: Jameson Rollins @ 2010-10-06 14:09 UTC (permalink / raw)
To: Michal Sojka, Daniel Goldin, notmuch
[-- Attachment #1: Type: text/plain, Size: 847 bytes --]
On Wed, 06 Oct 2010 08:47:18 +0200, Michal Sojka <sojkam1@fel.cvut.cz> 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.
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: opening attachment
2010-10-06 6:47 ` Michal Sojka
2010-10-06 14:09 ` Jameson Rollins
@ 2010-10-09 13:48 ` Cédric Cabessa
2010-10-10 17:02 ` Daniel Goldin
1 sibling, 1 reply; 7+ messages in thread
From: Cédric Cabessa @ 2010-10-09 13:48 UTC (permalink / raw)
To: notmuch
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: opening attachment
2010-10-09 13:48 ` Cédric Cabessa
@ 2010-10-10 17:02 ` Daniel Goldin
2010-10-12 8:53 ` Michal Sojka
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Goldin @ 2010-10-10 17:02 UTC (permalink / raw)
To: Cédric Cabessa, notmuch
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 <ced@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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: opening attachment
2010-10-10 17:02 ` Daniel Goldin
@ 2010-10-12 8:53 ` Michal Sojka
2010-10-13 17:41 ` Daniel Goldin
0 siblings, 1 reply; 7+ messages in thread
From: Michal Sojka @ 2010-10-12 8:53 UTC (permalink / raw)
To: Daniel Goldin, Cédric Cabessa, notmuch
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: opening attachment
2010-10-12 8:53 ` Michal Sojka
@ 2010-10-13 17:41 ` Daniel Goldin
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Goldin @ 2010-10-13 17:41 UTC (permalink / raw)
To: Michal Sojka, Cédric Cabessa, notmuch
Ah, thank you. Works like a charm.
d.
On Tue, 12 Oct 2010 10:53:09 +0200, Michal Sojka <sojkam1@fel.cvut.cz> 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-10-13 17:41 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-02 14:57 opening attachment Daniel Goldin
2010-10-06 6:47 ` Michal Sojka
2010-10-06 14:09 ` Jameson Rollins
2010-10-09 13:48 ` Cédric Cabessa
2010-10-10 17:02 ` Daniel Goldin
2010-10-12 8:53 ` Michal Sojka
2010-10-13 17:41 ` Daniel Goldin
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).