]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
10 years agoUpdate Minimap to version 1.2.
David Engster [Tue, 11 Mar 2014 22:05:56 +0000 (23:05 +0100)]
Update Minimap to version 1.2.

- Change some defaults: better colors, reduced update delay.
- `minimap-tag-only': New experimental feature to only display an
  'abstract view' of the buffer with overlays generated from
  Semantic information.  Works only for buffers parsed by Semantic.
- `minimap-highlight-line': Highlight current line in Minimap.
- Fix autoloads.
- Display lines denoting beginning/end of functions in Semantic
  overlays.

10 years ago[gnugo] Make ‘C-u M-u’ switch roles.
Thien-Thi Nguyen [Tue, 11 Mar 2014 04:40:05 +0000 (05:40 +0100)]
[gnugo] Make ‘C-u M-u’ switch roles.

* packages/gnugo/gnugo.el (gnugo-undo-one-move):
Add optional arg SWITCH; if specified, arrange for user
to play the color of the next move (and GNU Go the opposite).

10 years ago[gnugo int] Add abstraction: gnugo--who-is-who
Thien-Thi Nguyen [Tue, 11 Mar 2014 04:35:30 +0000 (05:35 +0100)]
[gnugo int] Add abstraction: gnugo--who-is-who

* packages/gnugo/gnugo.el (gnugo--who-is-who): New func.
(gnugo-read-sgf-file): Use it.

10 years agoFix up copyright headers.
Stefan Monnier [Mon, 10 Mar 2014 19:33:08 +0000 (15:33 -0400)]
Fix up copyright headers.

10 years ago[gnugo] Bind ‘M-u’ to ‘gnugo-undo-one-move’.
Thien-Thi Nguyen [Mon, 10 Mar 2014 17:11:30 +0000 (18:11 +0100)]
[gnugo] Bind ‘M-u’ to ‘gnugo-undo-one-move’.

* packages/gnugo/gnugo.el (gnugo-board-mode-map): ...here.

10 years ago[gnugo maint] Update NEWS; nfc.
Thien-Thi Nguyen [Mon, 10 Mar 2014 17:09:54 +0000 (18:09 +0100)]
[gnugo maint] Update NEWS; nfc.

10 years agoadd web-server upstream repo to externals-list
Eric Schulte [Mon, 10 Mar 2014 05:43:38 +0000 (23:43 -0600)]
add web-server upstream repo to externals-list

* externals-list: Add web-server upstream repo.

10 years agoAdd 'packages/web-server/' from commit 'd0b6ae9df6014db2195da0081dc97cc8246f1fda'
Eric Schulte [Mon, 10 Mar 2014 16:52:42 +0000 (10:52 -0600)]
Add 'packages/web-server/' from commit 'd0b6ae9df6014db2195da0081dc97cc8246f1fda'

git-subtree-dir: packages/web-server
git-subtree-mainline: f64a8011734dc6bfdbc45b26fd4ff4310790e69f
git-subtree-split: d0b6ae9df6014db2195da0081dc97cc8246f1fda

10 years agoREADME and install instructions mention GNU ELPA
Eric Schulte [Mon, 10 Mar 2014 16:50:30 +0000 (10:50 -0600)]
README and install instructions mention GNU ELPA

* NOTES: Install instructions mention GNU ELPA.

* README: Mention usage in Cask, and also the ability to install through
  the ELPA.

10 years agoadding .elpaignore to keep extra file from package
Eric Schulte [Mon, 10 Mar 2014 16:23:49 +0000 (10:23 -0600)]
adding .elpaignore to keep extra file from package

* .elpaignore: Keep supplementary files out of the ELPA repo.

10 years ago[gnugo int] Use ‘incf’ more.
Thien-Thi Nguyen [Mon, 10 Mar 2014 11:35:19 +0000 (12:35 +0100)]
[gnugo int] Use ‘incf’ more.

* packages/gnugo/gnugo.el
(gnugo-merge-showboard-results)
(gnugo-display-final-score): ...here.

10 years ago[gnugo int] Add abstraction: gnugo--compare-strings
Thien-Thi Nguyen [Mon, 10 Mar 2014 10:11:55 +0000 (11:11 +0100)]
[gnugo int] Add abstraction: gnugo--compare-strings

* packages/gnugo/gungo.el (gnugo--compare-strings): New defsubst.
(gnugo--q, gnugo-merge-showboard-results): Use it.

10 years ago[gnugo int] Use ‘loop’, functional style more.
Thien-Thi Nguyen [Mon, 10 Mar 2014 10:02:17 +0000 (11:02 +0100)]
[gnugo int] Use ‘loop’, functional style more.

* packages/gnugo/gnugo.el (gnugo-describe-internal-properties):
...here, for collecting/massaging ‘gnugo-state’,
instead of ‘maphash’, "manual" destructuring, mutation.

