>>>>> On Thu, 28 Jan 2010, Uday S Reddy wrote:

> I understand that you are catching the possible error with the
> version.txt file. But, for the OP, it looks like the version.txt
> file didn't get generated. Or it got generated somewhere else. Do we
> know why?

Hi Uday,

It's a bootstrap problem: version.txt is generated relatively late by
a make rule. However vm-version.el is required by vm-build.el which is
needed earlier at configure time.

(Probably it would be good to verify that both lisp/version.txt and
info/version.texi are included in the tarball of the next release.)

> I am also not sure that returning nil after error is good enough.
> Isn't vm-version supposed to be a string?

Normally yes, but since the condition-case is only needed to
circumvent above-mentioned problem, nil should be good enough here.
The vm-version variable is not used by vm-build.el. (It shouldn't harm
to return a string like "undefined" though.)

Ulrich

_______________________________________________
Mailing list: https://launchpad.net/~vm
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~vm
More help   : https://help.launchpad.net/ListHelp

Reply via email to