[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 04/08: [gnugo] Allow user to request suggestion for GNU Go.
From: |
Thien-Thi Nguyen |
Subject: |
[elpa] 04/08: [gnugo] Allow user to request suggestion for GNU Go. |
Date: |
Wed, 23 Apr 2014 09:00:23 +0000 |
ttn pushed a commit to branch master
in repository elpa.
commit 9e775ebb53bdf644375441eaace50f549de0a98b
Author: Thien-Thi Nguyen <address@hidden>
Date: Tue Apr 22 12:20:58 2014 +0200
[gnugo] Allow user to request suggestion for GNU Go.
* packages/gnugo/gnugo.el (gnugo-get-move-insertion-filter):
Include color in suggestion message.
(gnugo-request-suggestion): Use ‘gnugo-current-player’.
---
packages/gnugo/gnugo.el | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index 6387646..30090a9 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -1643,9 +1643,9 @@ its move."
(unless (or (gnugo--passp full)
(eq 'nowarp suggestion))
(gnugo-goto-pos full))
- (message "%sSuggestion: %s"
+ (message "%sSuggestion for %s: %s"
(gnugo-get :diamond)
- full))
+ color full))
(let* ((donep (gnugo-push-move color full))
(buf (current-buffer)))
(gnugo--finish-move buf)
@@ -1701,7 +1701,7 @@ cursor to the suggested position. Prefix arg inhibits
warp."
(interactive "P")
(gnugo-gate t)
(gnugo--rename-buffer-portion)
- (gnugo-get-move (gnugo-get :user-color)
+ (gnugo-get-move (gnugo-current-player)
(if nowarp
'nowarp
t)))
- [elpa] branch master updated (8dd2888 -> 2c6fa1d), Thien-Thi Nguyen, 2014/04/23
- [elpa] 02/08: [gnugo int] Use ‘destr ucturing-bind’ more., Thien-Thi Nguyen, 2014/04/23
- [elpa] 03/08: [gnugo] Fix bug: DTRT for s uggestion ‘nowarp’ check., Thien-Thi Nguyen, 2014/04/23
- [elpa] 05/08: [gnugo] On disable, transform in-flight user-move into suggestion., Thien-Thi Nguyen, 2014/04/23
- [elpa] 01/08: [gnugo] Allow user to move for GNU Go., Thien-Thi Nguyen, 2014/04/23
- [elpa] 08/08: [gnugo maint] Update HACKING; nfc., Thien-Thi Nguyen, 2014/04/23
- [elpa] 04/08: [gnugo] Allow user to request suggestion for GNU Go.,
Thien-Thi Nguyen <=
- [elpa] 06/08: [gnugo] Fix bug: Use ‘ gnugo-gate’ for abdication enable., Thien-Thi Nguyen, 2014/04/23
- [elpa] 07/08: [gnugo int] Use ‘gnugo -current-player’ more., Thien-Thi Nguyen, 2014/04/23