Stefan Monnier [Fri, 23 May 2014 14:55:56 +0000 (10:55 -0400)]
* README: Update for new "Version: 0" convention.
* admin/forward-diffs.py: Adapt to different syntax.
* admin/archive-contents.el (archive--strip-rcs-id): Remove.
(batch-make-archive): Accept "Version: 0" to mean "don't publish".
(archive--metadata): Don't use archive--strip-rcs-id any more.
(archive--html-make-pkg): Handle the case where the is no `latest'.
(batch-html-make-index): Include unreleased packages.
Thien-Thi Nguyen [Thu, 22 May 2014 08:24:39 +0000 (10:24 +0200)]
[maint] Fix bug: Rewrite PKG-VER extraction.
Unfortunately, the inaugural run of this function gave bad results:
<http://lists.gnu.org/archive/html/info-gnu-emacs/2014-05/msg00001.html>.
* admin/update-archive.sh (announce_new): Take PKG-VER as $1;
rename local var ‘file’ to ‘pv’, ‘version’ to ‘ver’; rewrite sed
script; combine into one; use ‘eval’; add sanity check.
<staging>: Extract PKG-VER into var ‘pv’; use it for ‘dst’;
pass it to ‘announce_new’ instead of ‘f’.
Thien-Thi Nguyen [Wed, 21 May 2014 10:13:56 +0000 (12:13 +0200)]
[aa2u] New command: aa2u-mark-as-text
* packages/ascii-art-to-unicode/ascii-art-to-unicode.el
(aa2u--text-p): New defsubst.
(aa2u-phase-1, aa2u-phase-2): If the character
in question is ‘aa2u--text-p’, just ignore it.
(aa2u-mark-as-text): New command, w/ autoload cookie.
Mario Lang [Sun, 18 May 2014 13:23:44 +0000 (15:23 +0200)]
Initial import of chess.el.
Authors are John Wiegley and myself.
Piece images are not included yet, as we need to work out copyright yet.
Plan is to convert OpenClipart pieces to the required XPM format.
Version currently set to -1, will go to 2.0 on first release.
Thien-Thi Nguyen [Fri, 9 May 2014 16:06:42 +0000 (18:06 +0200)]
[aa2u] Make weight dynamically customizable.
* packages/ascii-art-to-unicode/ascii-art-to-unicode.el
(aa2u-uniform-weight): New defvar.
(aa2u-ucs-bd-uniform-name): Don't take arg WEIGHT;
instead, consult ‘aa2u-uniform-weight’.
(aa2u-phase-1, aa2u-replacement):
Update calls to ‘aa2u-ucs-bd-uniform-name’.
(aa2u): Mention new var in docstring.
* packages/ascii-art-to-unicode/ascii-art-to-unicode.el (aa2u):
Take optional arg INTERACTIVE; add "p" to ‘interactive’ form;
when INTERACTIVE and region is not active, set BEG, END.
Thien-Thi Nguyen [Sat, 3 May 2014 10:04:55 +0000 (12:04 +0200)]
[gnugo] Fix bug: For GTP "help COMMAND", leave point in right place.
* packages/gnugo/gnugo.el (:gnugo-gtp-command-spec help):
When COMMANd is specified and found, use a marker to hold its
position, and after moving point there, make it point nowhere.
Thien-Thi Nguyen [Fri, 2 May 2014 09:23:29 +0000 (11:23 +0200)]
[gnugo] Handle function for ‘gnugo-xpms’ value.
* packages/gnugo/gnugo.el (gnugo-xpms): Update docstring.
(gnugo-toggle-image-display): If ‘gnugo-xpms’
is a function, call it with the board size and
take its rv as the set of XPM images to use.
Eric Schulte [Thu, 1 May 2014 19:13:53 +0000 (15:13 -0400)]
remove coding conversion from main network process
This fixes a serious bug on windows in which the required \r\n line
endings were being automatically converted to a single \n. Thanks to
thesoftwarebin on github for identifying and diagnosing this problem,
and then confirming the fix.
Thien-Thi Nguyen [Thu, 1 May 2014 17:49:59 +0000 (19:49 +0200)]
[gnugo] Make climb-to-root "GNU Go to play" reaction customizable.
* packages/gnugo/gnugo.el (gnugo-undo-reaction): New defvar.
(gnugo--user-play): Inhibit karmic error for one-shot.
(gnugo--climb-towards-root): Don't take 2nd arg NOALT;
instead, take 2nd arg REACTION; drop "POS not occupied by COLOR"
check and error; rewrite handling for "GNU Go to play" case.
(gnugo-undo-one-move): Call ‘gnugo--climb-towards-root’ w/
‘gnugo-undo-reaction’ value clamped to ‘zombie’/‘one-shot’.
[gnugo] Replace abdication w/ Assist and Zombie minor modes.
* packages/gnugo/gnugo.el (gnugo--instant-karma): Delete func.
(gnugo--turn-the-wheel): New func.
(gnugo--finish-move): Take optional arg NOW;
call ‘gnugo--turn-the-wheel’ with it at end.
(gnugo-get-move-insertion-filter): Don't do :abd update.
(gnugo--karma): New func.
(gnugo--:karma): New defsubst.
(gnugo--user-play): Signal ‘user-error’ if current player karmic;
don't call ‘gnugo-get-move’; call ‘gnugo--finish-move’ w/ NOW ‘t’.
(gnugo--dance-dance): New func.
(gnugo--who-is-who): On switch, also flip karma.
(gnugo--climb-towards-root): Don't call ‘gnugo-get-move’;
instead, temporarily make :gnugo-color unkarmic
around call to ‘gnugo--turn-the-wheel’.
(gnugo-toggle-abdication): Delete command.
(gnugo--struggle): New func.
(gnugo-assist-mode, gnugo-zombie-mode): New commands.
(gnugo): Init :wheel; don't call ‘gnugo-get-move’;
instead, call ‘gnugo--turn-the-wheel’.
(gnugo-board-mode-map): Bind ‘C-c C-a’ to ‘gnugo-assist-mode’;
add binding for ‘C-c C-z’.
[gnugo int] Maintain current buffer in ‘gnugo--finish-move’.
* packages/gnugo/gnugo.el (gnugo--finish-move):
Don't take arg BUF; instead, note and restore
the current buffer around the call to ‘run-hooks’.
(gnugo-get-move-insertion-filter)
(gnugo-user-play): Update accordingly.
Stefan Monnier [Tue, 29 Apr 2014 05:13:19 +0000 (01:13 -0400)]
* nlinum.el (nlinum-format): New custom variable.
(nlinum--region): Change calling convention of nlinum-format-function.
(nlinum-format-function): Change default value accordingly; Use nlinum-format;
Try to generate less garbage.