[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 153/255: safety measure when observing igs games
From: |
Eric Schulte |
Subject: |
[elpa] 153/255: safety measure when observing igs games |
Date: |
Sun, 16 Mar 2014 01:02:38 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit 6a0d4480cd2f3dff9e4c07c618d4999122b38105
Author: Eric Schulte <address@hidden>
Date: Sun Jun 3 11:37:05 2012 -0600
safety measure when observing igs games
---
back-ends/igs.el | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/back-ends/igs.el b/back-ends/igs.el
index 4f6b99b..9c45ed4 100644
--- a/back-ends/igs.el
+++ b/back-ends/igs.el
@@ -313,7 +313,8 @@ This is used to re-send messages to keep the IGS server
from timing out.")
(save-excursion (make-instance 'board
:buffer (go-board *igs-instance*
(make-instance 'sgf)))))
- (igs-send (format "moves %s" number))))
+ (when (aget (igs-current-game) :board)
+ (igs-send (format "moves %s" number)))))
(defun igs-update-game-info (info)
(let ((color (car info))
- [elpa] 147/255: igs implements the go back-end API, (continued)
- [elpa] 147/255: igs implements the go back-end API, Eric Schulte, 2014/03/15
- [elpa] 148/255: improved the setf method for aget, Eric Schulte, 2014/03/15
- [elpa] 150/255: more lenient regexp for matching game listing, Eric Schulte, 2014/03/15
- [elpa] 152/255: Revert "improved the setf method for aget", Eric Schulte, 2014/03/15
- [elpa] 154/255: don't quit main back-end when quitting a board, Eric Schulte, 2014/03/15
- [elpa] 158/255: beginning to translate svg images into elisp, Eric Schulte, 2014/03/15
- [elpa] 149/255: push all buffer-local variables into an igs object, Eric Schulte, 2014/03/15
- [elpa] 162/255: painting a nice svg board, but more to do, Eric Schulte, 2014/03/15
- [elpa] 159/255: translated all svg stone images into elisp, Eric Schulte, 2014/03/15
- [elpa] 164/255: prompt before quitting, Eric Schulte, 2014/03/15
- [elpa] 153/255: safety measure when observing igs games,
Eric Schulte <=
- [elpa] 163/255: sorted out different types of backgrounds, Eric Schulte, 2014/03/15
- [elpa] 168/255: adding option to play a sound during moves, Eric Schulte, 2014/03/15
- [elpa] 155/255: less permissive igs move regular expression, Eric Schulte, 2014/03/15
- [elpa] 166/255: board images working with backgrounds, Eric Schulte, 2014/03/15
- [elpa] 173/255: start gnugo process when object is created, Eric Schulte, 2014/03/15
- [elpa] 167/255: cleanup images in board faces, Eric Schulte, 2014/03/15
- [elpa] 170/255: fix spacing of labels when using image for display, Eric Schulte, 2014/03/15
- [elpa] 174/255: quit the main back-end as well, Eric Schulte, 2014/03/15
- [elpa] 160/255: removing stones/ directory, Eric Schulte, 2014/03/15
- [elpa] 175/255: support for playing different types of games, Eric Schulte, 2014/03/15