Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!bionet!ames!indri!xanth!talos!kjones
From: kjones@talos.uucp (Kyle Jones)
Newsgroups: gnu.emacs
Subject: Re: Help on installing VM
Message-ID: <1989Aug18.183249.4304@talos.uucp>
Date: 18 Aug 89 18:32:49 GMT
References: 
Reply-To: kjones%talos.uucp@uunet.uu.net
Distribution: gnu
Lines: 20

Teruhiko Kurosaka writes:
 > I have installed VM on top of NEmacs, a Japanese variant of
 > GNUEMACS 18.50.  I can read e-mail but cannot 'r' (vm-reply) or
 > 'h' (vm-summarize).  Both commands failed with the message:
 > 	No match for \(...\) register 0

Before version 18.51 Emacs signaled an error if match-beginning or
match-end were called for a \(..\) grouping that had no matching.  In
version 18.51 and beyond, these functions return nil, which is the
beahvior VM expects.

Changing the line in vm-summary that looks like

	    format (match-end 0))
to
	    format (condition-case () (match-end 0) (error nil)))

should fix the problem.  However, other problems have been reported
under 18.50, some for which I could find no reasonable explanation.
THis is why it is suggested that VM be run under v18.51 or later.