Package: mutt
Version: 1.5.21-3
Severity: normal

When I receive a html email and would like to view it using a browser of my
choice. I would, select an email press v and select text/html[usually the third
option] and would open with my mailcap entry set in ~/.mutt/mailcap:

text/html; midori -a         '%s'; test=test -n "$DISPLAY"; nametemplate=%s.html

In this example would open with midori. But this does not work in this version.
Instead the html email opens with ... [-- Autoview using w3m -dump 
'/tmp/mutt.html' --]

This works fine with mutt_1.5.20-9+squeeze1_amd64.deb. Attached is the my whole
~/.mutt/mailcap file.

Thanks




-- Package-specific info:
Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.6.32-5-amd64 (x86_64)
ncurses: ncurses 5.7.20100313 (compiled with 5.8)
libidn: 1.20 (compiled with 1.20)
hcache backend: tokyocabinet 1.4.37
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL  -USE_FLOCK   
+USE_POP  +USE_IMAP  +USE_SMTP  
-USE_SSL_OPENSSL  +USE_SSL_GNUTLS  +USE_SASL  +USE_GSS  +HAVE_GETADDRINFO  
+HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET  
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM  
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME  +CRYPT_BACKEND_GPGME  
-EXACT_ADDRESS  -SUN_ATTACHMENT  
+ENABLE_NLS  -LOCALES_HACK  +COMPRESSED  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET 
 +HAVE_LANGINFO_YESEXPR  
+HAVE_ICONV  -ICONV_NONTRANS  +HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE  
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
To contact the developers, please mail to <mutt-...@mutt.org>.
To report a bug, please visit http://bugs.mutt.org/.

