<<< Date Index >>>     <<< Thread Index >>>

Re: viewing html emails with images



On Feb 4, 2008 2:31 PM, Christian Ebert <blacktrash@xxxxxxx> wrote:
> You can try out viewhtmlmsg from my python package at
> <http://www.blacktrash.org/hg/muttils/>.
>
I installed muttils and based on the suggestions in doc/example-muttrc,
I added this to my .muttrc
macro index <f7> "\
<enter-command> set my_wait_key=\$wait_key wait_key=no<enter>\
<pipe-message>viewhtmlmsg -s<enter>\
<enter-command> set wait_key=\$my_wait_key &my_wait_key<enter>\
" "view HTML (safe) in browser"

But when I start my mutt, I get these errors:
Error in /home/sengalt/.muttrc, line 257: <enter-command>: unknown command
Error in /home/sengalt/.muttrc, line 258: <pipe-message>viewhtmlmsg:
unknown command
Error in /home/sengalt/.muttrc, line 259: <enter-command>: unknown command
Error in /home/sengalt/.muttrc, line 260:  view: unknown command
source: errors in /home/sengalt/.muttrc

What's the reason for this?

Info about my mutt:
bash$ mutt -v
Mutt 1.5.15+20070412 (2007-04-11)
Copyright (C) 1996-2007 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.20-16-generic (i686)
ncurses: ncurses 5.6.20070716 (compiled with 5.6)
libidn: 1.0 (compiled with 1.0)
Compile options:
-DOMAIN
+DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
+USE_FCNTL  -USE_FLOCK   +USE_INODESORT
+USE_POP  +USE_IMAP  +USE_SMTP  -USE_GSS  -USE_SSL_OPENSSL
+USE_SSL_GNUTLS  +USE_SASL  +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-dev@xxxxxxxx>.
To report a bug, please visit http://bugs.mutt.org/.

patch-1.5.13.cd.ifdef.2
patch-1.5.13.cd.purge_message.3.4
patch-1.5.13.cd.trash_folder.3.4
patch-1.5.13.nt+ab.xtitles.4
patch-1.5.14.rr.compressed.1
patch-1.5.4.vk.pgp_verbose_mime
patch-1.5.6.dw.maildir-mtime.1