1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-06 08:54:05 +00:00
Commit Graph

40 Commits

Author SHA1 Message Date
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Glenn Morris
428d45d255 (gomoku-buffer-name): New constant.
(gomoku-mode): Doc fix.  Add call to kill-all-local-variables,
for global-font-lock-mode.
(gomoku): Do not call gomoku-switch-to-window directly, else the
player is asked the startup questions twice after a killed game.
(gomoku-prompt-for-other-game): Throw an error if no new game,
since otherwise answering no after a killed game has no effect.
(gomoku-switch-to-window): Use gomoku-buffer-name.
2003-04-12 15:51:57 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00
Andreas Schwab
4cbb318942 (gomoku-mode-map): Use command remapping instead of
substitute-key-definition.
2003-01-12 20:49:41 +00:00
Richard M. Stallman
05a841569d (gomoku-move-up, gomoku-move-down):
Use forward-line and move-to-column.
2002-09-16 19:32:53 +00:00
Juanma Barranquero
6e71749d98 (gomoku-font-lock-O-face): Convert to use `defface'.
(gomoku-font-lock-X-face): Likewise.
(gomoku-font-lock-keywords): Use faces instead of variables.
2002-03-22 09:44:45 +00:00
Pavel Janík
0ff9b955fe Doc fixes. 2001-12-20 18:59:32 +00:00
Richard M. Stallman
5ca809a7b6 (gomoku-mode): Don't use define-derived-mode. 2001-11-21 11:03:35 +00:00
Eli Zaretskii
ea51468153 Mark gomoku-mode as special. Suggested by Klaus Straubinger
<ksnetz@arcor.de>
2001-11-20 18:33:42 +00:00
Pavel Janík
0017164551 Move definitions of constants to the beginning of file, before their use. 2001-11-10 08:14:13 +00:00
Richard M. Stallman
16f97fc36f (gomoku): Doc fix. 2001-11-06 19:39:26 +00:00
Stefan Monnier
3ed0351835 (gomoku-mode): Use define-derived-mode. 2001-10-13 18:28:11 +00:00
Pavel Janík
906f211e1b Do not double variables in the lambda-list. 2001-10-13 08:10:30 +00:00
Eli Zaretskii
dafef0a3ea (gomoku-plot-square, gomoku-init-display): Add help-echo to mouse-highlighted
text.
2001-06-17 11:19:11 +00:00
Eli Zaretskii
ef64957506 (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
(gomoku-plot-square, gomoku-init-display): Don't use window-system.
2000-07-31 15:38:35 +00:00
Karl Heuer
3e9103768f Update comment. 1998-12-14 03:22:44 +00:00
Stephen Eglen
323f7c491f Customized. 1998-04-05 16:14:58 +00:00
Richard M. Stallman
2b38b48703 Comment change. 1997-09-21 12:34:40 +00:00
Richard M. Stallman
d7ab271893 (gomoku-click): Position on nearest square. Adapt keymap accordingly.
(gomoku-mouse-play): Use it to play nearest to mouse click.
(gomoku-terminate-game): Factorize messages.
(gomoku): Allow interactive passing of board size.  Don't make a fuss
about restarting a game that hasn't progressed.
(gomoku-offer-a-draw): Give user the choice it pretended to give.
(gomoku-point-x): Deleted function.
(gomoku-point-y, gomoku-point-square): Simplified because point is
always on a square.
(gomoku-goto-xy, gomoku-plot-square): Fix line count due to
intangible newlines.
(gomoku-init-display): Once again fairly fast due to minimization of
characters in buffer and text-property operations.  Cursor cannot be
be off a square.
(gomoku-display-statistics): Simplified equivalently.
(gomoku-winning-qtuple-beg, gomoku-winning-qtuple-end)
(gomoku-winning-qtuple-dx, gomoku-winning-qtuple-dy): Pseudo variables
only used for non-functional argument passing deleted.
(gomoku-cross-winning-qtuple): Accordingly deleted function and
(gomoku-check-filled-qtuple): Accordingly adapted.
(gomoku-cross-qtuple): Don't be confused by tabs.
(gomoku-move-down, gomoku-move-up): Simplified because point is always
on square.
(gomoku-beginning-of-line, gomoku-end-of-line): New commands necessary
because intangible newlines perverted these.
1996-04-05 19:38:42 +00:00
Richard M. Stallman
f201b69e8c Comment change. 1996-03-24 13:14:21 +00:00
Richard M. Stallman
f5ecf0c903 Ancient leading comment removed.
(gomoku-mode-map): Added numeric keypad for 8 directions, changed
comments to lowercase (C-c rather than C-C), added SPC to play and
undo's binding to go back.
(gomoku-emacs-won, gomoku-font-lock-O-face, gomoku-font-lock-X-face)
(gomoku-font-lock-keywords):  New variables.
(gomoku-mode): Use it and make buffer read-only for user.
(gomoku-terminate-game): Remove (ding) -- maybe should be optonal.
(gomoku-init-display): Rewritten, makes fields intangible so you
can't go in between.  Make free fields have mouse-face.
(gomoku-cross-qtuple): Take account of intangible text, and that
empty lines are now really empty.
(gomoku-move-left, gomoku-move-right): Removed thanks to intangibility.
(gomoku-move-ne, -se, -nw, -sw): Use normal left / right motion.
1996-03-22 20:43:05 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
a7acbbe4d4 Comment fixes. 1996-01-05 22:21:28 +00:00
Karl Heuer
fe2bf2c299 Fix spelling of author's name. 1995-05-04 18:54:55 +00:00
Karl Heuer
3122bee9f9 (gomoku-human-plays): Change to C-c C-p.
(gomoku-human-takes-back): Change to C-c C-b.
(gomoku-human-resigns): Change to C-c C-r.
(gomoku-emacs-plays): Change to C-c C-e.
1995-05-02 23:52:13 +00:00
Karl Heuer
1faea684f8 (gomoku-display-statistics): Use force-mode-line-update. 1995-04-25 22:20:30 +00:00
Richard M. Stallman
65091471be (gomoku-click): New function.
(gomoku-mode-map): Put it on Mouse-2.
1994-11-19 14:52:57 +00:00
Richard M. Stallman
d9a62b4c38 (gomoku-display-statistics): Use human's point of view
for wins and losses.
(gomoku-number-of-emacs-wins): Renamed from gomoku-number-of-wins.
(gomoku-number-of-human-wins): Renamed from gomoku-number-losses.
1994-06-05 17:36:02 +00:00
Karl Heuer
8f1204db34 Update copyright. 1994-05-03 23:47:06 +00:00
Richard M. Stallman
0720cc69b6 (gomoku-init-display, gomoku-put-char):
Bind inhibit-read-only; don't set buffer-read-only.
1994-02-07 06:05:31 +00:00
Paul Eggert
f7e55318b4 (random-number): Remove.
All callers changed to use `random' instead.
1993-08-01 20:50:07 +00:00
Richard M. Stallman
d9a7a8f53e (gomoku): Make it autoload. 1992-09-26 22:49:36 +00:00
Jim Blandy
e8a57935cb entered into RCS 1992-08-04 04:15:43 +00:00
Eric S. Raymond
3a801d0c71 *** empty log message *** 1992-07-22 04:22:42 +00:00
Eric S. Raymond
e516799970 *** empty log message *** 1992-07-16 21:47:34 +00:00
Eric S. Raymond
1a06eabd17 *** empty log message *** 1992-05-30 23:12:08 +00:00
Jim Blandy
49116ac071 *** empty log message *** 1992-03-16 20:39:07 +00:00
Jim Blandy
92423534d9 *** empty log message *** 1991-03-05 23:01:17 +00:00
Joseph Arceneaux
4a07a2afa9 *** empty log message *** 1990-03-06 16:44:57 +00:00
Joseph Arceneaux
a2535589a9 Initial revision 1989-10-31 16:00:07 +00:00