Mercurial > emacs
annotate admin/make-announcement @ 50598:5f26cbba48ba
Whitespace changes, some re-ordering of code, trivial commentary change.
(fortran, fortran-indent, fortran-comment)
(fortran-tab-mode-default, fortran-continuation-indent)
(fortran-comment-indent-style, fortran-blink-matching-if)
(fortran-continuation-string, fortran-electric-line-number)
(fortran-break-before-delimiters, fortran-mode-hook)
(fortran-end-prog-re, fortran-imenu-generic-expression): Minor doc changes.
(fortran-tab-mode-minor-mode-string): New variable.
(fortran-tab-mode-string): Now customization is meaningful.
(fortran-column-ruler-fixed, fortran-column-ruler-tab)
(fortran-analyze-depth): Use defcustom.
(fortran-if-start-re, fortran-end-prog-re1, fortran-fill)
(fortran-break-line, fortran-prepare-abbrev-list-buffer)
(fortran-auto-fill): Add doc string.
(fortran-type-types): New constant (was local to let binding).
(fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
(fortran-font-lock-syntactic-keywords): Initialize in defvar.
(fortran-font-lock-keywords-3): Initialize in defvar. Use 1+ now
depth of fortran-type-types has changed. Remove extra and.
(fortran-mode-menu): Minor re-organization. Use lookup-key.
(fortran-mode): Doc changes. Some re-organization. Use
fortran-tab-mode-minor-mode-string.
(fortran-comment-indent): Add doc string. Move save-excursion. Use 1+.
(fortran-indent-comment, fortran-fill-statement): Change interactive spec.
Use unless.
(fortran-comment-region): Doc change. Reverse logic of arg test. Use zerop.
(fortran-abbrev-start, fortran-split-line)
(fortran-electric-line-number, fortran-indent-subprogram)
(fortran-strip-sequence-nos): Change interactive spec.
(fortran-remove-continuation): Add doc string. Use when.
(fortran-numerical-continuation-char): Doc change. Use 1+.
(fortran-previous-statement, fortran-next-statement)
(fortran-beginning-do, fortran-calculate-indent)
(fortran-end-do, fortran-end-if, fortran-beginning-if): Use zerop, 1+, 1-.
(fortran-blink-match, fortran-check-for-matching-do): Use when.
(fortran-indent-line): Change interactive spec. Remove un-needed if.
Use when.
(fortran-indent-to-column): Doc change. Use when, unless.
(fortran-find-comment-start-skip): No longer interactive.
(fortran-analyze-file-format): Minor doc change. Remove un-needed setq.
(minor-mode-alist): Use add-to-list.
(fortran-fill-paragraph): Change interactive spec, doc string.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 15 Apr 2003 19:21:59 +0000 |
parents | 6c4021c20d1f |
children | 695cf19ef79e |
rev | line source |
---|---|
48804
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
1 #! /bin/bash |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
2 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
3 if [ $# -ne 2 ]; then |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
4 echo "usage: $0 <old version number> <new version number>" >&2 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
5 exit 1 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
6 fi |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
7 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
8 if [ ! -f INSTALL -o ! -f configure -o ! -d lib-src ]; then |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
9 echo "this script should be run in the emacs root directory" >&2 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
10 exit 2 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
11 fi |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
12 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
13 OLD=$1 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
14 NEW=$2 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
15 outfile=emacs-$NEW.announce |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
16 oldtag=EMACS_PRETEST_$(echo $OLD|tr . _) |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
17 newtag=EMACS_PRETEST_$(echo $NEW|tr . _) |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
18 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
19 if [ -f $outfile ]; then |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
20 echo "$outfile exists" |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
21 echo -n "interrupt to abort, ENTER to overwrite "; read answer |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
22 fi |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
23 |
49343 | 24 echo -n "tag name for OLD emacs version $OLD [$oldtag]: "; read answer |
48804
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
25 if [ "$answer" ]; then oldtag=$answer; fi |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
26 |
49343 | 27 echo -n "tag name for NEW emacs version $NEW [$newtag]: "; read answer |
48804
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
28 if [ "$answer" ]; then newtag=$answer; fi |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
29 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
30 exec > $outfile |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
31 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
32 cat <<EOF |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
33 There is a new pretest available in |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
34 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
35 <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$NEW.tar.gz> |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
36 <ftp://alpha.gnu.org/gnu/emacs/pretest/leim-$NEW.tar.gz> |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
37 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
38 Please report results from compiling and running the pretest to |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
39 <emacs-pretest-bug@gnu.org>. Your feedback is necessary for us |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
40 to know on which platforms the pretest has been tried. |
48817
8bbce2893414
Ask about LEIM in the announcement.
Francesco Potortì <pot@gnu.org>
parents:
48804
diff
changeset
|
41 Please say whether you built with LEIM or not. |
48804
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
42 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
43 If you have the tars from the previous pretest, and you have the |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
44 \`xdelta' utility, you can instead download the much smaller |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
45 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
46 <ftp://alpha.gnu.org/gnu/emacs/pretest/emacs-$OLD-$NEW.xdelta> |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
47 <ftp://alpha.gnu.org/gnu/emacs/pretest/leim-$OLD-$NEW.xdelta> |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
48 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
49 You can use a command like |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
50 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
51 $ xdelta patch XDELTA PREVIOUS-TAR CURRENT-TAR |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
52 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
53 to generate the new tar from the old one, where XDELTA is the xdelta |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
54 file you downloaded, PREVIOUS-TAR is the tar file from the previous |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
55 pretest, and CURRENT-TAR is the name of the tar file you downloaded. |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
56 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
57 Information about xdelta can be found on the GNU ftp site, in |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
58 /non-gnu/xdelta.README. |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
59 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
60 Changes since $OLD |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
61 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
62 EOF |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
63 |
49683
6c4021c20d1f
Code moved to the new script make-changelog-diff, called from here.
Francesco Potortì <pot@gnu.org>
parents:
49344
diff
changeset
|
64 make-changelog-diff $oldtag $newtag |
48804
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
65 |
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potortì <pot@gnu.org>
parents:
diff
changeset
|
66 echo " announcement created in $outfile" >&2 |