Package: mime-support
Version: 3.39-1
Severity: wishlist

At the moment ~/.mailcap takes precedence over /etc/mailcap, so a user
can't specify a program to use for types that don't have a rule in
/etc/mailcap.

Specifically, I'd like to be able to specify fallbacks for text/* and
application/* (and just point them to my editor). If I do this at the
moment, then of course the setting overrides everything in
/etc/mailcap, which isn't what I want.

One way to do this would be as follows:

1. Add a "fallback" flag that can be added to a mailcap entry.

2. Act on the contents of ~/.mailcap twice, once before and once after
   /etc/mailcap; on the first pass, use only lines without "fallback",
   and on the second pass, only lines with "fallback".

Or one could simply have a ~/.mailcap-fallback with the same syntax as
at present that is read, if it exists, after /etc/mailcap.

I'm keen to help implement and document either of these or some other
method of achieving this result.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'experimental'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

mime-support depends on no packages.

Versions of packages mime-support recommends:
ii  file                          4.21-3     Determines file type using "magic"

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to