misc/am-maintainer-mode
features/ifdef
features/xtitles
features/trash-folder
features/purge-message
features/imap_fast_trash
features/sensible_browser_position
features-old/patch-1.5.4.vk.pgp_verbose_mime
features/compressed-folders
features/compressed-folders.debian
debian-specific/Muttrc
debian-specific/Md.etc_mailname_gethostbyname.diff
debian-specific/use_usr_bin_editor.diff
debian-specific/correct_docdir_in_man_page.diff
debian-specific/dont_document_not_present_features.diff
debian-specific/document_debian_defaults
debian-specific/assumed_charset-compat
debian-specific/467432-write_bcc.patch
debian-specific/566076-build_doc_adjustments.patch
misc/define-pgp_getkeys_command.diff
misc/gpg.rc-paths
misc/smime.rc
upstream/531430-imapuser.patch
upstream/537818-emptycharset.patch
upstream/543467-thread-segfault.patch
upstream/542817-smimekeys-tmpdir.patch
upstream/537694-segv-imap-headers.patch
upstream/548577-gpgme-1.2.patch
upstream/553321-ansi-escape-segfault.patch
upstream/568295-references.patch
upstream/547980-smime_keys-chaining.patch
upstream/528233-readonly-open.patch
upstream/228671-pipe-mime.patch
upstream/383769-score-match.patch
upstream/578087-header-strchr.patch
upstream/603288-split-fetches.patch
upstream/537061-dont-recode-saved-attachments.patch
upstream/608706-fix-spelling-errors.patch
upstream/path_max
mutt.org

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/3 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt depends on:
ii  libc6                     2.11.2-11      Embedded GNU C Library: Shared lib
ii  libcomerr2                1.41.12-2      common error description library
ii  libgnutls26               2.10.5-1+b1    the GNU TLS library - runtime libr
ii  libgpg-error0             1.10-0.3       library for common error values an
ii  libgpgme11                1.2.0-1.2      GPGME - GnuPG Made Easy
ii  libgssapi-krb5-2          1.8.3+dfsg-4   MIT Kerberos runtime libraries - k
ii  libidn11                  1.20-1         GNU Libidn library, implementation
ii  libk5crypto3              1.8.3+dfsg-4   MIT Kerberos runtime libraries - C
ii  libkrb5-3                 1.8.3+dfsg-4   MIT Kerberos runtime libraries
ii  libncursesw5              5.7+20100313-5 shared libraries for terminal hand
ii  libsasl2-2                2.1.23.dfsg1-8 Cyrus SASL - authentication abstra
ii  libtokyocabinet8          1.4.37-6       Tokyo Cabinet Database Libraries [

Versions of packages mutt recommends:
ii  exim4-daemon-light [mail- 4.74-2         lightweight Exim MTA (v4) daemon
ii  libsasl2-modules          2.1.23.dfsg1-8 Cyrus SASL - pluggable authenticat
ii  locales                   2.11.2-11      Embedded GNU C Library: National L
ii  mime-support              3.51-1         MIME files 'mime.types' & 'mailcap

Versions of packages mutt suggests:
ii  aspell                     0.60.6-6      GNU Aspell spell-checker
ii  ca-certificates            20090814+nmu2 Common CA certificates
ii  gnupg                      1.4.11-3      GNU privacy guard - a free PGP rep
ii  ispell                     3.1.20.0-9    International Ispell (an interacti
pn  mixmaster                  <none>        (no description available)
ii  openssl                    0.9.8o-5      Secure Socket Layer (SSL) binary a
ii  urlview                    0.9-19        Extracts URLs from text

Versions of packages mutt is related to:
ii  mutt                          1.5.21-3   text-based mailreader supporting M
pn  mutt-dbg                      <none>     (no description available)
pn  mutt-patched                  <none>     (no description available)

-- no debconf information
#### $HOME/.mutt/mailcap ####


# this is used when (v)iewing a text/html attachment: allowing you to browse and
# "click" links order matters the first entry which passes the test is used gui
# browser if $DISPLAY is set
#text/html; chromium '%s'; test=test -n "$DISPLAY"; nametemplate=%s.html
#text/html; firefox          '%s'; test=test -n "$DISPLAY"; nametemplate=%s.html
text/html; midori -a         '%s'; test=test -n "$DISPLAY"; nametemplate=%s.html
#text/html; /usr/local/bin/midori -a '%s'; test=test -n "$DISPLAY"; 
nametemplate=%s.html
#text/html; sensible-browser '%s'; test=test -n "DISPLAY"; nametemplate=%s.html

# text browser otherwise
text/html; w3m -v -F -T text/html %s; nametemplate=%s.html; needsterminal

# auto_view will use the entry with the copiousoutput part
text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput
text/html; w3m %s;       nametemplate=%s.html

# from /etc/mailcap
application/pdf;     zathura '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
application/x-pdf;   zathura '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
image/gif;               feh '%s'; test=test -n "$DISPLAY"; description=GIF  
Image; nametemplate=%s.gif
image/jpeg;              feh '%s'; test=test -n "$DISPLAY"; description=JPEG 
Image; nametemplate=%s.jpeg
image/pjpeg;             feh '%s'; test=test -n "$DISPLAY"; description=JPEG 
Image; nametemplate=%s.jpeg
image/png;               feh '%s'; test=test -n "$DISPLAY"; description=PNG  
Image; nametemplate=%s.png
image/targa;             feh '%s'; test=test -n "$DISPLAY"; description=TGA  
Image; nametemplate=%s.tga
image/tiff;              feh '%s'; test=test -n "$DISPLAY"; description=TIFF 
Image; nametemplate=%s.tiff
image/x-ms-bmp;          feh '%s'; test=test -n "$DISPLAY"; description=BMP  
Image; nametemplate=%s.bmp
image/x-portable-anymap; feh '%s'; test=test -n "$DISPLAY"; description=PNM  
Image; nametemplate=%s.pnm
image/x-xpixmap;         feh '%s'; test=test -n "$DISPLAY"; description=XPM  
Image; nametemplate=%s.xpm
#application/pdf;    epdfview '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
#application/x-pdf;  epdfview '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
#application/pdf;   /usr/bin/xpdf '%s'; test=test "$DISPLAY" != ""; 
description=Portable Document Format; nametemplate=%s.pdf
#application/x-pdf; /usr/bin/xpdf '%s'; test=test "$DISPLAY" != ""; 
description=Portable Document Format; nametemplate=%s.pdf
#text/html; /usr/bin/sensible-browser '%s'; description=HTML Text; 
nametemplate=%s.html

Reply via email to