On Wednesday 25 February 2009, David Kastrup wrote:
CVS version tags are used for versioning the released files.
Obviously,
the format of your version control system tags differs, as do the actual
versions. So when LaTeX tries parsing the version control tags, the
unforeseen format throws it off the track.
Thanks for the tip. I suppose changing the CVS keyword expansion mode in
XEmacs packages CVS so that it doesn't do the expansion at all (now that
they're already in, can be IIRC done after the fact with "cvs admin -ko ... ;
cvs up") would fix it by keeping their values exactly as they were in the
files that were checked in. But if I understand you correctly, that wouldn't
satisfy this as I gather there might be some other differences in the
versions shipped with the version in XEmacs packages collection:
It is important for diagnosing problems that the version is indicated
as
not being the normal upstream version.
How would you prefer this to be indicated? Something like appending "-XEmacs"
to all relevant strings (see below) would be pretty easy to do, but I haven't
checked if it'd play well with how the strings are parsed in the code.
For reference, attached is the list of CVS keywords in auctex from my checkout
from the latest sumo tag. Based on a quick look, preview/latex/preview.dtx,
preview/preview.el, and style/prosper.el contain these keywords somewhere
else than in comments and would thus be primary candidates for -ko, but I
don't see any harm in doing that for all files in auctex (or actually pretty
much the whole packages CVS tree and making it the default for new files, but
that's another discussion, possibly moot if the packages are being moved to
another SCM in the nearish future).
$ grep -rP '\$[A-Z][a-z]*: .*\$' *
preview/latex/preview.dtx:\reserved@a\pr@version $Name: sumo-2009-02-17 $
\ifx\pr@version\@empty
preview/latex/preview.dtx:\reserved@a\pr@version CVS-$Revision: 1.1.2.1 $ \endgroup \else
preview/latex/preview.dtx:\reserved@a\next $Date: 2008/09/09 21:47:21 $
preview/preview.el:;; $Id: preview.el,v 1.1.2.1 2008/09/09 21:45:58 matsl Exp $
preview/preview.el: (let ((name "$Name: sumo-2009-02-17 $")
preview/preview.el: (rev "$Revision: 1.1.2.1 $"))
preview/preview.el: (let ((date "$Date: 2008/09/09 21:45:58 $"))
style/book.el:;; $Id: book.el,v 1.1.2.1 2008/09/09 21:54:57 matsl Exp $
style/j-report.el:;; $Id: j-report.el,v 1.1.2.1 2008/09/09 21:55:05 matsl Exp $
style/scrlttr2.el:;; Version: $Id: scrlttr2.el,v 1.1.2.1 2008/09/09 21:55:12 matsl Exp $
style/dk.el:;; $Id: dk.el,v 1.1.2.1 2008/09/09 21:54:59 matsl Exp $
style/prosper.el: "$Id: prosper.el,v 1.1.2.1 2008/09/09 21:55:11 matsl Exp $"
style/scrbook.el:;; Version: $Id: scrbook.el,v 1.1.2.1 2008/09/09 21:55:12 matsl Exp $
style/latexinfo.el:;; Version: $Id: latexinfo.el,v 1.1.2.1 2008/09/09 21:55:07 matsl Exp
$
style/jsarticle.el:;; $Id: jsarticle.el,v 1.1.2.1 2008/09/09 21:55:05 matsl Exp $
style/harvard.el:;; Version: $Id: harvard.el,v 1.1.2.1 2008/09/09 21:55:03 matsl Exp $
style/jarticle.el:;; $Id: jarticle.el,v 1.1.2.1 2008/09/09 21:55:05 matsl Exp $
style/jsbook.el:;; $Id: jsbook.el,v 1.1.2.1 2008/09/09 21:55:06 matsl Exp $
style/report.el:;; $Id: report.el,v 1.1.2.1 2008/09/09 21:55:11 matsl Exp $
style/scrartcl.el:;; Version: $Id: scrartcl.el,v 1.1.2.1 2008/09/09 21:55:11 matsl Exp $
style/plhb.el:;; $Id: plhb.el,v 1.1.2.1 2008/09/09 21:55:10 matsl Exp $
style/plfonts.el:;; $Id: plfonts.el,v 1.1.2.1 2008/09/09 21:55:10 matsl Exp $
style/scrreprt.el:;; Version: $Id: scrreprt.el,v 1.1.2.1 2008/09/09 21:55:12 matsl Exp $
style/jreport.el:;; $Id: jreport.el,v 1.1.2.1 2008/09/09 21:55:05 matsl Exp $
style/letter.el:;; $Id: letter.el,v 1.1.2.1 2008/09/09 21:55:07 matsl Exp $
style/scrbase.el:;; Version: $Id: scrbase.el,v 1.1.2.1 2008/09/09 21:55:12 matsl Exp $
style/j-book.el:;; $Id: j-book.el,v 1.1.2.1 2008/09/09 21:55:04 matsl Exp $
style/j-article.el:;; $Id: j-article.el,v 1.1.2.1 2008/09/09 21:55:04 matsl Exp $
style/virtex.el:;; $Id: virtex.el,v 1.1.2.1 2008/09/09 21:55:14 matsl Exp $
style/foils.el:;; $Id: foils.el,v 1.1.2.1 2008/09/09 21:55:01 matsl Exp $
style/dutch.el:;; $Id: dutch.el,v 1.1.2.1 2008/09/09 21:55:00 matsl Exp $
style/article.el:;; $Id: article.el,v 1.1.2.1 2008/09/09 21:54:56 matsl Exp $
style/jbook.el:;; $Id: jbook.el,v 1.1.2.1 2008/09/09 21:55:05 matsl Exp $
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta