11 Mar 2002 02:48
Nicer display of MIME messages
Satyaki Das <satyakid <at> stanford.edu>
2002-03-11 01:48:54 GMT
2002-03-11 01:48:54 GMT
Recently I modified one of the functions used by mh-e to
display messages to use MML, the mime display engine of GNUS.
This makes mh-e really pretty. It does inline images in
Emacs 21, button-like display of attachments, PGP/MIME
support, X-Face etc.
It is quite easy to use the mime composition part by binding
some of the keys to use MML functions. The mime handling is
a XML-like version of mhn/mhbuild. The only advantage over
mhn is that it does PGP/MIME out of the box. Some keybindings
for mime composition is added in the .emacs snippet below.
Now that you are convinced that this is all good, here are
some potential problems:
1. You need a CVS version of gnus, the later the better.
2. I couldn't get mailcrypt to work for PGP support. Mailcrypt
works fine by itself. But the GNUS code doesn't work
with it (or more likely I am not setting things up right).
The contrib directory of GNUS has a gpg.el which works for
me.
3. I don't understand the MML code very well. So I was leaking
buffers like crazy. I fixed that by advising generate-new-buffer
but I am sure there has to be a better way to do this.
Anyway, put mh-ext.el somewhere in your load-path put the
following in your .emacs to give it a spin. I have been using
this for about a week now without problems.
(Continue reading)

RSS Feed