[elpa] 01/01: [poker] Add to the games menu.
mlang pushed a commit to branch master in repository elpa. commit 4e3f655eb2b26cabef9d0d533fdad844ab0b5e7b Author: Mario Lang Date: Wed Jun 18 13:38:49 2014 +0200 [poker] Add to the games menu. --- packages/poker/poker.el |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/packages/poker/poker.el b/packages/poker/poker.el index d57a851..c7a33a5 100644 --- a/packages/poker/poker.el +++ b/packages/poker/poker.el @@ -830,6 +830,12 @@ FCR-FN specifies a function to use when a fold-call-raise decision is required." (cons players rounds))) + +;;;###autoload +(define-key menu-bar-games-menu + [poker] '(menu-item "Texas hold'em poker" poker + :help "Play texas hold'em poker")) + ;;; Tests: (ert-deftest poker-combinations ()
[elpa] branch master updated (69899e9 -> 4e3f655)
mlang pushed a change to branch master in repository elpa. from 69899e9 README: Use remote.origin.url to avoid loosing write access and save some typing. new 4e3f655 [poker] Add to the games menu. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: packages/poker/poker.el |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-)
[elpa] 01/01: [chess] Package is maintained *in* ELPA.
mlang pushed a commit to branch master in repository elpa. commit d8c84a139e138264f39ca5fbe2817f954b3cbc6b Author: Mario Lang Date: Wed Jun 18 21:25:33 2014 +0200 [chess] Package is maintained *in* ELPA. --- externals-list |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/externals-list b/externals-list index adfb0ff..473b867 100644 --- a/externals-list +++ b/externals-list @@ -20,7 +20,7 @@ (("ack":subtree "https://github.com/leoliu/ack-el";) ("auctex" :external "git://git.sv.gnu.org/auctex.git") ;;FIXME:("cedet" :external "??") - ("chess" :external "https://github.com/jwiegley/emacs-chess.git";) + ("chess" :external "moved from https://github.com/jwiegley/emacs-chess.git";) ("coffee-mode":subtree "https://github.com/defunkt/coffee-mode";) ("company":subtree "https://github.com/company-mode/company-mode.git";) ("diff-hl":subtree "https://github.com/dgutov/diff-hl.git";)
[elpa] branch master updated (4e3f655 -> d8c84a1)
mlang pushed a change to branch master in repository elpa. from 4e3f655 [poker] Add to the games menu. new d8c84a1 [chess] Package is maintained *in* ELPA. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: externals-list |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
[elpa] branch externals/chess updated (2549435 -> a4443ab)
mlang pushed a change to branch externals/chess in repository elpa. from 2549435 Release 2.0.2. new dc18a3b * chess.el Add to games menu. new a4443ab Unbreak recursive require between chess-display and chess-pgn. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: chess-ai.el |6 -- chess-common.el |3 ++- chess-display.el |7 +-- chess-engine.el |2 ++ chess-ics.el |3 +++ chess-pgn.el |1 - chess.el |3 +++ 7 files changed, 19 insertions(+), 6 deletions(-)
[elpa] 01/02: * chess.el Add to games menu.
mlang pushed a commit to branch externals/chess in repository elpa. commit dc18a3b41633b13104329e85903ff15097f7bfcd Author: Mario Lang Date: Wed Jun 18 23:44:39 2014 +0200 * chess.el Add to games menu. --- chess-ics.el |3 +++ chess.el |3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/chess-ics.el b/chess-ics.el index 0e44187..ca2aaab 100644 --- a/chess-ics.el +++ b/chess-ics.el @@ -827,6 +827,9 @@ This function should be put on `comint-preoutput-filter-functions'." (accept-process-output (get-buffer-process (current-buffer)) 0 100))) (switch-to-buffer buf))) +;;;###autoload +(define-key menu-bar-games-menu [chess-ics] '(menu-item "Internet Chess Servers" chess-ics :help "Play Chess on the Internet")) + ;;; ICC datagrams ;; See http://www.chessclub.com/resources/formats/formats.txt diff --git a/chess.el b/chess.el index e45eee9..00f06ac 100644 --- a/chess.el +++ b/chess.el @@ -235,6 +235,9 @@ Otherwise use `chess-default-engine' to determine the engine." (defalias 'chess-session 'chess) ;;;###autoload +(define-key menu-bar-games-menu [chess] '(menu-item "Chess" chess :help "Play Chess")) + +;;;###autoload (defun chess-create-display (perspective &optional modules-too) "Create a display, letting the user's customization decide the style. If MODULES-TOO is non-nil, also create and associate the modules
[elpa] 02/02: Unbreak recursive require between chess-display and chess-pgn.
mlang pushed a commit to branch externals/chess in repository elpa. commit a4443ab82ddd636db096c96c531787bf9c4e79f6 Author: Mario Lang Date: Wed Jun 18 23:48:45 2014 +0200 Unbreak recursive require between chess-display and chess-pgn. --- chess-ai.el |6 -- chess-common.el |3 ++- chess-display.el |7 +-- chess-engine.el |2 ++ chess-pgn.el |1 - 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/chess-ai.el b/chess-ai.el index 06cee58..1a19f34 100644 --- a/chess-ai.el +++ b/chess-ai.el @@ -30,11 +30,11 @@ ;;; Code: -(require 'chess) +(require 'chess-algebraic) (require 'chess-common) (require 'chess-polyglot) -(require 'chess-pos) (require 'chess-ply) +(require 'chess-pos) (require 'cl-lib) (defgroup chess-ai () @@ -306,6 +306,8 @@ DEPTH defaults to the value of `chess-ai-depth'." (1+ most-negative-fixnum) most-positive-fixnum (or eval-fn #'chess-ai-eval-static +(defvar chess-full-name) + (defun chess-ai-handler (game event &rest args) (unless chess-engine-handling-event (cond diff --git a/chess-common.el b/chess-common.el index 7de9196..a574288 100644 --- a/chess-common.el +++ b/chess-common.el @@ -31,7 +31,6 @@ ;;; Code: -(require 'chess) (require 'chess-engine) (require 'chess-message) @@ -57,6 +56,8 @@ (illegal-move . "Illegal move") (not-yet-implemented . "This feature is not yet implemented"))) +(defvar chess-full-name) + (defun chess-common-handler (game event &rest args) "Initialize the network chess engine." (cond diff --git a/chess-display.el b/chess-display.el index 439bc2d..537ac6c 100644 --- a/chess-display.el +++ b/chess-display.el @@ -29,7 +29,6 @@ (require 'chess-input) (require 'chess-message) (require 'chess-module) -(require 'chess-pgn) (require 'chess-random) (require 'chess-var) @@ -714,6 +713,8 @@ The key bindings available in this mode are: (interactive "sSet from FEN string: ") (chess-display-set-position nil (chess-fen-to-pos fen))) +(declare-function chess-game-to-pgn "chess-pgn" (game &optional indented to-string)) + (defun chess-display-kill-board (&optional arg) "Send the current board configuration to the user." (interactive "P") @@ -725,6 +726,8 @@ The key bindings available in this mode are: (buffer-string))) (kill-new (chess-pos-to-fen (chess-display-position nil) t) +(declare-function chess-pgn-to-game "chess-pgn" (&optional string)) + (defun chess-display-yank-board () "Send the current board configuration to the user." (interactive) @@ -1042,7 +1045,7 @@ to the end or beginning." (define-key map [(control ?l)] 'chess-display-redraw) (define-key map [(control ?i)] 'chess-display-invert) -(define-key map [tab] 'chess-display-invert) +(define-key map "\t" 'chess-display-invert) (define-key map [??] 'describe-mode) (define-key map [?L] 'chess-display-list-buffers) diff --git a/chess-engine.el b/chess-engine.el index 0fef4b0..3672a43 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -19,6 +19,8 @@ ;;; Code: +(require 'chess-algebraic) +(require 'chess-fen) (require 'chess-module) (defgroup chess-engine nil diff --git a/chess-pgn.el b/chess-pgn.el index 8001c67..347f28b 100644 --- a/chess-pgn.el +++ b/chess-pgn.el @@ -54,7 +54,6 @@ ;;; Code: -(require 'chess) (require 'chess-algebraic) (require 'chess-display) (require 'chess-fen)