Mercurial > hg > xemacs-beta
diff lisp/build-report.el @ 975:151d438d2d55
[xemacs-hg @ 2002-08-28 05:36:20 by youngs]
2002-08-16 Steve Youngs <youngs@xemacs.org>
* version.sh (xemacs_extra_name): New var to identify XEmacs
version > release < next release. ie, release+cvs.
* configure.in: Test for xemacs_extra_name.
* configure: Re-generate.
2002-08-16 Steve Youngs <youngs@xemacs.org>
* build-report.el (build-report-installation-version-regexp):
Update to cater for 'xemacs-extra-name'.
(build-report-version-file-regexp): Ditto.
(build-report): Ditto.
(build-report-installation-data): Ditto.
(build-report-version-file-data): Ditto.
* version.el (emacs-version): Test for 'xemacs-extra-name'.
2002-08-16 Steve Youngs <youngs@xemacs.org>
* config.h.in (XEMACS_EXTRA_NAME): New.
* emacs.c (vars_of_emacs): Use it.
author | youngs |
---|---|
date | Wed, 28 Aug 2002 05:36:34 +0000 |
parents | 0a255b32b157 |
children | 0fb57d74601d |
line wrap: on
line diff
--- a/lisp/build-report.el Sat Aug 24 10:23:48 2002 +0000 +++ b/lisp/build-report.el Wed Aug 28 05:36:34 2002 +0000 @@ -57,7 +57,7 @@ ;;; report it to the maintainers of `build-report' when you think you ;;; need to do this. (defconst build-report-installation-version-regexp - "XEmacs\\s-+\\([0-9]+\\)\\.\\([0-9]+\\)\\(\\(-b\\|\\.\\)\\([0-9]+\\)\\)?\\s-+\\\\?\"\\([^\\\"]+\\)\\\\?\"\\s-+configured\\s-+for\\s-+`\\(.+\\)'\\." + "XEmacs\\s-+\\([0-9]+\\)\\.\\([0-9]+\\)\\(\\(-b\\|\\.\\)\\([0-9]+\\)\\)?\\s-+\\\\?\"\\([^\\\"]+\\)\\\\?\"\\s-+\\(.*\\)?configured\\s-+for\\s-+`\\(.+\\)'\\." "*REGEXP matching XEmacs Beta Version string in `build-report-installation-file' file. This variable is used by `build-report-installation-data'.") @@ -66,7 +66,8 @@ "emacs_major_version\\s-*=\\s-*\\([0-9]+\\) emacs_minor_version\\s-*=\\s-*\\([0-9]+\\) emacs_beta_version\\s-*=\\s-*\\([0-9]+\\)? -xemacs_codename\\s-*=\\s-*\"\\([^\"]+\\)\"" +xemacs_codename\\s-*=\\s-*\"\\([^\"]+\\)\" +xemacs_extra_name\\s-*=\\s-*\"\\([^\"]+\\)\"" "*REGEXP matching XEmacs Beta Version variable assignments in `build-report-version-file' file. This variable is used by `build-report-version-file-data'.") @@ -308,17 +309,17 @@ (save-excursion (if (file-exists-p build-report-installation-file) (multiple-value-bind - (major minor beta codename configuration) + (major minor beta codename extraname configuration) (build-report-installation-data build-report-installation-file) (setq build-report-subject - (format "[%%s] XEmacs %s.%s%s \"%s\", %s" - major minor beta codename configuration))) + (format "[%%s] XEmacs %s.%s%s \"%s\" %s %s" + major minor beta codename extraname configuration))) (multiple-value-bind - (major minor beta codename) + (major minor beta codename extraname) (build-report-version-file-data build-report-version-file) (setq build-report-subject - (format "[%%s] XEmacs %s.%s%s \"%s\", %s" - major minor beta codename system-configuration)))) + (format "[%%s] XEmacs %s.%s%s \"%s\" %s %s" + major minor beta codename extraname system-configuration)))) (compose-mail ;; `build-report-destination' used to be a single string, so ;; let's test if we really get a list of destinations. @@ -492,7 +493,7 @@ (unless file (setq file build-report-installation-file)) (let - (major minor beta codename configuration srcdir) + (major minor beta codename extraname configuration srcdir) (save-window-excursion (find-file-read-only file) (goto-char (point-min)) @@ -504,7 +505,8 @@ (setq minor (match-string 2)) (setq beta (match-string 3)) (setq codename (match-string 6)) - (setq configuration (match-string 7))) + (setq extraname (match-string 7)) + (setq configuration (match-string 8))) ((looking-at build-report-installation-srcdir-regexp) (goto-char (match-end 0)) (setq srcdir (match-string 1))) @@ -515,7 +517,7 @@ (goto-char (match-end 0))) ((looking-at "\n") (goto-char (match-end 0))))) - (values major minor (or beta "") codename configuration srcdir)))) + (values major minor (or beta "") codename extraname configuration srcdir)))) (defun build-report-version-file-data (&optional file) "Return a list of XEmacs version information containing @@ -525,7 +527,7 @@ (unless file (setq file build-report-version-file)) (let - (major minor beta codename) + (major minor beta codename extraname) (save-window-excursion (find-file-read-only file) (goto-char (point-min)) @@ -536,7 +538,8 @@ (setq major (match-string 1)) (setq minor (match-string 2)) (setq beta (match-string 3)) - (setq codename (match-string 4))) + (setq codename (match-string 4)) + (setq extraname (match-string 5))) ;; We avoid matching a potentially zero-length string to avoid ;; infinite looping. ((looking-at @@ -544,6 +547,6 @@ (goto-char (match-end 0))) ((looking-at "\n") (goto-char (match-end 0))))) - (values major minor (or beta "") codename)))) + (values major minor (or beta "") codename extraname)))) ;;; build-report.el ends here