10 years ago[gnugo int] Associate process w/ buffer immediately.
Thien-Thi Nguyen [Sun, 9 Mar 2014 14:52:46 +0000 (15:52 +0100)]
[gnugo int] Associate process w/ buffer immediately.

* packages/gnugo/gnugo.el (gnugo-board-mode):
...here, via ‘start-process’ 2nd arg BUFFER.

10 years ago[gnugo int] Avoid redundant calls to ‘gnugo-get’.
Thien-Thi Nguyen [Sun, 9 Mar 2014 14:43:07 +0000 (15:43 +0100)]
[gnugo int] Avoid redundant calls to ‘gnugo-get’.

* packages/gnugo/gnugo.el (gnugo-move-history):
(gnugo-read-sgf-file, gnugo-magic-undo, gnugo-display-final-score)
(gnugo-board-mode): Add local vars to save ‘gnugo-get’ values.

10 years ago[gnugo int] Add abstraction: gnugo--begin-exchange
Thien-Thi Nguyen [Sun, 9 Mar 2014 09:38:20 +0000 (10:38 +0100)]
[gnugo int] Add abstraction: gnugo--begin-exchange

* gnugo.el (gnugo-send-line): Delete func.
(gnugo--begin-exchange): New func.
(gnugo--q, gnugo-get-move): Use it.

10 years ago[gnugo int] Elide single-use local var.
Thien-Thi Nguyen [Sat, 8 Mar 2014 13:48:11 +0000 (14:48 +0100)]
[gnugo int] Elide single-use local var.

Omission from 2014-03-06, "Streamline subproc (de-)marshalling".

* gnugo.el (gnugo--q): ...here, for var ‘so-far’.

10 years ago[gnugo int] Use ‘pcase’ more.
Thien-Thi Nguyen [Sat, 8 Mar 2014 13:20:09 +0000 (14:20 +0100)]
[gnugo int] Use ‘pcase’ more.

* gnugo.el (gnugo-move-history):
...here, instead of ‘if’ + ‘case’.

10 years agoassign copyright to FSF
Eric Schulte [Fri, 7 Mar 2014 04:12:17 +0000 (21:12 -0700)]
assign copyright to FSF

10 years agognu elpa wants a "Maintainer:" pseudo-header
Eric Schulte [Fri, 7 Mar 2014 04:09:11 +0000 (21:09 -0700)]
gnu elpa wants a "Maintainer:" pseudo-header

10 years ago[gnugo maint] Reindent; nfc.
Thien-Thi Nguyen [Thu, 6 Mar 2014 16:27:18 +0000 (17:27 +0100)]
[gnugo maint] Reindent; nfc.

10 years ago[gnugo int] Use ‘eq’ less.
Thien-Thi Nguyen [Thu, 6 Mar 2014 11:44:42 +0000 (12:44 +0100)]
[gnugo int] Use ‘eq’ less.

* gnugo.el (gnugo-sentinel): Use ‘memq’.
(gnugo-move-history finish): New func.
(gnugo-move-history): Use ‘if’, ‘case’, ‘finish’.
(:gnugo-gtp-command-spec help): Use ‘if’, ‘case’.

10 years ago[gnugo int] Streamline subproc (de-)marshalling.
Thien-Thi Nguyen [Thu, 6 Mar 2014 10:33:16 +0000 (11:33 +0100)]
[gnugo int] Streamline subproc (de-)marshalling.

* packages/gnugo/gnugo.el (gnugo--q):
Rename from ‘gnugo-synchronous-send/return’;
change args from MESSAGE to FMT and ARGS;
apply ‘format’ if non-null ARGS;
use ‘compare-strings’ instead of ‘string-match’;
use separate state to signal finish instead of type change;
don't bother with ‘current-time’; return string.
(gnugo-query): Update call, docstring.
(gnugo-propertize-board-buffer, gnugo-merge-showboard-results)
(gnugo-move, gnugo-pass, gnugo-display-group-data)
(gnugo-read-sgf-file, gnugo-magic-undo, gnugo-command): Update calls.

10 years ago[gnugo int] Use ‘dolist’, ‘destructuring-bind’ more.
Thien-Thi Nguyen [Tue, 4 Mar 2014 09:33:36 +0000 (10:33 +0100)]
[gnugo int] Use ‘dolist’, ‘destructuring-bind’ more.

* packages/gnugo/gnugo.el (gnugo-board-mode): ...here,
instead of ‘mapc’ + ‘apply’, for post-‘-l’ fixup.

10 years agoMerge remote-tracking branch 'ggtags/master'
Leo Liu [Sat, 1 Mar 2014 09:55:20 +0000 (17:55 +0800)]
Merge remote-tracking branch 'ggtags/master'

10 years agoDoc fix
Leo Liu [Sat, 1 Mar 2014 09:53:31 +0000 (17:53 +0800)]
Doc fix

10 years ago[gnugo] Release: 2.3.1
Thien-Thi Nguyen [Thu, 27 Feb 2014 14:27:44 +0000 (15:27 +0100)]
[gnugo] Release: 2.3.1

