1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Dave Love
cbf48ec9a2 (hanoi-internal): Don't use oddp. 2000-03-11 18:47:38 +00:00
Dave Love
55df774a8a Declare dynamic vars. 1999-08-19 15:23:23 +00:00
Karl Heuer
0b6e8742b7 Mostly rewritten. Customized. To support an s2G
doomsday clock, speed control is added and changes are made to
allow large numbers of rings: rings now show the whole ring
number, not just the last digit; consecutive rings are allowed to
be the same size when necessary to fit all the rings in the
window; and poles can be oriented horizontally.  Face support is
thrown in gratuitously.
(hanoi): Changed default number of rings back to 3.
(hanoi-unix, hanoi-unix-64): New commands
(hanoi-horizontal-flag, hanoi-move-period, hanoi-use-faces,
hanoi-pole-face, hanoi-base-face, hanoi-even-ring-face,
hanoi-odd-ring-face): New variables.
(hanoi-internal, hanoi-current-time-float, hanoi-put-face,
hanoi-n, hanoi-insert-ring, hanoi-goto-char, hanoi-sit-for,
hanoi-ring-to-pos, hanoi-pos-on-tower-p): New functions.
(hanoi-0): Renamed from hanoi0, for symmetry with hanoi-n.
(hanoi-topos, hanoi-draw-ring): Removed.
1999-08-14 03:24:48 +00:00
Karl Heuer
f5bb8a9e1b (hanoi): Don't show line and column numbers.
Compute height and width of the window in the correct way,
give the correct error message if the window is too small.
Make rings only with numerical characters.
Set default number of rings to 7 (was 3 before).
1996-02-16 00:12:27 +00:00
Karl Heuer
09d13f4cba (hanoi): Don't show line and column numbers. 1996-02-14 04:09:31 +00:00
Karl Heuer
433c31eb5f (hanoi): Use force-mode-line-update. 1995-04-25 22:29:35 +00:00
Roland McGrath
62daf326f2 Add (provide 'hanoi). 1993-07-08 19:06:38 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Eric S. Raymond
e41b2db1da Added or corrected Commentary sections 1993-03-22 03:27:18 +00:00
Jim Blandy
84df0b376f Tue Dec 1 22:34:42 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* hanoi.el (hanoi): If pole-spacing is odd, round down, not up.
	To see if the window is wide enough, just check if one half of a
	ring will fit inside pole-spacing.
1992-12-06 22:41:11 +00:00
Eric S. Raymond
9750e079dd entered into RCS 1992-07-22 04:22:30 +00:00
Eric S. Raymond
fc68affa4e *** empty log message *** 1992-07-16 07:28:05 +00:00
Richard M. Stallman
2f4b997c3d *** empty log message *** 1992-05-31 01:25:27 +00:00
Eric S. Raymond
1a06eabd17 *** empty log message *** 1992-05-30 23:12:08 +00:00
Jim Blandy
f9f9507e1d *** empty log message *** 1991-05-09 21:50:55 +00:00
Joseph Arceneaux
80a677d985 Initial revision 1990-03-06 16:45:37 +00:00