[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnugo 7484ea0 011/357: [gnugo maint] Add HACKING; prune
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnugo 7484ea0 011/357: [gnugo maint] Add HACKING; prune Commentary; nfc. |
Date: |
Sun, 29 Nov 2020 14:50:37 -0500 (EST) |
branch: externals/gnugo
commit 7484ea0869bd9ad5563302c8f7c117e84cb4ccb5
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>
[gnugo maint] Add HACKING; prune Commentary; nfc.
---
HACKING | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
gnugo.el | 38 --------------------------------
2 files changed, 76 insertions(+), 38 deletions(-)
diff --git a/HACKING b/HACKING
new file mode 100644
index 0000000..a4c2d36
--- /dev/null
+++ b/HACKING
@@ -0,0 +1,76 @@
+HACKING gnugo -*- org -*-
+
+This file is both a guide for newcomers and a todo list for oldstayers.
+
+* next (actually "first" (under ELPA) :-D)
+*** TODO code
+***** TODO Set ‘lexical-binding’.
+***** TODO Give ‘lambda’ commands a name and docstring.
+***** TODO Move gnugo-{put,get} doc elsewhere.
+***** TODO Loose the modernization!
+******* DONE ‘zerop’
+******* TODO ‘redisplay’ --
[[file:gnugo.el::defun.gnugo-magic-undo][gnugo-magic-undo]]
+******* TODO ‘(display (space :width 0))’ --
[[file:gnugo.el::defun.gnugo-toggle-image-display][gnugo-toggle-image-display]]
+******* TODO ‘(split-string ... t)’ -- [[file:gnugo.el][gnugo-animate-group]]
+***** TODO ??? Use process-{put,get}.
+***** TODO ??? Drop leading ?* in var docstrings.
+*** TODO Resolve maintenance musings.
+***** Any way to use ‘gnugo-version’ as ";; Version:"?
+***** Should SGF funcs be moved to sgf.el now?
+***** Is sgf.el better in-package or independent (but in ELPA)?
+***** Is ttn-style [[ChangeLog][ChangeLog discipline]] compatible w/ ELPA?
+***** What about related code?
+******* fulminate-gnugo-xpms.el
+******* gnugo-extra.el
+******* mokuxpms.tar.gz / mokuxpms-2.tar.gz / mokuxpms-3.tar.gz
+***** Fast-forward merge (rebase + push) OK?
+*** TODO Finish [[file:NEWS][NEWS]] archeology.
+* fix bugs
+*** [[file:gnugo.el::defun.gnugo-toggle-dead-group][gnugo-toggle-dead-group]]
only half-complete
+*** no error-handling in SGF parsing
+* ideas / wishlist
+*** add a few screenshots to package
+*** revamp image support
+*** talk GTP over the network
+*** "assist minor mode" (see gnugo-extra.el for work in progress)
+*** using assist minor mode, gnugo-v-gnugo (ibid)
+*** make gnugo (the external program) support query (read-only) thread
+*** extend GNUGO Board mode to manage another subprocess for analysis only
+*** command ‘C’ to add a comment to the SGF tree
+*** command ‘C-u =’ to label a position
+*** SGF tree display, traversal (belongs in sgf.el)
+*** review game history in another buffer
+*** branch subgame tree at arbitrary point
+*** subgame branch matriculation (maturity: child leaves the family)
+*** dribble the SGF tree
+*** "undo undo undoing"; integrate Emacs undo, GTP undo, subgame branching
+*** make buffer name format configurable (but enforce uniqueness)
+*** more tilde escapes for
[[file:gnugo.el::defvar.gnugo-mode-line][gnugo-mode-line]]
+*** make veneration configurable
+*** make animation more configurable; lift same-color-stones-only
+*** restriction; allow sequencing rather than lock-step; include sound
+*** [your hacking ideas here!]
+* tested with (newest first)
+ | Emacs | GNU Go |
+ |-----------+--------|
+ | 24.3.50.3 | 3.8 |
+ | ? | 3.6 |
+ | ? | 3.4 |
+ | ? | 3.3.15 |
+ | 22.0.50 | ? |
+ | 21.3 | ? |
+ |-----------+--------|
+ | <l> | <l> |
+* ChangeLog discipline
+*** sync w/ commit message
+*** format
+***** basic: TITLE LF LF [DISCUSSION...] LF LF CLASSIC
+***** short: TITLE "; nfc." [LF LF DISCUSSION...]
+* etc
+#+odd
+
+
+Copyright (C) 2014 Free Software Foundation, Inc.
+
+Copying and distribution of this file, with or without modification,
+are permitted provided the copyright notice and this notice are preserved.
diff --git a/gnugo.el b/gnugo.el
index d25b4c1..a8e8dc3 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -54,10 +54,6 @@
;; Please report the event to the GNU Go maintainers so that they can improve
;; the program.
;;
-;; This code was tested with:
-;; - GNU Emacs: 21.3 / 22.0.50 (from CVS)
-;; - GNU Go: 3.3.15 / 3.4 / 3.6
-;;
;;
;; Meta-Playing (aka Customizing)
;; ------------------------------
@@ -75,40 +71,6 @@
;; The variable `gnugo-xpms' is a special case. To set it you need to load
;; gnugo-xpms.el (http://www.emacswiki.org) or some other library w/ congruent
;; interface.
-;;
-;;
-;; Meta-Meta-Playing (aka Hacking)
-;; -------------------------------
-;;
-;; You may wish to first fix the bugs:
-;; - `gnugo-toggle-dead-group' only half-complete; see docstring for details
-;; - probably sgf handling is not 100% to spec
-;; - subprocess should provide scoring details, gnugo.el not yet blissful
-;;
-;; Otherwise (we can live w/ some bugs), here are some ideas:
-;; - talk GTP over the network
-;; - "assist minor mode" (see gnugo-extra.el for work in progress)
-;; - using assist minor mode, gnugo-v-gnugo (ibid)
-;; - extract GNUGO Board mode and sgf stuff into sgf.el; make gnugo.el use it
-;; - make gnugo (the external program) support query (read-only) thread
-;; so as to be able to lift "still waiting" restriction
-;; - alternatively, extend GNUGO Board mode to manage another subprocess
-;; dedicated to analysis (no genmove)
-;; - command `C' to add a comment to the sgf tree
-;; - command `C-u =' to label a position
-;; - sgf tree display, traversal (belongs in sgf.el); review game history
-;; in another buffer; branch subgame tree at arbitrary point
-;; - subgame branch matriculation (maturity: child leaves the family)
-;; - dribble the sgf tree
-;; - "undo undo undoing"; integrate Emacs undo, GTP undo, subgame branching
-;; - make buffer name format configurable (but enforce uniqueness)
-;; - more tilde escapes for `gnugo-mode-line'
-;; - make veneration configurable
-;; - make animation more configurable; lift same-color-stones-only
-;; restriction; allow sequencing rather than lock-step; include sound
-;; - [your hacking ideas here]
-;;
-;; Some gnugo.el hackers update http://www.emacswiki.org -- check it out!
;;; Code:
- [elpa] branch externals/gnugo created (now 2dd0aca), Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo bc60d05 002/357: Import gnugo.el from ttn-pers-elisp 1.59., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 6acac6c 008/357: [gnugo int] Use ‘zerop’., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 1cd92b7 009/357: [gnugo] Wait at most 30sec for subproc output chunk., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 41cca6d 001/357: Start building eventual package ‘gnugo’., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo c31cfb0 003/357: [gnugo] Adapt copyright notice to FSF, headers to ELPA., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo aedeff7 004/357: [gnugo maint] Add NEWS file; prune Commentary; nfc., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo fdb7810 005/357: [gnugo] Use ‘cl-labels’ instead of ‘flet’., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 9ec0f3e 007/357: [gnugo] Presume "modern" GNU Emacs., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 0893d87 010/357: [gnugo] Don't use ‘process-kill-buffer-query-function’., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 7484ea0 011/357: [gnugo maint] Add HACKING; prune Commentary; nfc.,
Stefan Monnier <=
- [elpa] externals/gnugo 5b0f262 012/357: [gnugo doc] Document version-number scheme., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo fee8b33 015/357: [gnugo int] Use ‘(split-string STR SEP t)’., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 7f961b7 016/357: [gnugo maint] Update "next" in HACKING; nfc., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo f84b823 018/357: [gnugo maint] Update a musing item in HACKING; nfc., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 0838a13 021/357: [gnugo gtp int] Use :post-thunk instead of :post-hook., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo e16a8d5 031/357: [gnugo int] Add abstraction: gnugo--unclose-game, Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 28da1b4 035/357: [gnugo int] Use ‘dolist’ and ‘destructuring-bind’., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 08b2a66 017/357: [gnugo] Indicate buffer not modified after save., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo 9893ff1 027/357: [gnugo int] Hang the sync-return-stash on the process object., Stefan Monnier, 2020/11/29
- [elpa] externals/gnugo b8b8763 037/357: [gnugo maint] Update "next" in HACKING; nfc., Stefan Monnier, 2020/11/29