GNU bug report logs -
#22684
24.5; Gnus seems not to understand wildcard mime types in mailcap files.
Previous Next
Reported by: Ben Bacarisse <ben.usenet <at> bsb.me.uk>
Date: Mon, 15 Feb 2016 17:57:02 UTC
Severity: normal
Tags: notabug
Found in version 24.5
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22684 in the body.
You can then email your comments to 22684 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22684
; Package
emacs
.
(Mon, 15 Feb 2016 17:57:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ben Bacarisse <ben.usenet <at> bsb.me.uk>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 15 Feb 2016 17:57:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
With no ~/.mailcap file:
1. Start message mode
2. Eval (mailcap-parse-mailcaps)
3. Eval (mailcap-mime-info "video/quicktime")
4. Note what the view handler is (it's mplayer on mys system). This
most likely comes from comes from /etc/mailcap.
5. Create a ~/.mailcap file with a line
video/*; totem %s
6. Either force a re-parse with (mailcap-parse-mailcaps nil t) or
restart emacs -Q and do steps 1 and 2 again.
7. Eval (mailcap-mime-info "video/quicktime"). This will be unchanged
but I think the local setting should take precedence. Other programs
(run-mailcap, mutt, mhshow) certainly now use totem rather than
mplayer.
8. Change ~/.mailcap to have a non-wildcard type:
video/quicktime; totem %s
9. Repeat 6 and 7 and you see the user's mailcap choice of handler as
I'd expect.
In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.16.6)
of 2015-09-17 on lgw01-52, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11702000
System Description: Ubuntu 15.10
Configured using:
`configure --build x86_64-linux-gnu --prefix=/usr
--sharedstatedir=/var/lib --libexecdir=/usr/lib
--localstatedir=/var/lib --infodir=/usr/share/info
--mandir=/usr/share/man --with-pop=yes
--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
--build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
--libexecdir=/usr/lib --localstatedir=/var/lib
--infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
--with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2
'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''
Important settings:
value of $LC_MONETARY: en_GB.UTF-8
value of $LC_NUMERIC: en_GB.UTF-8
value of $LC_TIME: en_GB.UTF-8
value of $LANG: en_GB.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8-unix
Major mode: Article
Minor modes in effect:
delete-selection-mode: t
global-visible-mark-mode: t
visible-mark-mode: t
shell-dirtrack-mode: t
tooltip-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
==> /home/ben/Mail/outbo...ben/Mail/outbox/3510
No more unseen articles
No more unread articles
nnmhraw: request-article id=3508 g=outbox s="" b=#<buffer *Article nnmhraw:outbox*>
nnmhraw: mhpath +outbox 3508
==> /home/ben/Mail/outbox/3508
Auto-saving...
Commands: d, s, x, u; f, o, 1, 2, m, v; ~, %; q to quit; ? for help.
Making completion list...
call-interactively: End of buffer [3 times]
Load-path shadows:
/home/ben/.emacs.d/elpa/web-mode-20160114.1306/web-mode hides /usr/local/share/emacs/site-lisp/web-mode
/usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.5/lisp/hex-util
/usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.5/lisp/md4
~/.emacs.d/lisp/loaddefs hides /usr/share/emacs/24.5/lisp/loaddefs
/usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.5/lisp/net/hmac-def
/usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.5/lisp/net/sasl
/usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.5/lisp/net/hmac-md5
/usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.5/lisp/net/sasl-cram
/usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.5/lisp/net/sasl-ntlm
/usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.5/lisp/net/ntlm
/usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.5/lisp/net/sasl-digest
/usr/share/emacs24/site-lisp/mh-e/mh-identity hides /usr/share/emacs/24.5/lisp/mh-e/mh-identity
/usr/share/emacs24/site-lisp/mh-e/mh-alias hides /usr/share/emacs/24.5/lisp/mh-e/mh-alias
/usr/share/emacs24/site-lisp/mh-e/mh-show hides /usr/share/emacs/24.5/lisp/mh-e/mh-show
/usr/share/emacs24/site-lisp/mh-e/mh-mime hides /usr/share/emacs/24.5/lisp/mh-e/mh-mime
/usr/share/emacs24/site-lisp/mh-e/mh-acros hides /usr/share/emacs/24.5/lisp/mh-e/mh-acros
/usr/share/emacs24/site-lisp/mh-e/mh-print hides /usr/share/emacs/24.5/lisp/mh-e/mh-print
/usr/share/emacs24/site-lisp/mh-e/mh-limit hides /usr/share/emacs/24.5/lisp/mh-e/mh-limit
/usr/share/emacs24/site-lisp/mh-e/mh-seq hides /usr/share/emacs/24.5/lisp/mh-e/mh-seq
/usr/share/emacs24/site-lisp/mh-e/mh-comp hides /usr/share/emacs/24.5/lisp/mh-e/mh-comp
/usr/share/emacs24/site-lisp/mh-e/mh-tool-bar hides /usr/share/emacs/24.5/lisp/mh-e/mh-tool-bar
/usr/share/emacs24/site-lisp/mh-e/mh-loaddefs hides /usr/share/emacs/24.5/lisp/mh-e/mh-loaddefs
/usr/share/emacs24/site-lisp/mh-e/mh-compat hides /usr/share/emacs/24.5/lisp/mh-e/mh-compat
/usr/share/emacs24/site-lisp/mh-e/mh-folder hides /usr/share/emacs/24.5/lisp/mh-e/mh-folder
/usr/share/emacs24/site-lisp/mh-e/mh-buffers hides /usr/share/emacs/24.5/lisp/mh-e/mh-buffers
/usr/share/emacs24/site-lisp/mh-e/mh-inc hides /usr/share/emacs/24.5/lisp/mh-e/mh-inc
/usr/share/emacs24/site-lisp/mh-e/mh-utils hides /usr/share/emacs/24.5/lisp/mh-e/mh-utils
/usr/share/emacs24/site-lisp/mh-e/mh-gnus hides /usr/share/emacs/24.5/lisp/mh-e/mh-gnus
/usr/share/emacs24/site-lisp/mh-e/mh-scan hides /usr/share/emacs/24.5/lisp/mh-e/mh-scan
/usr/share/emacs24/site-lisp/mh-e/mh-letter hides /usr/share/emacs/24.5/lisp/mh-e/mh-letter
/usr/share/emacs24/site-lisp/mh-e/mh-thread hides /usr/share/emacs/24.5/lisp/mh-e/mh-thread
/usr/share/emacs24/site-lisp/mh-e/mh-funcs hides /usr/share/emacs/24.5/lisp/mh-e/mh-funcs
/usr/share/emacs24/site-lisp/mh-e/mh-xface hides /usr/share/emacs/24.5/lisp/mh-e/mh-xface
/usr/share/emacs24/site-lisp/mh-e/mh-e hides /usr/share/emacs/24.5/lisp/mh-e/mh-e
/usr/share/emacs24/site-lisp/mh-e/mh-junk hides /usr/share/emacs/24.5/lisp/mh-e/mh-junk
/usr/share/emacs24/site-lisp/mh-e/mh-search hides /usr/share/emacs/24.5/lisp/mh-e/mh-search
/usr/share/emacs24/site-lisp/mh-e/mh-speed hides /usr/share/emacs/24.5/lisp/mh-e/mh-speed
~/.emacs.d/lisp/nnmh hides /usr/share/emacs/24.5/lisp/gnus/nnmh
/usr/share/emacs/24.5/site-lisp/slime/lib/ert-x hides /usr/share/emacs/24.5/lisp/emacs-lisp/ert-x
/usr/share/emacs/24.5/site-lisp/slime/lib/ert hides /usr/share/emacs/24.5/lisp/emacs-lisp/ert
Features:
(shadow emacsbug canlock mule-util flow-fill debug qp help-mode smiley
cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine jka-compr mm-archive gnus-bcklg mail-extr sort gnus-cite
footnote flyspell ispell nnir gnus-async gnus-draft gnus-ml gnus-topic
nndraft nnmh nnfolder parse-time epa-file epa derived epg netrc gnutls
network-stream auth-source eieio byte-opt bytecomp byte-compile cl-extra
cconv eieio-core starttls tls gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime
password-cache dig mailcap nntp gnus-cache gnus-sum gnus-group gnus-undo
nnmhraw nnoo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range
message sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils
mailheader gnus-win gnus gnus-ems nnheader gnus-util mail-utils mm-util
mail-prsvr wid-edit saveplace avoid delsel cus-start cus-load info
gnome-calendar-autoloads org-bullets-autoloads package epg-config
web-mode disp-table visible-mark easy-mmode cl-macs cl gv hippie-exp
w3m-load slime-autoloads mh-autoloads haskell-mode-autoloads edmacro
kmacro cl-loaddefs cl-lib go-mode-autoloads ido ess-toolbar ess-mouse
mouseme thingatpt browse-url ess-menu ess-swv ess-noweb
ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l
ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs
make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d ess-r-completion
compile ess-tracebug format-spec ess-roxy advice hideshow ess-help
ess-developer eldoc help-fns ess-s-l ess ess-inf comint ansi-color ring
ess-mode ess-noweb-mode ess-utils ess-custom executable easymenu
ess-compat ess-site time-date tooltip electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)
Memory information:
((conses 16 353466 42503)
(symbols 48 41035 36)
(miscs 40 1000 855)
(strings 32 86726 13497)
(string-bytes 1 2654413)
(vectors 16 34142)
(vector-slots 8 727210 14829)
(floats 8 307 863)
(intervals 56 1015 142)
(buffers 960 41)
(heap 1024 66183 6298))
--
Ben.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22684
; Package
emacs
.
(Thu, 12 Apr 2018 16:27:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 22684 <at> debbugs.gnu.org (full text, mbox):
Ben Bacarisse <ben.usenet <at> bsb.me.uk> writes:
> With no ~/.mailcap file:
>
> 1. Start message mode
>
> 2. Eval (mailcap-parse-mailcaps)
>
> 3. Eval (mailcap-mime-info "video/quicktime")
>
> 4. Note what the view handler is (it's mplayer on mys system). This
> most likely comes from comes from /etc/mailcap.
>
> 5. Create a ~/.mailcap file with a line
>
> video/*; totem %s
>
> 6. Either force a re-parse with (mailcap-parse-mailcaps nil t) or
> restart emacs -Q and do steps 1 and 2 again.
>
> 7. Eval (mailcap-mime-info "video/quicktime"). This will be unchanged
> but I think the local setting should take precedence. Other programs
> (run-mailcap, mutt, mhshow) certainly now use totem rather than
> mplayer.
mailcap.el chooses the most specific entry, no matter what the order of
the entries are. So if you have a video/quicktime somewhere, you can't
override that by just saying "video/*" in mailcap.el. I think that's a
pretty odd way of doing things, but it's been that way since, well,
forever, so it's not exactly a bug...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) notabug.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 12 Apr 2018 16:27:04 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
22684 <at> debbugs.gnu.org and Ben Bacarisse <ben.usenet <at> bsb.me.uk>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 12 Apr 2018 16:27:05 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#22684
; Package
emacs
.
(Thu, 12 Apr 2018 19:24:03 GMT)
Full text and
rfc822 format available.
Message #15 received at 22684 <at> debbugs.gnu.org (full text, mbox):
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> mailcap.el chooses the most specific entry, no matter what the order of
> the entries are. So if you have a video/quicktime somewhere, you can't
> override that by just saying "video/*" in mailcap.el. I think that's a
> pretty odd way of doing things, but it's been that way since, well,
> forever, so it's not exactly a bug...
Thank you. I should have thought of that. It makes choosing your own
handler fiddly, but at least I know what's going on. Thanks again,
--
Ben.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 11 May 2018 11:24:12 GMT)
Full text and
rfc822 format available.
This bug report was last modified 7 years and 46 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.