Robert Widhopf <[EMAIL PROTECTED]> writes: > On , May 29, 2004 at 23:27:26, Stefan Reichör wrote: > > Robert Widhopf-Fenk <[EMAIL PROTECTED]> writes: > > > > > Hi, > > > > > > for users not getting xtla from an tla-archive we should > > > include a version string. I was thinking about an > > > auto-generated xtla-version.el containing: > > > > > > ------------------ |%% do not edit -- automatically generated file > > > |(defconst xtla-version > > > "[EMAIL PROTECTED]") > > > ------------------ > > > > > > This could be used for bug-reports and as an anchor for patches. > > > > We have that information already in the CHANGELOG file. > > BTW, shouldn't we use it ChangeLog instead of all uppercase?
I have no objection here. I just used all uppercase because we have also files called HACKING, BINDINGS, INSTALL,... > > Is it possible to find the version information from that file? > > It depends on the location. > > For XEmacs the location will be within the lisp dir for the > xlta package, e.g. ~/.xemacs/xemacs-packages/xtla/lisp/ > > For GNU Emacs??? > > > I do not have a solution for that specific problem. > > Anyone? > > If it is not easy/possible, we should use the xtla-version.el file. > > With a separate lisp files it does not depend on the > location of ChangeLog and users or a bug report function > simply can use the content of xtla-version ... > > (when (locate-library "xtla-version.el") > (load-library "xtla-version.el") > (message "This is XTLA version %s" xtla-version)) As I have already expressed, we can use such a file for the proposed purpose. Stefan.
