From: Klaus Zeitler <kzeitler+usenet@gsm-mailhost.de.lucent.com>
Subject: multiple mailcap entries
Date: 09 Apr 2003 15:10:00 +0200 [thread overview]
Message-ID: <q5gof3fddg7.fsf@lucent.com> (raw)
On my Solaris workstation I use qvpunix to read msword and excel files.
I've used the following entry in my .mailcap file to read msword files
automatically, when I press enter on a msword attachment:
application/msword; qvpunix -mn %s
This has been working fine. Now I tried to do the same for excel files
and added:
application/octet-stream; qvpunix -mn %s
But this doesn't work, instead gnus asks me where to save the attachment.
The difference between these to entries seems to be that the variable
mailcap-mime-data contains (amongst many others) only one entry for
application/msword , but 2 for application/octet-stream:
(("application"
("octet-stream"
(viewer . "qvpunix -mn %s")
(type . "application/octet-stream"))
("msword"
(viewer . "qvpunix -mn %s")
(type . "application/msword"))
...
("octet-stream"
(viewer . mailcap-save-binary-file)
(non-viewer . t)
(type . "application/octet-stream"))
...))
and function mailcap-mime-info returns mailcap-save-binary-file as viewer
for "application/octet-stream", i.e. the 2nd entry.
I thought that entries in ~/.mailcap would have highest preference, but it
seems to be the opposite. It seems that I have to modify the variable
mailcap-mime-data instead or do I miss something?
Klaus
--
------------------------------------------
| Klaus Zeitler Lucent Technologies |
------------------------------------------
---
Let's see, now that I am done.......... :w :q :wq :wq! ^d X exit
X Q :quitbye CtrlAltDel ~~q :~q logout save/quit :!QUIT ^[zz
^[ZZ ZZZZ ^H ^@ ^L ^[c ^# ^E ^X ^I ^T ? help helpquit ^D ^d
^C ^c ^x^c helpexit ?Quit ?q ^Kx /QY Oooops.......... Discs synced;
halted
next reply other threads:[~2003-04-09 13:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-09 13:10 Klaus Zeitler [this message]
2003-04-09 14:52 ` Jesper Harder
[not found] ` <84k7e16o11.fsf@lucy.is.informatik.uni-duisburg.de>
[not found] ` <m3d6jseslm.fsf@defun.localdomain>
[not found] ` <84znmw7ov2.fsf@lucy.is.informatik.uni-duisburg.de>
2003-04-11 20:58 ` Jesper Harder
[not found] ` <q5gsmspnnmr.fsf@lucent.com>
[not found] ` <m3fzooesro.fsf@defun.localdomain>
[not found] ` <i7he9396e8.fsf@hilbert.math.albany.edu>
[not found] ` <m3adevu7il.fsf@defun.localdomain>
[not found] ` <84brzbvj0v.fsf@lucy.is.informatik.uni-duisburg.de>
2003-04-12 15:32 ` Adam Sjøgren
2003-04-12 16:21 ` Vasily Korytov
2003-04-12 16:27 ` Vasily Korytov
2003-04-14 6:38 ` Arne Jørgensen
[not found] ` <85istme3yw.fsf.Hubert.Canon@alussinan.org>
[not found] ` <m3r88a8i6c.fsf@defun.localdomain>
2003-04-11 10:53 ` Gnus and indentation Hubert Canon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=q5gof3fddg7.fsf@lucent.com \
--to=kzeitler+usenet@gsm-mailhost.de.lucent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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 NNTP newsgroup(s).