* packages/gnugo/gnugo.el [Version]: Bump to "2.3.1".
(gnugo-version): Bump to "2.3.1".

10 years ago[gnugo slog] Fix bug: Avoid ‘cl-lib’ funcs; use only macros.
Thien-Thi Nguyen [Thu, 27 Feb 2014 09:45:05 +0000 (10:45 +0100)]
[gnugo slog] Fix bug: Avoid ‘cl-lib’ funcs; use only macros.

This silences byte-compiler warnings under Emacs 24.4.
Regression introduced 2014-01-30, "Use ‘cl-labels’ instead of ‘flet’".
Reported by Juanma Barranquero:
<http://lists.gnu.org/archive/html/gnu-emacs-sources/2014-02/msg00016.html>.

* gnugo.el: Don't require ‘cl-lib’;
instead, require ‘cl’, and wrap with ‘eval-when-compile’.
(gnugo-animate-group): Use ‘loop’, ‘zerop’, ‘logand’.
(gnugo-describe-position): Use ‘loop’.

10 years ago[gnugo slog] Specify second arg to ‘unintern’.
Juanma Barranquero [Wed, 26 Feb 2014 10:41:34 +0000 (11:41 +0100)]
[gnugo slog] Specify second arg to ‘unintern’.

* packages/gnugo/gnugo.el (gnugo-cleanup): ...here.

10 years agoNew customizable variable ggtags-mode-sticky
Leo Liu [Wed, 26 Feb 2014 16:23:31 +0000 (00:23 +0800)]
New customizable variable ggtags-mode-sticky

10 years agodangerous example; web-socket comint shell buffer
Eric Schulte [Wed, 26 Feb 2014 05:56:17 +0000 (22:56 -0700)]
dangerous example; web-socket comint shell buffer

10 years agoUse --color=always in ggtags-global-build-command
Leo Liu [Wed, 26 Feb 2014 04:04:53 +0000 (12:04 +0800)]
Use --color=always in ggtags-global-build-command

Required for windows and dos.

10 years agoTrigger ggtags-update-tags based on visited file modtime
Leo Liu [Wed, 26 Feb 2014 02:20:07 +0000 (10:20 +0800)]
Trigger ggtags-update-tags based on visited file modtime

10 years agoFixes: debbugs:16671
Stefan Monnier [Tue, 25 Feb 2014 14:18:51 +0000 (09:18 -0500)]
Fixes: debbugs:16671
* cl-lib.el (cl-position, cl-delete-duplicate): Don't advise if >=24.3.
(load-path): Try to make sure we're at the end.

10 years agoMerge remote-tracking branch 'ggtags/master'
Leo Liu [Tue, 25 Feb 2014 08:42:30 +0000 (16:42 +0800)]
Merge remote-tracking branch 'ggtags/master'

10 years agoNew hook ggtags-global-next-error-hook
Leo Liu [Tue, 25 Feb 2014 08:11:09 +0000 (16:11 +0800)]
New hook ggtags-global-next-error-hook

Reduce ggtags-project-duration to 600.

10 years agoFix error: GTAGSCONF must be absolute path name
Leo Liu [Tue, 25 Feb 2014 05:38:22 +0000 (13:38 +0800)]
Fix error: GTAGSCONF must be absolute path name

gtags complains if GTAGSCONF path contains ~, for example
~/projects/msc/.globalrc

10 years agoFix up copyright_exceptions
Stefan Monnier [Tue, 25 Feb 2014 03:31:17 +0000 (22:31 -0500)]
Fix up copyright_exceptions

10 years agoMinimap: Set `truncate-lines' directly.
David Engster [Mon, 24 Feb 2014 21:44:38 +0000 (22:44 +0100)]
Minimap: Set `truncate-lines' directly.

