Date: Fri, 15 Dec 2000 12:52:26 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: JT Williams Message-Id: <4331-Fri15Dec2000125226+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: <20001214153747.E18414@kendall.sfbr.org> (message from JT Williams on Thu, 14 Dec 2000 15:37:47 -0600) References: <20001214153747 DOT E18414 AT kendall DOT sfbr DOT org> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Thu, 14 Dec 2000 15:37:47 -0600 > From: JT Williams > > E.g., given an RCS $Id$ that expands to > > Revision #.## yyyy/mm/dd hh:mm:ss user > > I would like to set Texinfo variables as follows > > @set EDITION #.## > @set UPDATED yyyy/mm/dd I don't think you can do it with Texinfo features. I use Emacs to update the time of last change line automatically each time I edit a file. As for edition, I think it's not a good idea to do that automatically, since a decision about releasing a document is something a human needs to be involved in. But if you really want that, I guess some simple Emacs Lisp code could do that, too. (In Emacs, you can put code snippets into a file, to be executed when the file is read or saved.)