Mercurial > emacs
annotate admin/make-announcement @ 71504:2b4e59cd1121
(Qeql): Add extern.
(x_set_mouse_pixel_position) [MAC_OSX]: Use CGWarpMouseCursorPosition.
(fm_style_face_attributes_alist) [USE_ATSUI]: New variable.
(syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it.
Change keys of Vmac_atsu_font_table from strings to numbers.
(fm_style_to_face_attributes) [USE_ATSUI]: New function.
(init_font_name_table) [USE_ATSUI]: Use it.
(saved_ts_script_language_on_focus) [USE_MAC_TSM]: New variable.
(syms_of_macterm) [USE_MAC_TSM]: Initialize and staticpro it.
[USE_MAC_TSM] (mac_tsm_resume): Restore script and language codes
only when saved_ts_script_language_on_focus coincides with
Vmac_ts_script_language_on_focus.
[USE_MAC_TSM] (mac_tsm_suspend): Save value of
Vmac_ts_script_language_on_focus to saved_ts_script_language_on_focus.
(XTread_socket) [USE_MAC_TSM]: Add Mac OS Classic support.
[USE_MAC_TSM] (mac_handle_text_input_event, init_tsm): Likewise.
| author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
|---|---|
| date | Wed, 28 Jun 2006 08:31:32 +0000 |
| parents | 53c1af431f97 |
| children | b6fa628c5c51 e6bf73e43cf4 |
| 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 |
|
69704
53c1af431f97
FIXME - links of ftp://alpha.gnu.org/ for GNU Emacs pretest has to be fixed
Ramprasad B <ramprasad_i82@yahoo.com>
parents:
52401
diff
changeset
|
33 |
|
48804
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
34 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
|
35 |
|
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/emacs-$NEW.tar.gz> |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
37 <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
|
38 |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
39 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
|
40 <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
|
41 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
|
42 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
|
43 |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
44 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
|
45 \`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
|
46 |
|
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/emacs-$OLD-$NEW.xdelta> |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
48 <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
|
49 |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
50 You can use a command like |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
51 |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
52 $ 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
|
53 |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
54 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
|
55 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
|
56 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
|
57 |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
58 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
|
59 /non-gnu/xdelta.README. |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
60 |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
61 Changes since $OLD |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
62 |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
63 EOF |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
64 |
|
49683
6c4021c20d1f
Code moved to the new script make-changelog-diff, called from here.
Francesco Potort? <pot@gnu.org>
parents:
49344
diff
changeset
|
65 make-changelog-diff $oldtag $newtag |
|
48804
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
66 |
|
32e11c5dadbe
A script that creates the announcement for a pretest.
Francesco Potort? <pot@gnu.org>
parents:
diff
changeset
|
67 echo " announcement created in $outfile" >&2 |
| 52401 | 68 |
| 69 # arch-tag: 605e00c7-7330-4c45-81e1-2ed53a13c39f |
