From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
Cc: Jay P Belanger <jay.p.belanger@gmail.com>,
Eli Zaretskii <eliz@gnu.org>,
davep@davep.org, emacs-devel@gnu.org
Subject: Re: 5x5 Arithmetic solver
Date: Sat, 21 May 2011 20:31:24 -0300 [thread overview]
Message-ID: <jwv7h9jvdhw.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <80lixz9ay5.fsf@gmail.com> ("Vincent Belaïche"'s message of "Sat, 21 May 2011 20:15:46 +0200")
> 2011-05-21 Vincent Belaïche <vincentb1@users.sourceforge.net>
> * play/5x5.el: Add an arithmetic solver to suggest positions to
> click on. Make 5x5 multisession.
> (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
> (5x5-solver-output): New defvar, output of function
> `5x5-solve-suggest'.
> (5x5-local-variables): New defconst. List of variable to be made
> buffer local to achieve 5x5 multi-session-ness.
> (5x5): Set 5x5-grid-size only if SIZE is non-negative. Modify order
> of processing, as in order to achieve multi-session-ness you have to
> set `5x5-mode' first, as `5x5-mode' is what make session-dependent
> variables buffer local.
> (5x5-mode): Make session-dependent variables buffer local.
> (5x5-grid-to-vec): New defun. Convert a 5x5 game grid into a Calc
> matrix in Z/2Z.
> (5x5-vec-to-grid): New defun. Convert a Calc matrix in Z/2Z into a
> 5x5 game grid.
> (5x5-log-buffer): New defvar. Not defined, provisionned for
> debugging Arithmetric solver.
> (5x5-log-init): New defun. Defined to dummy, provisionned for
> debugging Arithmetric solver.
> (5x5-log): New defun. Defined to dummy, provisionned for debugging
> Arithmetric solver.
> (5x5-solver): New defun, make the actual algorithm of arithmetic
> solver, to be usable that function needs some wrapper to the 5x5
> user interace, this wapper is function `5x5-solve-suggest' for
> invocation, and function `5x5-draw-grid' for the diplay.
> (5x5-solve-suggest): New defun, invoke the arithmetic solver, and
> display solution.
Thanks. Note that usually when you add a new functions, you can just
say "(fun1, fun2, fun3): New functions" without having to explain what
it does.
Stfean
next prev parent reply other threads:[~2011-05-21 23:31 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-21 18:15 5x5 Arithmetic solver Vincent Belaïche
2011-05-21 19:03 ` Eli Zaretskii
2011-05-21 23:31 ` Stefan Monnier [this message]
2011-05-22 7:32 ` Vincent Belaïche
2011-05-22 19:09 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2011-05-22 20:35 Vincent Belaïche
2011-05-23 14:47 ` Stefan Monnier
2011-05-21 7:15 Vincent Belaïche
2011-05-21 7:49 ` Eli Zaretskii
2011-05-21 14:36 ` Vinicius Jose Latorre
2011-05-21 16:12 ` Vincent Belaïche
2011-05-21 23:29 ` Stefan Monnier
2011-05-19 20:21 Vincent Belaïche
2011-05-20 13:45 ` Stefan Monnier
2011-05-20 14:03 ` Antoine Levitt
2011-05-21 6:38 ` Vincent Belaïche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwv7h9jvdhw.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=davep@davep.org \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jay.p.belanger@gmail.com \
--cc=vincent.b.1@hotmail.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.