Report forwarded to debian-bugs-dist@lists.debian.org, Rob Browning <rlb@cs.utexas.edu>:
Bug#67828; Package emacs20.
debian-bugs-dist@lists.debian.orgRob Browning
Subject: Bug#67828: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
Reply-To: Bill Wohler , 67828@bugs.debian.org
Resent-From: Bill Wohler
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Rob Browning
Resent-Date: Thu, 27 Jul 2000 22:05:16 GMT
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 67828
X-Debian-PR-Package: emacs20
X-Debian-PR-Keywords:
X-Loop: owner@bugs.debian.org
Received: via spool by bugs@bugs.debian.org id=B.96473440629879
(code B ref -1); Thu, 27 Jul 2000 22:05:16 GMT
Message-Id: <200007272146.OAA30122@gbr.newt.com>
X-Authentication-Warning: gbr.newt.com: Host gbr.newt.com [209.233.16.176] claimed to be gbr
To: submit@bugs.debian.org
Date: Thu, 27 Jul 2000 14:46:43 -0700
From: Bill Wohler
Delivered-To: submit@bugs.debian.org
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
Acknowledgement sent to Bill Wohler <wohler@newt.com>:
New Bug report received and forwarded. Copy sent to Rob Browning <rlb@cs.utexas.edu>.
-t
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Bill Wohler
Subject: Bug#67828: Acknowledgement (emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap)
Message-ID:
In-Reply-To: <200007272146.OAA30122@gbr.newt.com>
References: <200007272146.OAA30122@gbr.newt.com>
X-Debian-PR-Message: ack 67828
Thank you for the problem report you have sent regarding Debian.
This is an automatically generated reply, to let you know your message has
been received. It is being forwarded to the developers mailing list for
their attention; they will reply in due course.
Your message has been sent to the package maintainer(s):
Rob Browning
If you wish to submit further information on your problem, please send
it to 67828@bugs.debian.org (and *not* to
bugs@bugs.debian.org).
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Darren Benham
(administrator, Debian Bugs database)
Received: (at submit) by bugs.debian.org; 27 Jul 2000 21:46:46 +0000
From wohler@newt.com Thu Jul 27 16:46:46 2000
Return-path:
Received: from adsl-209-233-16-176.dsl.snfc21.pacbell.net (gbr.newt.com) [209.233.16.176]
by master.debian.org with esmtp (Exim 3.12 2 (Debian))
id 13HvUL-0007ls-00; Thu, 27 Jul 2000 16:46:45 -0500
Received: from gbr (gbr.newt.com [209.233.16.176])
by gbr.newt.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id OAA30122
for ; Thu, 27 Jul 2000 14:46:43 -0700
Message-Id: <200007272146.OAA30122@gbr.newt.com>
X-Authentication-Warning: gbr.newt.com: Host gbr.newt.com [209.233.16.176] claimed to be gbr
Subject: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
To: submit@bugs.debian.org
Date: Thu, 27 Jul 2000 14:46:43 -0700
From: Bill Wohler
Delivered-To: submit@bugs.debian.org
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
Bug reassigned from package `emacs20' to `emacs21'.
Request was from Jérôme Marant <jerome@debian.org>
to control@bugs.debian.org.
Received: (at control) by bugs.debian.org; 6 Jan 2007 11:38:26 +0000
From jerome@marant.org Sat Jan 06 03:38:26 2007
Return-path:
Received: from smtp6-g19.free.fr ([212.27.42.36])
by spohr.debian.org with esmtp (Exim 4.50)
id 1H39sY-00033g-Ge
for control@bugs.debian.org; Sat, 06 Jan 2007 03:38:26 -0800
Received: from localhost.localdomain (mol92-4-82-227-97-206.fbx.proxad.net [82.227.97.206])
by smtp6-g19.free.fr (Postfix) with ESMTP id 1B82E43677
for ; Sat, 6 Jan 2007 12:38:24 +0100 (CET)
Received: by localhost.localdomain (Postfix, from userid 1000)
id D310F9812A0; Sat, 6 Jan 2007 12:38:18 +0100 (CET)
From: =?UTF-8?Q?J=C3=A9r=C3=B4me?= Marant
To: control@bugs.debian.org
Subject: reassign 9741 to emacs21, reassign 21928 to emacs21, reassign 27399 to emacs21 ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
Date: Sat, 6 Jan 2007 12:38:18 +0100
X-BTS-Version: 2.9.27
Message-Id: <20070106113818.D310F9812A0@localhost.localdomain>
Delivered-To: control@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,VALID_BTS_CONTROL
autolearn=no version=2.60-bugs.debian.org_2005_01_02
# Automatically generated email from bts, devscripts version 2.9.27
reassign 9741 emacs21
reassign 21928 emacs21
reassign 27399 emacs21
reassign 28335 emacs21
reassign 28708 emacs21
reassign 39776 emacs21
reassign 40474 emacs21
reassign 42433 emacs21
reassign 48864 emacs21
reassign 48923 emacs21
reassign 65075 emacs21
reassign 65479 emacs21
reassign 65480 emacs21
reassign 67828 emacs21
reassign 68803 emacs21
reassign 100855 emacs21
reassign 102290 emacs21
reassign 102694 emacs21
reassign 103004 emacs21
reassign 103053 emacs21
reassign 107259 emacs21
reassign 109145 emacs21
reassign 111674 emacs21
reassign 115440 emacs21
reassign 117772 emacs21
reassign 125960 emacs21
reassign 130749 emacs21
reassign 149196 emacs21
reassign 157227 emacs21
reassign 198567 emacs21
reassign 201973 emacs21
reassign 298925 emacs21
Information forwarded
to debian-bugs-dist@lists.debian.org, Rob Browning <rlb@defaultvalue.org>:
Bug#67828; Package emacs21.
debian-bugs-dist@lists.debian.orgRob Browning
X-Loop: owner@bugs.debian.org
Subject: Bug#67828: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
Reply-To: Sven Joachim , 67828@bugs.debian.org
Resent-From: Sven Joachim
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Rob Browning
Resent-Date: Tue, 06 Jan 2009 09:48:03 +0000
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: followup 67828
X-Debian-PR-Package: emacs21
X-Debian-PR-Keywords:
X-Debian-PR-Source: emacs21
Received: via spool by 67828-submit@bugs.debian.org id=B67828.123123508119356
(code B ref 67828); Tue, 06 Jan 2009 09:48:03 +0000
Received: (at 67828) by bugs.debian.org; 6 Jan 2009 09:44:41 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
(2007-08-08) on rietz.debian.org
X-Spam-Level:
X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 138; neutral, 52; spammy,
2. spammytokens:0.995-1--shtml, 0.984-+--lowest hammytokens:0.000-+--Severity,
0.000-+--H*UA:Emacs, 0.000-+--H*UA:Gnus, 0.000-+--H*u:Gnus,
0.000-+--H*u:linux
X-Spam-Status: No, score=-6.9 required=4.0 tests=AWL,BAYES_00,FOURLA,
HAS_BUG_NUMBER,SPF_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Received: from mail.gmx.net ([213.165.64.20])
by rietz.debian.org with smtp (Exim 4.63)
(envelope-from )
id 1LK8UK-00051b-Sh
for 67828@bugs.debian.org; Tue, 06 Jan 2009 09:44:41 +0000
Received: (qmail invoked by alias); 06 Jan 2009 09:44:34 -0000
Received: from p54866E5B.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.110.91]
by mail.gmx.net (mp031) with SMTP; 06 Jan 2009 10:44:34 +0100
X-Authenticated: #28250155
X-Provags-ID: V01U2FsdGVkX196cEMPSel65KogtBTeEOX5xRADwC5fZTdXClavVS
TPCClTJHRcz2x0
Received: by turtle.gmx.de (Postfix, from userid 1000)
id E17CF354B0; Tue, 6 Jan 2009 10:44:29 +0100 (CET)
From: Sven Joachim
To: Bill Wohler
Cc: 67828@bugs.debian.org
References: <200007272146.OAA30122@gbr.newt.com>
Date: Tue, 06 Jan 2009 10:44:29 +0100
In-Reply-To: <200007272146.OAA30122@gbr.newt.com> (Bill Wohler's message of
"Thu, 27 Jul 2000 14:46:43 -0700")
Message-ID: <87fxjwdb0i.fsf@turtle.gmx.de>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.57
Hi Bill,
I'm going through the list of old Emacs bugs in Debian.
On 2000-07-27 23:46 +0200, Bill Wohler wrote:
> 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").
This seems to be solved in emacs21 and later. I get these results:
(mailcap-mime-info "text/html") => "/usr/bin/sensible-browser '%s'"
(mailcap-mime-info "application/pdf") => "kpdf '%s'"
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?
Cheers,
Sven
Acknowledgement sent
to Sven Joachim <svenjoac@gmx.de>:
Extra info received and forwarded to list. Copy sent to Rob Browning <rlb@defaultvalue.org>.
-t
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
Content-Type: text/plain; charset=utf-8
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Sven Joachim
Subject: Bug#67828: Info received (Bug#67828: emacs20: mailcap-parse-mailcaps
reverses priorities in /etc/mailcap)
Message-ID:
References: <87fxjwdb0i.fsf@turtle.gmx.de>
X-Debian-PR-Message: ack-info 67828
X-Debian-PR-Package: emacs21
X-Debian-PR-Source: emacs21
Reply-To: 67828@bugs.debian.org
Date: Tue, 06 Jan 2009 09:48:04 +0000
Thank you for the additional information you have supplied regarding
this Bug report.
This is an automatically generated reply to let you know your message
has been received.
Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.
Your message has been sent to the package maintainer(s):
Rob Browning
If you wish to submit further information on this problem, please
send it to 67828@bugs.debian.org, as before.
Please do not send mail to owner@bugs.debian.org unless you wish
to report a problem with the Bug-tracking system.
--=20
67828: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D67828
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Received: (at 67828) by bugs.debian.org; 6 Jan 2009 09:44:41 +0000
From svenjoac@gmx.de Tue Jan 06 09:44:41 2009
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
(2007-08-08) on rietz.debian.org
X-Spam-Level:
X-Spam-Bayes: score:0.0000 Tokens: new, 34; hammy, 138; neutral, 52; spammy,
2. spammytokens:0.995-1--shtml, 0.984-+--lowest hammytokens:0.000-+--Severity,
0.000-+--H*UA:Emacs, 0.000-+--H*UA:Gnus, 0.000-+--H*u:Gnus,
0.000-+--H*u:linux
X-Spam-Status: No, score=-6.9 required=4.0 tests=AWL,BAYES_00,FOURLA,
HAS_BUG_NUMBER,SPF_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Return-path:
Received: from mail.gmx.net ([213.165.64.20])
by rietz.debian.org with smtp (Exim 4.63)
(envelope-from )
id 1LK8UK-00051b-Sh
for 67828@bugs.debian.org; Tue, 06 Jan 2009 09:44:41 +0000
Received: (qmail invoked by alias); 06 Jan 2009 09:44:34 -0000
Received: from p54866E5B.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.110.91]
by mail.gmx.net (mp031) with SMTP; 06 Jan 2009 10:44:34 +0100
X-Authenticated: #28250155
X-Provags-ID: V01U2FsdGVkX196cEMPSel65KogtBTeEOX5xRADwC5fZTdXClavVS
TPCClTJHRcz2x0
Received: by turtle.gmx.de (Postfix, from userid 1000)
id E17CF354B0; Tue, 6 Jan 2009 10:44:29 +0100 (CET)
From: Sven Joachim
To: Bill Wohler
Cc: 67828@bugs.debian.org
Subject: Re: Bug#67828: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
References: <200007272146.OAA30122@gbr.newt.com>
Date: Tue, 06 Jan 2009 10:44:29 +0100
In-Reply-To: <200007272146.OAA30122@gbr.newt.com> (Bill Wohler's message of
"Thu, 27 Jul 2000 14:46:43 -0700")
Message-ID: <87fxjwdb0i.fsf@turtle.gmx.de>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.57
Hi Bill,
I'm going through the list of old Emacs bugs in Debian.
On 2000-07-27 23:46 +0200, Bill Wohler wrote:
> 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").
This seems to be solved in emacs21 and later. I get these results:
(mailcap-mime-info "text/html") => "/usr/bin/sensible-browser '%s'"
(mailcap-mime-info "application/pdf") => "kpdf '%s'"
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?
Cheers,
Sven
Information forwarded
to debian-bugs-dist@lists.debian.org, Rob Browning <rlb@defaultvalue.org>:
Bug#67828; Package emacs21.
debian-bugs-dist@lists.debian.orgRob Browning
X-Loop: owner@bugs.debian.org
Subject: Bug#67828: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
Reply-To: Bill Wohler , 67828@bugs.debian.org
Resent-From: Bill Wohler
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Rob Browning
Resent-Date: Tue, 06 Jan 2009 15:36:02 +0000
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: followup 67828
X-Debian-PR-Package: emacs21
X-Debian-PR-Keywords:
X-Debian-PR-Source: emacs21
Received: via spool by 67828-submit@bugs.debian.org id=B67828.123125599020985
(code B ref 67828); Tue, 06 Jan 2009 15:36:02 +0000
Received: (at 67828) by bugs.debian.org; 6 Jan 2009 15:33:10 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
(2007-08-08) on rietz.debian.org
X-Spam-Level:
X-Spam-Bayes: score:0.0000 Tokens: new, 60; hammy, 80; neutral, 34; spammy, 3.
spammytokens:0.995-1--H*M:1778, 0.993-1--H*MI:1778, 0.852-+--UD:com
hammytokens:0.000-+--H*UA:Emacs, 0.000-+--GnuPG, 0.000-+--gnupg,
0.000-+--Hcc:D*org, 0.000-+--Hcc:D*debian.org
X-Spam-Status: No, score=-6.9 required=4.0 tests=BAYES_00,FOURLA,
HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Received: from tassie.newt.com ([66.135.50.201])
by rietz.debian.org with esmtp (Exim 4.63)
(envelope-from )
id 1LKDvZ-0005S6-G4
for 67828@bugs.debian.org; Tue, 06 Jan 2009 15:33:10 +0000
Received: from olgas.localdomain (adsl-76-216-20-106.dsl.pltn13.sbcglobal.net [76.216.20.106])
by tassie.newt.com (Postfix) with ESMTP id 744B41A427B;
Tue, 6 Jan 2009 07:33:08 -0800 (PST)
Received: by olgas.localdomain (Postfix, from userid 1000)
id 61BB51FE7F; Tue, 6 Jan 2009 07:33:07 -0800 (PST)
Received: from olgas.newt.com (localhost [127.0.0.1])
by olgas.localdomain (Postfix) with ESMTP id 59F9D1FE59;
Tue, 6 Jan 2009 07:33:07 -0800 (PST)
To: Sven Joachim
cc: 67828@bugs.debian.org
In-reply-to: <87fxjwdb0i.fsf@turtle.gmx.de>
References: <200007272146.OAA30122@gbr.newt.com> <87fxjwdb0i.fsf@turtle.gmx.de>
Comments: In-reply-to Sven Joachim
message dated "Tue, 06 Jan 2009 10:44:29 +0100."
Organization: Newt Software
X-Mailer: MH-E 8.1; nmh 1.2; GNU Emacs 22.2.1
X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png
Date: Tue, 06 Jan 2009 07:33:07 -0800
Message-ID: <1778.1231255987@olgas.newt.com>
From: Bill Wohler
Sven Joachim 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!
--
Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Acknowledgement sent
to Bill Wohler <wohler@newt.com>:
Extra info received and forwarded to list. Copy sent to Rob Browning <rlb@defaultvalue.org>.
-t
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
Content-Type: text/plain; charset=utf-8
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Bill Wohler
Subject: Bug#67828: Info received (Bug#67828: emacs20: mailcap-parse-mailcaps
reverses priorities in /etc/mailcap)
Message-ID:
References: <1778.1231255987@olgas.newt.com>
X-Debian-PR-Message: ack-info 67828
X-Debian-PR-Package: emacs21
X-Debian-PR-Source: emacs21
Reply-To: 67828@bugs.debian.org
Date: Tue, 06 Jan 2009 15:36:03 +0000
Thank you for the additional information you have supplied regarding
this Bug report.
This is an automatically generated reply to let you know your message
has been received.
Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.
Your message has been sent to the package maintainer(s):
Rob Browning
If you wish to submit further information on this problem, please
send it to 67828@bugs.debian.org, as before.
Please do not send mail to owner@bugs.debian.org unless you wish
to report a problem with the Bug-tracking system.
--=20
67828: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D67828
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
Received: (at 67828) by bugs.debian.org; 6 Jan 2009 15:33:10 +0000
From wohler@newt.com Tue Jan 06 15:33:10 2009
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
(2007-08-08) on rietz.debian.org
X-Spam-Level:
X-Spam-Bayes: score:0.0000 Tokens: new, 60; hammy, 80; neutral, 34; spammy, 3.
spammytokens:0.995-1--H*M:1778, 0.993-1--H*MI:1778, 0.852-+--UD:com
hammytokens:0.000-+--H*UA:Emacs, 0.000-+--GnuPG, 0.000-+--gnupg,
0.000-+--Hcc:D*org, 0.000-+--Hcc:D*debian.org
X-Spam-Status: No, score=-6.9 required=4.0 tests=BAYES_00,FOURLA,
HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Return-path:
Received: from tassie.newt.com ([66.135.50.201])
by rietz.debian.org with esmtp (Exim 4.63)
(envelope-from )
id 1LKDvZ-0005S6-G4
for 67828@bugs.debian.org; Tue, 06 Jan 2009 15:33:10 +0000
Received: from olgas.localdomain (adsl-76-216-20-106.dsl.pltn13.sbcglobal.net [76.216.20.106])
by tassie.newt.com (Postfix) with ESMTP id 744B41A427B;
Tue, 6 Jan 2009 07:33:08 -0800 (PST)
Received: by olgas.localdomain (Postfix, from userid 1000)
id 61BB51FE7F; Tue, 6 Jan 2009 07:33:07 -0800 (PST)
Received: from olgas.newt.com (localhost [127.0.0.1])
by olgas.localdomain (Postfix) with ESMTP id 59F9D1FE59;
Tue, 6 Jan 2009 07:33:07 -0800 (PST)
To: Sven Joachim
cc: 67828@bugs.debian.org
Subject: Re: Bug#67828: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
In-reply-to: <87fxjwdb0i.fsf@turtle.gmx.de>
References: <200007272146.OAA30122@gbr.newt.com> <87fxjwdb0i.fsf@turtle.gmx.de>
Comments: In-reply-to Sven Joachim
message dated "Tue, 06 Jan 2009 10:44:29 +0100."
Organization: Newt Software
X-Mailer: MH-E 8.1; nmh 1.2; GNU Emacs 22.2.1
X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png
Date: Tue, 06 Jan 2009 07:33:07 -0800
Message-ID: <1778.1231255987@olgas.newt.com>
From: Bill Wohler
Sven Joachim 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!
--
Bill Wohler http://www.newt.com/wohler/ GnuPG ID:610BD9AD
Reply sent
to Sven Joachim <svenjoac@gmx.de>:
You have taken responsibility.
-t
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Sven Joachim
Subject: Bug#67828: marked as done (emacs20: mailcap-parse-mailcaps
reverses priorities in /etc/mailcap)
Message-ID:
References: <87tz8cwh6r.fsf@turtle.gmx.de>
<200007272146.OAA30122@gbr.newt.com>
X-Debian-PR-Message: closed 67828
X-Debian-PR-Package: emacs21
X-Debian-PR-Source: emacs21
Date: Tue, 06 Jan 2009 16:09:07 +0000
Content-Type: multipart/mixed; boundary="----------=_1231258147-18436-0"
This is a multi-part message in MIME format...
------------=_1231258147-18436-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8
Your message dated Tue, 06 Jan 2009 17:08:28 +0100
with message-id <87tz8cwh6r.fsf@turtle.gmx.de>
and subject line Re: Bug#67828: emacs20: mailcap-parse-mailcaps reverses pr=
iorities in /etc/mailcap
has caused the Debian Bug report #67828,
regarding emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailc=
ap
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 owner@bugs.debian.org
immediately.)
--=20
67828: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D67828
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1231258147-18436-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 27 Jul 2000 21:46:46 +0000
Return-path:
Received: from adsl-209-233-16-176.dsl.snfc21.pacbell.net (gbr.newt.com) [209.233.16.176]
by master.debian.org with esmtp (Exim 3.12 2 (Debian))
id 13HvUL-0007ls-00; Thu, 27 Jul 2000 16:46:45 -0500
Received: from gbr (gbr.newt.com [209.233.16.176])
by gbr.newt.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id OAA30122
for ; Thu, 27 Jul 2000 14:46:43 -0700
Message-Id: <200007272146.OAA30122@gbr.newt.com>
X-Authentication-Warning: gbr.newt.com: Host gbr.newt.com [209.233.16.176] claimed to be gbr
Subject: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
To: submit@bugs.debian.org
Date: Thu, 27 Jul 2000 14:46:43 -0700
From: Bill Wohler
Delivered-To: submit@bugs.debian.org
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
------------=_1231258147-18436-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 67828-done) by bugs.debian.org; 6 Jan 2009 16:08:38 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
(2007-08-08) on rietz.debian.org
X-Spam-Level:
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 114; neutral, 33; spammy,
0. spammytokens: hammytokens:0.000-+--H*UA:Emacs, 0.000-+--H*UA:Gnus,
0.000-+--H*u:Gnus, 0.000-+--H*u:linux, 0.000-+--H*UA:linux
X-Spam-Status: No, score=-6.9 required=4.0 tests=AWL,BAYES_00,FOURLA,
HAS_BUG_NUMBER,SPF_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Return-path:
Received: from mail.gmx.net ([213.165.64.20])
by rietz.debian.org with smtp (Exim 4.63)
(envelope-from )
id 1LKETt-0004ed-IY
for 67828-done@bugs.debian.org; Tue, 06 Jan 2009 16:08:37 +0000
Received: (qmail invoked by alias); 06 Jan 2009 16:08:30 -0000
Received: from p548643A3.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.67.163]
by mail.gmx.net (mp006) with SMTP; 06 Jan 2009 17:08:30 +0100
X-Authenticated: #28250155
X-Provags-ID: V01U2FsdGVkX1/bbtIWdZjbFvsE3uuHBC5C9KUs8sWkvsZ4d6JzNm
Mmy4zjsA+3y7Yp
Received: by turtle.gmx.de (Postfix, from userid 1000)
id 654EC354B0; Tue, 6 Jan 2009 17:08:28 +0100 (CET)
From: Sven Joachim
To: Bill Wohler
Cc: 67828-done@bugs.debian.org
Subject: Re: Bug#67828: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
References: <200007272146.OAA30122@gbr.newt.com>
<87fxjwdb0i.fsf@turtle.gmx.de> <1778.1231255987@olgas.newt.com>
Date: Tue, 06 Jan 2009 17:08:28 +0100
In-Reply-To: <1778.1231255987@olgas.newt.com> (Bill Wohler's message of "Tue,
06 Jan 2009 07:33:07 -0800")
Message-ID: <87tz8cwh6r.fsf@turtle.gmx.de>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.67
On 2009-01-06 16:33 +0100, Bill Wohler wrote:
> Sven Joachim 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
------------=_1231258147-18436-0--
Notification sent
to Bill Wohler <wohler@newt.com>:
Bug acknowledged by developer.
-t
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Bill Wohler
Subject: Bug#67828 closed by Sven Joachim (Re:
Bug#67828: emacs20: mailcap-parse-mailcaps reverses priorities in
/etc/mailcap)
Message-ID:
References: <87tz8cwh6r.fsf@turtle.gmx.de>
<200007272146.OAA30122@gbr.newt.com>
X-Debian-PR-Message: they-closed 67828
X-Debian-PR-Package: emacs21
X-Debian-PR-Source: emacs21
Reply-To: 67828@bugs.debian.org
Date: Tue, 06 Jan 2009 16:09:07 +0000
Content-Type: multipart/mixed; boundary="----------=_1231258147-18436-1"
This is a multi-part message in MIME format...
------------=_1231258147-18436-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
This is an automatic notification regarding your Bug report
which was filed against the emacs21 package:
#67828: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
It has been closed by Sven Joachim .
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Sven Joachim by
replying to this email.
--=20
67828: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D67828
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1231258147-18436-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 67828-done) by bugs.debian.org; 6 Jan 2009 16:08:38 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
(2007-08-08) on rietz.debian.org
X-Spam-Level:
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 114; neutral, 33; spammy,
0. spammytokens: hammytokens:0.000-+--H*UA:Emacs, 0.000-+--H*UA:Gnus,
0.000-+--H*u:Gnus, 0.000-+--H*u:linux, 0.000-+--H*UA:linux
X-Spam-Status: No, score=-6.9 required=4.0 tests=AWL,BAYES_00,FOURLA,
HAS_BUG_NUMBER,SPF_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Return-path:
Received: from mail.gmx.net ([213.165.64.20])
by rietz.debian.org with smtp (Exim 4.63)
(envelope-from )
id 1LKETt-0004ed-IY
for 67828-done@bugs.debian.org; Tue, 06 Jan 2009 16:08:37 +0000
Received: (qmail invoked by alias); 06 Jan 2009 16:08:30 -0000
Received: from p548643A3.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.67.163]
by mail.gmx.net (mp006) with SMTP; 06 Jan 2009 17:08:30 +0100
X-Authenticated: #28250155
X-Provags-ID: V01U2FsdGVkX1/bbtIWdZjbFvsE3uuHBC5C9KUs8sWkvsZ4d6JzNm
Mmy4zjsA+3y7Yp
Received: by turtle.gmx.de (Postfix, from userid 1000)
id 654EC354B0; Tue, 6 Jan 2009 17:08:28 +0100 (CET)
From: Sven Joachim
To: Bill Wohler
Cc: 67828-done@bugs.debian.org
Subject: Re: Bug#67828: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
References: <200007272146.OAA30122@gbr.newt.com>
<87fxjwdb0i.fsf@turtle.gmx.de> <1778.1231255987@olgas.newt.com>
Date: Tue, 06 Jan 2009 17:08:28 +0100
In-Reply-To: <1778.1231255987@olgas.newt.com> (Bill Wohler's message of "Tue,
06 Jan 2009 07:33:07 -0800")
Message-ID: <87tz8cwh6r.fsf@turtle.gmx.de>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.67
On 2009-01-06 16:33 +0100, Bill Wohler wrote:
> Sven Joachim 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
------------=_1231258147-18436-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 27 Jul 2000 21:46:46 +0000
Return-path:
Received: from adsl-209-233-16-176.dsl.snfc21.pacbell.net (gbr.newt.com) [209.233.16.176]
by master.debian.org with esmtp (Exim 3.12 2 (Debian))
id 13HvUL-0007ls-00; Thu, 27 Jul 2000 16:46:45 -0500
Received: from gbr (gbr.newt.com [209.233.16.176])
by gbr.newt.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id OAA30122
for ; Thu, 27 Jul 2000 14:46:43 -0700
Message-Id: <200007272146.OAA30122@gbr.newt.com>
X-Authentication-Warning: gbr.newt.com: Host gbr.newt.com [209.233.16.176] claimed to be gbr
Subject: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
To: submit@bugs.debian.org
Date: Thu, 27 Jul 2000 14:46:43 -0700
From: Bill Wohler
Delivered-To: submit@bugs.debian.org
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
------------=_1231258147-18436-1--
Received: (at 67828-done) by bugs.debian.org; 6 Jan 2009 16:08:38 +0000
From svenjoac@gmx.de Tue Jan 06 16:08:37 2009
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
(2007-08-08) on rietz.debian.org
X-Spam-Level:
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 114; neutral, 33; spammy,
0. spammytokens: hammytokens:0.000-+--H*UA:Emacs, 0.000-+--H*UA:Gnus,
0.000-+--H*u:Gnus, 0.000-+--H*u:linux, 0.000-+--H*UA:linux
X-Spam-Status: No, score=-6.9 required=4.0 tests=AWL,BAYES_00,FOURLA,
HAS_BUG_NUMBER,SPF_PASS autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02
Return-path:
Received: from mail.gmx.net ([213.165.64.20])
by rietz.debian.org with smtp (Exim 4.63)
(envelope-from )
id 1LKETt-0004ed-IY
for 67828-done@bugs.debian.org; Tue, 06 Jan 2009 16:08:37 +0000
Received: (qmail invoked by alias); 06 Jan 2009 16:08:30 -0000
Received: from p548643A3.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.67.163]
by mail.gmx.net (mp006) with SMTP; 06 Jan 2009 17:08:30 +0100
X-Authenticated: #28250155
X-Provags-ID: V01U2FsdGVkX1/bbtIWdZjbFvsE3uuHBC5C9KUs8sWkvsZ4d6JzNm
Mmy4zjsA+3y7Yp
Received: by turtle.gmx.de (Postfix, from userid 1000)
id 654EC354B0; Tue, 6 Jan 2009 17:08:28 +0100 (CET)
From: Sven Joachim
To: Bill Wohler
Cc: 67828-done@bugs.debian.org
Subject: Re: Bug#67828: emacs20: mailcap-parse-mailcaps reverses priorities in /etc/mailcap
References: <200007272146.OAA30122@gbr.newt.com>
<87fxjwdb0i.fsf@turtle.gmx.de> <1778.1231255987@olgas.newt.com>
Date: Tue, 06 Jan 2009 17:08:28 +0100
In-Reply-To: <1778.1231255987@olgas.newt.com> (Bill Wohler's message of "Tue,
06 Jan 2009 07:33:07 -0800")
Message-ID: <87tz8cwh6r.fsf@turtle.gmx.de>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.67
On 2009-01-06 16:33 +0100, Bill Wohler wrote:
> Sven Joachim 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