[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 246/255: customizable default gnugo options
From: |
Eric Schulte |
Subject: |
[elpa] 246/255: customizable default gnugo options |
Date: |
Sun, 16 Mar 2014 01:02:57 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit bb9886d462097244efe0574ccf5d999c393c9754
Author: Eric Schulte <address@hidden>
Date: Fri Aug 23 15:44:18 2013 -0600
customizable default gnugo options
---
back-ends/gnugo.el | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/back-ends/gnugo.el b/back-ends/gnugo.el
index 8d1b9d2..0c909e4 100644
--- a/back-ends/gnugo.el
+++ b/back-ends/gnugo.el
@@ -41,6 +41,11 @@
(defvar gnugo-program "gnugo"
"Path to gnugo executable.")
+(defvar gnugo-options nil
+ "List of default options to gnugo.
+For example, the following changes the level of gnugo.
+ (setq gnugo-options (list \"--level\" \"2\"))")
+
(defvar gnugo-process-name "gnugo"
"Name for the gnugo process.")
@@ -49,7 +54,7 @@
gnugo-process-name
gnugo-program nil
"--mode" "gtp" "--quiet"
- options)))
+ (or options gnugo-options))))
(with-current-buffer buffer (comint-mode))
buffer))
- [elpa] 223/255: use igs-re-cond to handle prompts, (continued)
- [elpa] 223/255: use igs-re-cond to handle prompts, Eric Schulte, 2014/03/15
- [elpa] 224/255: handle IGS shouts, Eric Schulte, 2014/03/15
- [elpa] 226/255: remove shouts from comments, Eric Schulte, 2014/03/15
- [elpa] 151/255: Revert "push all buffer-local variables into an igs object", Eric Schulte, 2014/03/15
- [elpa] 237/255: thoughts about browser-based implementation, Eric Schulte, 2014/03/15
- [elpa] 236/255: factor general comint utils out of igs.el, Eric Schulte, 2014/03/15
- [elpa] 192/255: two consecutive passes ends the game, Eric Schulte, 2014/03/15
- [elpa] 210/255: using curry, rcurry and compose helpers, Eric Schulte, 2014/03/15
- [elpa] 203/255: adding GPL copyright file, Eric Schulte, 2014/03/15
- [elpa] 243/255: undo through gtp pipe, Eric Schulte, 2014/03/15
- [elpa] 246/255: customizable default gnugo options,
Eric Schulte <=
- [elpa] 241/255: igs class definitions up front for better loading, Eric Schulte, 2014/03/15
- [elpa] 247/255: notes, Eric Schulte, 2014/03/15
- [elpa] 235/255: better line truncation, Eric Schulte, 2014/03/15
- [elpa] 250/255: mark dead stones at end of game, Eric Schulte, 2014/03/15
- [elpa] 229/255: igs TODO: consistent game un-observation, Eric Schulte, 2014/03/15
- [elpa] 242/255: need assoc for aget, Eric Schulte, 2014/03/15
- [elpa] 228/255: refresh the game list buffer, Eric Schulte, 2014/03/15
- [elpa] 211/255: scale column width by buffer width, Eric Schulte, 2014/03/15
- [elpa] 233/255: igs handle adjourned and resigned games, Eric Schulte, 2014/03/15
- [elpa] 244/255: igs-pipe handles resignation and comments, Eric Schulte, 2014/03/15