[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnugo 152c53c 354/357: [gnugo] Move two funcs internal.
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnugo 152c53c 354/357: [gnugo] Move two funcs internal. |
Date: |
Sun, 29 Nov 2020 14:51:56 -0500 (EST) |
branch: externals/gnugo
commit 152c53c2879618f213fe028bb096ca8217f19ade
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>
[gnugo] Move two funcs internal.
* packages/gnugo/gnugo.el (gnugo-put): Update docstring.
(gnugo--propertize-board-buffer):
Rename from ‘gnugo-propertize-board-buffer’.
(gnugo--merge-showboard-results):
Rename from ‘gnugo-merge-showboard-results’.
---
gnugo.el | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/gnugo.el b/gnugo.el
index b605d9c..cf155da 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -267,10 +267,7 @@ you may never really understand to any degree of personal
satisfaction\".
:waiting-start
:black-captures -- these are strings since gnugo.el doesn't do anything
- :white-captures w/ the information besides display it in the mode line;
- gory details in functions `gnugo-propertize-board-buffer'
- and `gnugo-merge-showboard-results' (almost more effort
- than they are worth!)
+ :white-captures w/ the information besides display it in the mode line
:display-using-images -- XPMs, to be precise; see functions `gnugo-yy',
`gnugo-image-display-mode' and `gnugo-refresh',
@@ -576,7 +573,7 @@ Otherwise, use the `car' of YANG. See `gnugo-yang'."
'intangible)
"Text property that controls intangibility.")
-(defun gnugo-propertize-board-buffer ()
+(defun gnugo--propertize-board-buffer ()
(erase-buffer)
(insert (substring (gnugo--q "showboard") 3))
(let* ((grid-props (list 'invisible :nogrid
@@ -662,7 +659,7 @@ Otherwise, use the `car' of YANG. See `gnugo-yang'."
(put-text-property (point) (line-end-position)
'category %gspc)))
-(defun gnugo-merge-showboard-results ()
+(defun gnugo--merge-showboard-results ()
(let ((aft (substring (gnugo--q "showboard") 3))
(adj 1) ; string to buffer position adjustment
@@ -936,7 +933,7 @@ For all other values of RSEL, do nothing and return nil."
(unless resignp
(gnugo--q/ue "play %s %s" color move))
(unless passp
- (gnugo-merge-showboard-results))
+ (gnugo--merge-showboard-results))
(gnugo-put :last-mover color)
(when (if simple
who
@@ -1085,7 +1082,7 @@ its move."
(dolist (group (apply #'append (mapcar #'cdr game-over)))
(gnugo--zonk-ovs (cdar group))
(setcdr (car group) nil))
- (gnugo-propertize-board-buffer))
+ (gnugo--propertize-board-buffer))
;; last move
(when move
(cl-destructuring-bind (l-ov . r-ov) (gnugo-get :paren-ov)
@@ -1681,7 +1678,7 @@ If FILENAME already exists, Emacs confirms that you wish
to overwrite it."
(gnugo--no-worries (gnugo--q "undo")))
(pop (aref monkey 0))
(gnugo-put :last-mover (gnugo-current-player))
- (gnugo-merge-showboard-results) ; all
+ (gnugo--merge-showboard-results) ; all
(gnugo-refresh) ; this
(redisplay)) ; eye candy
(let* ((ulastp (string= (gnugo-get :last-mover) user-color))
- [elpa] externals/gnugo da8901f 314/357: [gnugo] Release: 3.0.1, (continued)
- [elpa] externals/gnugo da8901f 314/357: [gnugo] Release: 3.0.1, Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo a667440 298/357: [gnugo int] Fix up gnugo-frolic.el ‘require’ forms., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo abd1fa0 315/357: [gnugo int] Use ‘replace-regexp-in-string’., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 2e6bbe5 300/357: [gnugo int] Whitespace, comment munging; nfc., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo c0f6ed5 328/357: [gnugo int] Comment munging; nfc., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo cf36ccd 331/357: [gnugo int] Whitespace munging; nfc., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo a70a854 336/357: [gnugo] Add abstraction: gnugo-aqr, Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 1eb43f1 342/357: [gnugo int] Add abstraction: gnugo--zonk-ovs, Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo abb12ef 345/357: [gnugo] Include seki groups in game-over data., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 82c5b64 351/357: [gnugo imgen] New fit func to ignore bottom grid line, Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 152c53c 354/357: [gnugo] Move two funcs internal.,
Stefan Monnier <=
- [elpa] externals/gnugo 5566285 026/357: [gnugo] Give names and docstrings to ‘lambda’ commands., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 62a7c8d 052/357: [gnugo slog] Specify second arg to ‘unintern’., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo eae8444 113/357: [gnugo int] Specify STREAM to ‘pp’ directly., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 00ae088 120/357: [gnugo int] Use ‘gnugo--tree-ends’ more., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo fa99b79 134/357: [gnugo int] Make ‘gnugo-board-buffer-p’ precise., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 8f99c83 151/357: [gnugo frolic int] Don't bother to awake w/ ‘col’., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 283534a 157/357: [gnugo sgf int] Consolidate loops., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 671d7aa 147/357: [gnugo frolic] Sync column headers w/ buffer text; handle offsets., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 45fe672 169/357: [gnugo int] Move :SZ access into ‘gnugo--as-pos-func’., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 5e24ee5 182/357: [gnugo int] Use GTP ‘reg_genmove’ instead of ‘genmove’., Stefan Monnier, 2020/11/29