[gnu.emacs] vm

kpc00@JUTS.ccc.amdahl.com (kpc) (08/27/90)

I have a copy of vm and have tried it.  Just thought I'd give this
update in case anybody has been wondering about vm/rmail/mh-e.

vm (available as described in a previous posting) seems to be a nice
alternative to rmail, since it is about the same size, subjectively.
It has mostly the same capabilities, give or take a few features.

It has UNIX-style (efficient) storage, and does not appear to have
rmail's bugs.  The header buffer tracks changes in the "article"
buffer.  It has some nice touches, and comes with documentation.

There is one thing that rmail seems to do better, which is to use
rmail-ignored-headers.  vm uses vm-visible-headers instead, which has
the opposite meaning.  I like to see unusual and unexpected headers.

It does not convert rmail files.  It does not have arbitrary labels.

Hope it helps.

--
Neither representing any company nor, necessarily, myself.

kaul@icarus.eng.ohio-state.edu (Rich Kaul) (08/28/90)

In article <KPC00.90Aug27042532@JUTS.ccc.amdahl.com> kpc00@JUTS.ccc.amdahl.com (kpc) writes:
   I have a copy of vm and have tried it. [...]
   It does not convert rmail files.

You can easily convert those files yourself.  Here is a little shell
script that someone posted a while ago to do this:

#!/bin/sh
#
# usage:	rmail-to-mail file1 file2 ...
#
# result:	file1~     is the original Babyl file
#		file1      is an empty Babyl file
#		file1.mail is a UNIX mail file with the messages from file1

cat > /tmp/$$.el << EOF
;;;
;;; Author:  Nathan Hess  (woodstock@hobbes.intel.com)
;;;
;;

(let ((file-to-be-converted (buffer-file-name))
      (message-count 0)
      (rmail-delete-after-output t)
      (unix-style-file-name (concat (buffer-file-name) ".mail")))
  (kill-buffer (current-buffer))
  (rmail file-to-be-converted)
  (rmail-show-message 1)
  (while (not (rmail-output unix-style-file-name))
    (setq message-count (1+ message-count)))
  (rmail-quit))
EOF

for f in "$@" ; do
    echo ">>> Doing $f"
    emacs -batch $f -l /tmp/$$.el -kill
    echo ">>> Done"
done

rm -f /tmp/$$.el

exit 0
-- 
Rich Kaul                         | It wouldn't be research if we
kaul@icarus.eng.ohio-state.edu    | knew what we were doing.