(minimap-new-minimap, minimap-create-window): Directly set
`truncate-lines' to avoid message.

10 years agoMinimap: Update to version 1.1.
David Engster [Mon, 24 Feb 2014 21:14:38 +0000 (22:14 +0100)]
Minimap: Update to version 1.1.

- Largely rewritten as a minor mode; use M-x minimap-mode to
  enable/disable.
- Minimap will now remain active for all buffers which derive from
  `prog-mode' (can be changed through `minimap-major-modes').  The
  minimap window will be automatically created or deleted (see new
  variables `minimap-recreate-window' and
  `minimap-automatically-delete-window').
- Possibility to set a minimum width of the minimap window
  (`minimap-minimum-width').
- Minimap window will be marked so that you should not be able to
  enter it.
- Semantic overlays will be automatically updated during editing.
- Lots of bug fixes.

10 years agoFix ggtags-highlight-tag-map to avoid 'undefined' error
Leo Liu [Mon, 24 Feb 2014 18:48:03 +0000 (02:48 +0800)]
Fix ggtags-highlight-tag-map to avoid 'undefined' error

for example <S-mouse-1> is undefined.

10 years agoMake use of colored output to calulate column
Leo Liu [Mon, 24 Feb 2014 15:40:56 +0000 (23:40 +0800)]
Make use of colored output to calulate column

and enable it for grep and ctags-x output formats.

The cscope output format doesn't include leading blank from the source
text so cannot calculate column without support from compile.

10 years ago[gnugo] Release: 2.3.0
Thien-Thi Nguyen [Mon, 24 Feb 2014 12:23:51 +0000 (13:23 +0100)]
[gnugo] Release: 2.3.0

* packages/gnugo/gnugo.el [Version]: Bump to "2.3.0".
(gnugo-version): Bump to "2.3.0".

10 years ago[gnugo maint] Update NEWS, HACKING; nfc.
Thien-Thi Nguyen [Mon, 24 Feb 2014 12:13:56 +0000 (13:13 +0100)]
[gnugo maint] Update NEWS, HACKING; nfc.

10 years ago[gnugo] Rename var to ‘gnugo-inhibit-refresh’.
Thien-Thi Nguyen [Mon, 24 Feb 2014 12:06:53 +0000 (13:06 +0100)]
[gnugo] Rename var to ‘gnugo-inhibit-refresh’.

* packages/gnugo/gnugo.el (gnugo-inhibit-refresh): New defvar.
(gnugo-post-move-hook): Update docstring.
(gnugo-get-move-insertion-filter, gnugo-move)
(gnugo-pass): Update refs.

10 years ago[gnugo] Fix bug: Compute grid spacing using offset math.
Thien-Thi Nguyen [Mon, 24 Feb 2014 12:02:09 +0000 (13:02 +0100)]
[gnugo] Fix bug: Compute grid spacing using offset math.

OBOE introduced 2006-04-09 (release 2.2.13).

* packages/gnugo/gnugo.el (gnugo-refresh):
Don't use ‘wmul’ directly to compute ‘gspc’;
instead, use one plus the re-derived image pixel-width.

10 years ago[gnugo maint] Update NEWS; nfc.
Thien-Thi Nguyen [Sun, 23 Feb 2014 10:50:37 +0000 (11:50 +0100)]
[gnugo maint] Update NEWS; nfc.

10 years ago[gnugo] New command: ‘_’ and ‘M-_’ (gnugo-boss-is-near)
Thien-Thi Nguyen [Sat, 22 Feb 2014 10:00:38 +0000 (11:00 +0100)]
[gnugo] New command: ‘_’ and ‘M-_’ (gnugo-boss-is-near)

* packages/gnugo/gnugo.el (gnugo-boss-is-near): New command.
(gnugo-board-mode-map): Bind ‘_’ and ‘M-_’ to it.

10 years ago[gnugo] New command: ‘A’ (gnugo-switch-to-another)
Thien-Thi Nguyen [Fri, 21 Feb 2014 11:47:18 +0000 (12:47 +0100)]
[gnugo] New command: ‘A’ (gnugo-switch-to-another)

* packages/gnugo/gnugo.el
(gnugo-switch-to-another): New command.
(gnugo-board-mode-map): Bind ‘A’ to it.

10 years ago[gnugo] Bind ‘DEL’ to ‘gnugo-undo-two-moves’.
Thien-Thi Nguyen [Fri, 21 Feb 2014 11:35:36 +0000 (12:35 +0100)]
[gnugo] Bind ‘DEL’ to ‘gnugo-undo-two-moves’.

* packages/gnugo/gnugo.el (gnugo-board-mode-map): ...here.

10 years ago[gnugo maint] Update HACKING; nfc.
Thien-Thi Nguyen [Fri, 21 Feb 2014 11:29:50 +0000 (12:29 +0100)]
[gnugo maint] Update HACKING; nfc.

10 years ago[gnugo int] Use internal macros more.
Thien-Thi Nguyen [Thu, 20 Feb 2014 11:50:30 +0000 (12:50 +0100)]
[gnugo int] Use internal macros more.

* packages/gnugo/gnugo.el
(:gnugo-gtp-command-spec deffull): New macro.
(:gnugo-gtp-command-spec): Use it for ‘:full’ specs.

10 years ago[gnugo] Make proc-status change mode-line elem more informative.
Thien-Thi Nguyen [Wed, 19 Feb 2014 10:36:10 +0000 (11:36 +0100)]
[gnugo] Make proc-status change mode-line elem more informative.

* packages/gnugo/gnugo.el (gnugo-sentinel): ...here,
by including the passed-in STRING, w/ ‘font-lock-warning-face’.

10 years ago[gnugo] Use special constructs for keybindings in docstrings.
Thien-Thi Nguyen [Tue, 18 Feb 2014 10:59:46 +0000 (11:59 +0100)]
[gnugo] Use special constructs for keybindings in docstrings.

* packages/gnugo/gnugo.el (gnugo-board-mode, gnugo): Rewrite docstring.

10 years ago[gnugo] Don't show underscore in group-animation message.
Thien-Thi Nguyen [Mon, 17 Feb 2014 10:33:56 +0000 (11:33 +0100)]
[gnugo] Don't show underscore in group-animation message.

* packages/gnugo/gnugo.el (gnugo-animate-group):
Don't take COMMAND; instead, take W/D, a symbol;
construct command w/ it; rework messages accordingly.
(gnugo-worm-stones): Update call to ‘gnugo-animate-group’.
(gnugo-dragon-stones): Likewise.

10 years ago[gnugo] Fix bug: Relax sync regexp.
Thien-Thi Nguyen [Sun, 16 Feb 2014 21:27:42 +0000 (22:27 +0100)]
[gnugo] Fix bug: Relax sync regexp.

* packages/gnugo/gnugo.el (gnugo-merge-showboard-results): ...here,
to handle certain increases in captured stones count.

10 years ago[gnugo maint] Update "next" in HACKING; nfc.
Thien-Thi Nguyen [Sat, 15 Feb 2014 12:00:40 +0000 (13:00 +0100)]
[gnugo maint] Update "next" in HACKING; nfc.

10 years ago[gnugo int] Revamp gnugo-{put,get} doc / indentation decl.
Thien-Thi Nguyen [Sat, 15 Feb 2014 11:35:36 +0000 (12:35 +0100)]
[gnugo int] Revamp gnugo-{put,get} doc / indentation decl.

* packages/gnugo/gnugo.el (gnugo-put): Move shared docstring here;
specialize it; replace top-level direct symbol-plist
assignment w/ an internal ‘declare’ form for indentation.
(gnugo-get): Add docstring.

10 years ago[gnugo int] Use ‘dolist’ and ‘destructuring-bind’.
Thien-Thi Nguyen [Sat, 15 Feb 2014 11:07:42 +0000 (12:07 +0100)]
[gnugo int] Use ‘dolist’ and ‘destructuring-bind’.

* packages/gnugo/gnugo.el (gnugo-board-mode): ...here,
instead of ‘mapc’ and ‘apply (lambda () ...)’.

10 years ago[gnugo int] Use ‘set-process-query-on-exit-flag’.
Thien-Thi Nguyen [Sat, 15 Feb 2014 11:04:45 +0000 (12:04 +0100)]
[gnugo int] Use ‘set-process-query-on-exit-flag’.

* packages/gnugo/gnugo.el (gnugo-board-mode): ...here,
instead of avoiding ‘process-kill-buffer-query-function’.

10 years ago[gnugo int] Zonk unused local var.
Thien-Thi Nguyen [Sat, 15 Feb 2014 11:02:53 +0000 (12:02 +0100)]
[gnugo int] Zonk unused local var.

* packages/gnugo/gnugo.el (gnugo-command): ...here, named ‘last-message’.

10 years ago[gnugo] Use ‘user-error’.
Thien-Thi Nguyen [Fri, 14 Feb 2014 10:39:29 +0000 (11:39 +0100)]
[gnugo] Use ‘user-error’.

* packages/gnugo/gnugo.el (gnugo-gate)
(gnugo-synchronous-send/return, gnugo-toggle-image-display)
(gnugo-position, gnugo-pass, gnugo-animate-group)
(gnugo-toggle-dead-group, gnugo-write-sgf-file)
(gnugo-read-sgf-file, gnugo-magic-undo)
(gnugo-display-final-score, gnugo-board-mode): ...here.

10 years ago[gnugo int] Add abstraction: gnugo--unclose-game
Thien-Thi Nguyen [Thu, 13 Feb 2014 11:29:19 +0000 (12:29 +0100)]
[gnugo int] Add abstraction: gnugo--unclose-game

* packages/gnugo/gnugo.el (gnugo--unclose-game): New func.
(gnugo-magic-undo): Use it.
(boardsize, clear_board, fixed_handicap):
Likewise, in the value of the ‘:post-thunk’ property.

10 years ago[gnugo maint] Update NEWS file; nfc.
Thien-Thi Nguyen [Thu, 13 Feb 2014 09:18:40 +0000 (10:18 +0100)]
[gnugo maint] Update NEWS file; nfc.

10 years ago[gnugo] Indicate buffer not modified after load.
Thien-Thi Nguyen [Tue, 11 Feb 2014 09:22:15 +0000 (10:22 +0100)]
[gnugo] Indicate buffer not modified after load.

* packages/gnugo/gnugo.el (gnugo-read-sgf-file):
Clear buffer-modified state at end.

10 years ago[gnugo int] Drop leading "*" in docstrings.
Thien-Thi Nguyen [Fri, 7 Feb 2014 14:22:20 +0000 (15:22 +0100)]
[gnugo int] Drop leading "*" in docstrings.

* packages/gnugo/gnugo.el (gnugo-program, gnugo-board-mode-hook)
(gnugo-post-move-hook, gnugo-animation-string, gnugo-mode-line)
(gnugo-X-face, gnugo-O-face, gnugo-grid-face): ...here.

10 years ago[gnugo int] Hang the sync-return-stash on the process object.
Thien-Thi Nguyen [Fri, 7 Feb 2014 09:34:22 +0000 (10:34 +0100)]
[gnugo int] Hang the sync-return-stash on the process object.

* packages/gnugo/gnugo.el (gnugo-synchronous-send/return):
Don't use ‘gnugo-put’, ‘gnugo-get’; instead, use
‘process-put’, ‘process-get’ with property ‘:srs’.

10 years ago[gnugo] Give names and docstrings to ‘lambda’ commands.
Thien-Thi Nguyen [Fri, 7 Feb 2014 09:17:52 +0000 (10:17 +0100)]
[gnugo] Give names and docstrings to ‘lambda’ commands.

* packages/gnugo/gnugo.el (gnugo-quit, gnugo-leave-me-alone)
(gnugo-fancy-undo, gnugo-toggle-image-display-command)
(gnugo-describe-position): New commands.
(gnugo-board-mode-map): Bind ‘q’, ‘Q’, ‘U’, ‘i’, ‘=’ to them.

10 years ago[gnugo int] Use cl-{plus,minus}p more.
Thien-Thi Nguyen [Thu, 6 Feb 2014 10:05:33 +0000 (11:05 +0100)]
[gnugo int] Use cl-{plus,minus}p more.

* packages/gnugo/gnugo.el (gnugo-merge-showboard-results)
(gnugo-venerate, gnugo-refresh, gnugo-magic-undo)
(gnugo-board-mode, gnugo, GTP undo, GTP gg-undo):
Use ‘cl-plusp’ and ‘cl-minusp’ instead of comparison against 0.

10 years ago[gnugo int] Use ‘number-sequence’ more.
Thien-Thi Nguyen [Thu, 6 Feb 2014 09:59:30 +0000 (10:59 +0100)]
[gnugo int] Use ‘number-sequence’ more.

* packages/gnugo/gnugo.el (gnugo-animate-group):
For image display ‘spec’ handling, don't map over
an exploded string, ignoring the individual characters,
and manually toggling the state; instead, map over an
integer, using the number's divisibility by two to select.

10 years ago[gnugo int] Drop unused local var.
Thien-Thi Nguyen [Thu, 6 Feb 2014 09:54:03 +0000 (10:54 +0100)]
[gnugo int] Drop unused local var.

* packages/gnugo/gnugo.el (gnugo-venerate): ...here, named ‘lb’.

10 years ago[gnugo maint] Add .dir-locals.el file, link in HACKING; nfc.
Thien-Thi Nguyen [Wed, 5 Feb 2014 10:36:26 +0000 (11:36 +0100)]
[gnugo maint] Add .dir-locals.el file, link in HACKING; nfc.

* .dir-locals.el: New file.

10 years ago[gnugo gtp int] Use :post-thunk instead of :post-hook.
Thien-Thi Nguyen [Wed, 5 Feb 2014 10:34:00 +0000 (11:34 +0100)]
[gnugo gtp int] Use :post-thunk instead of :post-hook.

* packages/gnugo/gnugo.el (gnugo-command):
Consult :post-thunk, if set, ‘funcall’ the value.
(:gnugo-gtp-command-spec add): Delete.
(:gnugo-gtp-command-spec defgtp): Use ‘jam’ unconditionally.
(:gnugo-gtp-command-spec): Do ‘s/:post-hook/:post-thunk/g’.

10 years ago[gnugo int] Avoid variable FORMAT for ‘message’.
Thien-Thi Nguyen [Wed, 5 Feb 2014 10:19:10 +0000 (11:19 +0100)]
[gnugo int] Avoid variable FORMAT for ‘message’.

We don't want weirdness should the variable value include ‘?%’.

* packages/gnugo/gnugo.el (gnugo-command): Don't use var as
‘message’ first arg; instead say ‘(message "%s" ...)’.

10 years ago[gnugo maint] Revamp "ChangeLog discipline" in HACKING; nfc.
Thien-Thi Nguyen [Tue, 4 Feb 2014 12:26:02 +0000 (13:26 +0100)]
[gnugo maint] Revamp "ChangeLog discipline" in HACKING; nfc.

10 years ago[gnugo maint] Update a musing item in HACKING; nfc.
Thien-Thi Nguyen [Mon, 3 Feb 2014 17:42:58 +0000 (18:42 +0100)]
[gnugo maint] Update a musing item in HACKING; nfc.

Although it would be nice to avoid a "merge commit" through constant
rebase (such that the final merge can be a fast-forward operation),
that makes it painful / difficult for others to follow.

10 years ago[gnugo] Indicate buffer not modified after save.
Thien-Thi Nguyen [Mon, 3 Feb 2014 09:36:46 +0000 (10:36 +0100)]
[gnugo] Indicate buffer not modified after save.

* packages/gnugo/gnugo.el (gnugo-animate-group): Use current
value of ‘buffer-modified-p’ in loop instead of ‘t’.
(gnugo-write-sgf-file): Clear buffer-modified state.

10 years ago[gnugo maint] Update "next" in HACKING; nfc.
Thien-Thi Nguyen [Fri, 31 Jan 2014 12:51:49 +0000 (13:51 +0100)]
[gnugo maint] Update "next" in HACKING; nfc.

10 years ago[gnugo int] Use ‘(split-string STR SEP t)’.
Thien-Thi Nguyen [Fri, 31 Jan 2014 12:51:08 +0000 (13:51 +0100)]
[gnugo int] Use ‘(split-string STR SEP t)’.

* packages/gnugo/gnugo.el (gnugo-animate-group): ...here,
instead of manually deleting the empty strings
returned from a two-arg call to ‘split-string’.

10 years ago[gnugo int] Use ‘display’ property more.
Thien-Thi Nguyen [Fri, 31 Jan 2014 12:31:22 +0000 (13:31 +0100)]
[gnugo int] Use ‘display’ property more.

* packages/gnugo/gnugo.el (gnugo-toggle-image-display): ...here,
with ‘(space :width 0)’, instead of ‘invisible’.

10 years ago[gnugo int] Use ‘redisplay’ more.
Thien-Thi Nguyen [Fri, 31 Jan 2014 12:23:54 +0000 (13:23 +0100)]
[gnugo int] Use ‘redisplay’ more.

* packages/gnugo/gnugo.el (gnugo-magic-undo):
...here, instead of ‘(sit-for 0)’.

10 years ago[gnugo doc] Document version-number scheme.
Thien-Thi Nguyen [Fri, 31 Jan 2014 09:40:18 +0000 (10:40 +0100)]
[gnugo doc] Document version-number scheme.

* packages/gnugo/gnugo.el (gnugo-version): Rewrite docstring.

10 years ago[gnugo maint] Add HACKING; prune Commentary; nfc.
Thien-Thi Nguyen [Fri, 31 Jan 2014 08:27:38 +0000 (09:27 +0100)]
[gnugo maint] Add HACKING; prune Commentary; nfc.

10 years ago[gnugo] Don't use ‘process-kill-buffer-query-function’.
Thien-Thi Nguyen [Thu, 30 Jan 2014 19:52:17 +0000 (20:52 +0100)]
[gnugo] Don't use ‘process-kill-buffer-query-function’.

* packages/gnugo/gnugo.el (gnugo-board-mode):
Make ‘kill-buffer-query-functions’ buffer-local and
then remove ‘process-kill-buffer-query-function’ from it.

10 years ago[gnugo] Wait at most 30sec for subproc output chunk.
Thien-Thi Nguyen [Thu, 30 Jan 2014 16:09:09 +0000 (17:09 +0100)]
[gnugo] Wait at most 30sec for subproc output chunk.

* packages/gnugo/gnugo.el (gnugo-synchronous-send/return):
Specify TIMEOUT of 30 seconds to ‘accept-process-output’.

10 years ago[gnugo int] Use ‘zerop’.
Thien-Thi Nguyen [Thu, 30 Jan 2014 15:55:16 +0000 (16:55 +0100)]
[gnugo int] Use ‘zerop’.

* packages/gnugo/gnugo.el (gnugo-cleanup)
(gnugo-magic-undo, gnugo-board-mode): ...here.

10 years ago[gnugo] Presume "modern" GNU Emacs.
Thien-Thi Nguyen [Thu, 30 Jan 2014 14:35:34 +0000 (15:35 +0100)]
[gnugo] Presume "modern" GNU Emacs.

* packages/gnugo/gnugo.el (delete-dups, window-edges):
Delete these conditionally-‘defun’ed funcs.

10 years ago[gnugo] Presume working time-date.el.
Thien-Thi Nguyen [Thu, 30 Jan 2014 13:43:43 +0000 (14:43 +0100)]
[gnugo] Presume working time-date.el.

* packages/gnugo/gnugo.el: Require ‘time-date’ w/o ignoring errors.
(time-subtract): Delete conditionally-‘defun’ed func.

10 years ago[gnugo] Use ‘cl-labels’ instead of ‘flet’.
Thien-Thi Nguyen [Thu, 30 Jan 2014 12:26:41 +0000 (13:26 +0100)]
[gnugo] Use ‘cl-labels’ instead of ‘flet’.

* packages/gnugo/gnugo.el: Don't require ‘cl’;
instead, require ‘cl-lib’; do ‘s/flet/cl-labels/g’.
(gnugo-note): Use #'mog instead of 'mog as ‘mapcar’ 1st arg.
(gnugo-toggle-dead-group): Use #'populate.
(:gnugo-gtp-command-spec defgtp): Use #'jam, #'add.
(gnugo/sgf-write-file): Use #'one, #'two.

10 years ago[gnugo maint] Add NEWS file; prune Commentary; nfc.
Thien-Thi Nguyen [Thu, 30 Jan 2014 11:48:08 +0000 (12:48 +0100)]
[gnugo maint] Add NEWS file; prune Commentary; nfc.

10 years ago[gnugo] Adapt copyright notice to FSF, headers to ELPA.
Thien-Thi Nguyen [Tue, 28 Jan 2014 18:38:51 +0000 (19:38 +0100)]
[gnugo] Adapt copyright notice to FSF, headers to ELPA.

* packages/gnugo/gnugo.el: ...here.

10 years agoImport gnugo.el from ttn-pers-elisp 1.59.
Thien-Thi Nguyen [Tue, 28 Jan 2014 18:29:47 +0000 (19:29 +0100)]
Import gnugo.el from ttn-pers-elisp 1.59.

* packages/gnugo/gnugo.el: New file.
(gnugo-version): Bump to "2.2.14".

10 years agoStart building eventual package ‘gnugo’.
Thien-Thi Nguyen [Tue, 28 Jan 2014 18:26:08 +0000 (19:26 +0100)]
Start building eventual package ‘gnugo’.

* packages/gnugo/: New directory.
* packages/gnugo/README: New file.

10 years agoAvoid "--regexp" and use "--" instead
Leo Liu [Mon, 24 Feb 2014 10:09:49 +0000 (18:09 +0800)]
Avoid "--regexp" and use "--" instead

Extend ggtags-find-tag to support arbitrary arguments and callers
changed.

10 years agoDon't let deleting text screw up compilation-filter-start
Leo Liu [Mon, 24 Feb 2014 10:02:02 +0000 (18:02 +0800)]
Don't let deleting text screw up compilation-filter-start

10 years agoNew command ggtags-visit-project-root using key C-c M-j
Leo Liu [Mon, 24 Feb 2014 06:38:30 +0000 (14:38 +0800)]
New command ggtags-visit-project-root using key C-c M-j

Initialise ggtags-project-root to 'unset so that
ggtags-highlight-tag-at-point is run automatically.

Remove all compiler warnings for emacs 24.1-trunk.

10 years ago* num3-mode.el: Catch strings looking like hex number even w/o 0x prefix.
Michal Nazarewicz [Mon, 24 Feb 2014 00:28:48 +0000 (01:28 +0100)]
* num3-mode.el: Catch strings looking like hex number even w/o 0x prefix.

Update `num3--number-re' to catch strings which are a whole word, have
only hexadecimal digits and have at least one non-decimal hexadecimal
digit (i.e. letter from A to F), and treat them as hexadecimal number.

Also update `num3--number-re' to properly catch Emacs Lisp's

This fixes bug#16834.

10 years agoFix WebSocket varint length encoding
Russell Cagle [Sun, 23 Feb 2014 16:30:03 +0000 (11:30 -0500)]
Fix WebSocket varint length encoding

10 years agopackages/vlf/vlf.el: use derived-mode-p to check major mode.
Andrey Kotlarski [Sun, 23 Feb 2014 16:22:13 +0000 (18:22 +0200)]
packages/vlf/vlf.el: use derived-mode-p to check major mode.

10 years ago * packages/vlf: Version 1.5. Add hexl-mode integration and hook
Andrey Kotlarski [Sun, 23 Feb 2014 15:33:35 +0000 (17:33 +0200)]
* packages/vlf: Version 1.5.  Add hexl-mode integration and hook
extensibility.

* vlf.el: (vlf-before-batch-functions, vlf-after-batch-functions):
New hooks.
(vlf-mode): Play well with hexl-mode.  Don't disable mode in case
user has declined to reload whole file.
(vlf-keep-alive, vlf-hexl-before, vlf-hexl-after): New functions.
Use them in hooks.
(vlf-hexl-save, vlf-hexl-scroll-up, vlf-hexl-scroll-down): New
advices.

* vlf-write.el (vlf-write): Run batch hooks.  Check if tramp is
loaded.

* vlf-search.el (vlf-re-search, vlf-goto-line): Run batch hooks.
Check if tramp is loaded.

* vlf-occur.el (vlf-occur): Run batch hooks.
(vlf-build-occur): Check if tramp is loaded.

* vlf-integrate.el: Minor whitespace adjustment.

* vlf-ediff.el: Enable lexical scoping.
(vlf-ediff-next): Run batch hooks.  Check if tramp is loaded.

* vlf-base.el (vlf-before-chunk-update, vlf-after-chunk-update):
New hooks.
(vlf-move-to-chunk-1, vlf-move-to-chunk-2): Run them.
(vlf-move-to-chunk-2): Delete undo info only in case it's not
disabled.
(vlf-insert-file-contents-1): Use insert-file-contents instead of
manual decoding and remove position parameter.
(vlf-insert-file-contents, vlf-adjust-start): Adjust calls.