help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs chess.el help again to use chess-puzzle mode


From: rpd
Subject: Re: Emacs chess.el help again to use chess-puzzle mode
Date: Sun, 26 Jul 2009 14:01:57 -0700 (PDT)

Hi Helmut
Thanks for your helpful reply.
I already had the load path to chess directory/folder & (require
'chess-puzzle) in my .emacs file.
When I added (require 'chess) I was able to load the pgn file to start
chess-puzzle.
However every time I make a move I get an error message saying illegal move:

Debugger entered--Lisp error: (error "Illegal move")
  signal(error ("Illegal move"))
  error("Illegal move")
  chess-error(illegal-move)
  (lambda nil (chess-error (quote illegal-move)))()
  funcall((lambda nil (chess-error (quote illegal-move))))
  (setq result (funcall (cdar triggers)))
  (and (re-search-forward (caar triggers) (line-end-position) t) (setq
result (funcall ...)))
  (if (and (re-search-forward ... ... t) (setq result ...)) (progn (when ...
...) (setq triggers nil)) (setq last-trigger triggers triggers (cdr
triggers)))
  (while triggers (if (and ... ...) (progn ... ...) (setq last-trigger
triggers triggers ...)))
  (let ((case-fold-search nil) (triggers chess-engine-regexp-alist)
last-trigger result) (while triggers (if ... ... ...)))
  (while (and (not ...) (not last-line-no-newline)) (let (... ...
last-trigger result) (while triggers ...)) (if (= ... ...) (setq
last-line-no-newline t) (forward-line)))
  (unwind-protect (while (and ... ...) (let ... ...) (if ... ... ...)) (setq
chess-engine-last-pos (point) chess-engine-working nil))
  (save-excursion (if chess-engine-last-pos (goto-char
chess-engine-last-pos) (goto-char ...)) (unwind-protect (while ... ... ...)
(setq chess-engine-last-pos ... chess-engine-working nil)))
  (if chess-engine-working nil (setq chess-engine-working t) (save-excursion
(if chess-engine-last-pos ... ...) (unwind-protect ... ...)))
  (unless chess-engine-working (setq chess-engine-working t) (save-excursion
(if chess-engine-last-pos ... ...) (unwind-protect ... ...)))
  (save-current-buffer (set-buffer buf) (if (stringp proc) (setq string
proc) (let ... ... ...)) (unless chess-engine-working (setq
chess-engine-working t) (save-excursion ... ...)))
  (with-current-buffer buf (if (stringp proc) (setq string proc) (let ...
... ...)) (unless chess-engine-working (setq chess-engine-working t)
(save-excursion ... ...)))
  (progn (with-current-buffer buf (if ... ... ...) (unless
chess-engine-working ... ...)))
  (if (buffer-live-p buf) (progn (with-current-buffer buf ... ...)))
  (when (buffer-live-p buf) (with-current-buffer buf (if ... ... ...)
(unless chess-engine-working ... ...)))
  (let ((buf ...) (inhibit-redisplay t) last-point last-line-no-newline)
(when (buffer-live-p buf) (with-current-buffer buf ... ...)))
  chess-engine-filter(#<process chess-gnuchess> "Illegal move: Qh5\nWhite
(1) : ")

Do you know what this error is? (I could try & contact the author of
chess.el for help....).
Anyway many thanks for your reply & if you can help somemore with this
problem I am very grateful, thanks
-- 
View this message in context: 
http://www.nabble.com/Emacs-chess.el-help-again-to-connect-to-FICS-tp24662344p24670437.html
Sent from the Emacs - Help mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]