Your message dated Tue, 06 Jan 2009 17:08:28 +0100
with message-id <[email protected]>
and subject line Re: Bug#67828: emacs20: mailcap-parse-mailcaps reverses
priorities in /etc/mailcap
has caused the Debian Bug report #67828,
regarding emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
67828: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=67828
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs20
Version: 20.7-2
Severity: normal
In /etc/mailcap, the highest priority entries come first, followed
by lower priority entries. The mailcap-parse-mailcaps parsing scheme
doesn't seem to check for existing entries before adding entries to
its internal cache (which should be updated if the mailcap files
change, by the way).
For example, my /etc/mailcap contains the following three entries
for text/html:
text/html; gnome-help-browser '%s';test=test "$DISPLAY" != ""
text/html; /usr/bin/lynx -force_html '%s'; needsterminal; description=HTML
Text; nametemplate=%s.html
text/html; /usr/bin/lynx -dump -force_html '%s'; copiousoutput;
description=HTML Text; nametemplate=%s.html
When I use `b' in gnus to display a text/html body part, the last,
lowest priority entry `lynx -dump -force_html %s' was used rather
than `gnome-help-browser %s' at the top of the file. However, you
don't have to run gnus to reproduce the problem; simply run
(mailcap-mime-info "text/html").
I worked around the problem by removing the two lynx entries from
/etc/mailcap.
-- System Information
Debian Release: 2.2
Kernel Version: Linux uluru 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i686 unknown
Versions of the packages emacs20 depends on:
ii emacsen-common 1.4.12 Common facilities for all emacsen.
ii libc6 2.1.3-10 GNU C Library: Shared libraries and Timezone
ii liblockfile1 1.01 Shared library with NFS-safe locking functio
ii libncurses5 5.0-6 Shared libraries for terminal handling
ii xlib6g 3.3.6-9 shared libraries required by X clients
--- End Message ---
--- Begin Message ---
On 2009-01-06 16:33 +0100, Bill Wohler wrote:
> Sven Joachim <[email protected]> wrote:
>
>> Both times this is the first entry in /etc/mailcap for the respective
>> MIME type, so I think we should close this bug. Do you agree?
>
> Agreed. Thanks, Sven!
>
> p.s. I have a TODO to go through all my Debian bugs and close any that
> seem to be OK now, but I've been swamped!
I get this one off your list for you. :-)
Cheers,
Sven
--- End Message ---