]>
code.delx.au - gnu-emacs-elpa/log
Jackson Ray Hamilton [Sat, 14 Mar 2015 19:11:18 +0000 (12:11 -0700)]
Jackson Ray Hamilton [Sat, 14 Mar 2015 19:04:02 +0000 (12:04 -0700)]
Version 6.1.0.
Jackson Ray Hamilton [Sat, 14 Mar 2015 18:39:42 +0000 (11:39 -0700)]
Update options documentation.
Jackson Ray Hamilton [Sat, 14 Mar 2015 18:22:12 +0000 (11:22 -0700)]
Use the better zenburn red.
Jackson Ray Hamilton [Sat, 14 Mar 2015 18:10:11 +0000 (11:10 -0700)]
Deprecate `comments-and-strings'.
Jackson Ray Hamilton [Sat, 14 Mar 2015 17:48:41 +0000 (10:48 -0700)]
Add syntactic strings option.
Jackson Ray Hamilton [Sat, 14 Mar 2015 16:37:26 +0000 (09:37 -0700)]
Refactor tests for setups and reused fixtures.
Jackson Ray Hamilton [Sat, 14 Mar 2015 07:23:30 +0000 (00:23 -0700)]
Add option to only colorize comments specially.
Filipp Gunbin [Wed, 11 Mar 2015 18:10:23 +0000 (21:10 +0300)]
packages/javaimp/javaimp.el: use line-beginning-position instead of forward-line
Filipp Gunbin [Tue, 10 Mar 2015 18:14:42 +0000 (21:14 +0300)]
packages/javaimp/javaimp.el: replace kill-line with delete-region
Matthew Carter [Tue, 10 Mar 2015 05:04:13 +0000 (01:04 -0400)]
Matthew Carter [Tue, 10 Mar 2015 05:00:44 +0000 (01:00 -0400)]
Add some better defaults for helm selections
Nicolas Petton [Mon, 9 Mar 2015 11:35:07 +0000 (12:35 +0100)]
Update seq.el to version 1.3
* packages/seq/seq.el: update to version 1.3
* packages/seq/tests/seq-tests.el: update to version 1.3
Artur Malabarba [Sun, 8 Mar 2015 00:20:36 +0000 (21:20 -0300)]
Artur Malabarba [Sun, 8 Mar 2015 00:20:18 +0000 (21:20 -0300)]
spinner: Update copyright
Artur Malabarba [Sun, 8 Mar 2015 00:19:38 +0000 (21:19 -0300)]
let-alist: Update copyright
Artur Malabarba [Sun, 8 Mar 2015 00:17:26 +0000 (21:17 -0300)]
Artur Malabarba [Sun, 8 Mar 2015 00:17:05 +0000 (21:17 -0300)]
Require cl-lib
Artur Malabarba [Sat, 7 Mar 2015 23:38:51 +0000 (20:38 -0300)]
Artur Malabarba [Sat, 7 Mar 2015 23:37:45 +0000 (20:37 -0300)]
Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs/elpa
Artur Malabarba [Sat, 7 Mar 2015 23:31:18 +0000 (20:31 -0300)]
Add url
Artur Malabarba [Sat, 7 Mar 2015 23:03:49 +0000 (20:03 -0300)]
A couple more spinners
Artur Malabarba [Sat, 7 Mar 2015 22:54:22 +0000 (19:54 -0300)]
ADd gif
Artur Malabarba [Sat, 7 Mar 2015 22:43:29 +0000 (19:43 -0300)]
Whitespace
Artur Malabarba [Sat, 7 Mar 2015 22:43:24 +0000 (19:43 -0300)]
Readme
Artur Malabarba [Sat, 7 Mar 2015 22:27:31 +0000 (19:27 -0300)]
Headline
Artur Malabarba [Sat, 7 Mar 2015 22:25:29 +0000 (19:25 -0300)]
Customizable speed
Artur Malabarba [Sat, 7 Mar 2015 22:25:13 +0000 (19:25 -0300)]
Add spinners
Julien Danjou [Fri, 6 Mar 2015 16:01:32 +0000 (17:01 +0100)]
rainbow: fix font-lock-mode refresh
Artur Malabarba [Fri, 6 Mar 2015 14:18:56 +0000 (11:18 -0300)]
Add file
Oleh Krehel [Fri, 6 Mar 2015 12:58:08 +0000 (13:58 +0100)]
Artur Malabarba [Fri, 6 Mar 2015 10:26:25 +0000 (07:26 -0300)]
Initial commit
Oleh Krehel [Thu, 5 Mar 2015 20:29:50 +0000 (21:29 +0100)]
hydra-ox.el: Emulate org-mode export dispatch
* hydra-ox.el (hydra-ox): New radiogroup.
(hydra-ox-html): New hydra.
(hydra-ox-latex): New hydra.
(hydra-ox-text): New hydra.
(hydra-ox): New hydra that includes the above three hydras.
(org-mode-map): Add test binding.
Re #66.
Matthew Carter [Thu, 5 Mar 2015 03:01:01 +0000 (22:01 -0500)]
Update with a couple helm colors
Dmitry Gutov [Wed, 4 Mar 2015 17:01:20 +0000 (19:01 +0200)]
Dmitry Gutov [Wed, 4 Mar 2015 16:58:18 +0000 (18:58 +0200)]
company--merge-async: Handle mixed sync/async and immediate callbacks better
Fixes #315
Oleh Krehel [Wed, 4 Mar 2015 16:34:42 +0000 (17:34 +0100)]
Allow for a %s(test) spec in docstring
* hydra.el (hydra-set-transient-map): Avoid compiler warnings.
(hydra--format): Add s? to regex.
- %(test) will translate to (format "%S" (test))
- %s(test) will translate to (format "%s" (test))
The width specifiers should work for both, e.g. % -10(test) or %
-10s(test).
Example:
(defhydra hydra-marked-items (dired-mode-map "")
"
Number of marked items: %(length (dired-get-marked-files))
Directory size: %s(shell-command-to-string \"du -hs\")
"
("m" dired-mark "mark"))
Fixes #65.
Oleh Krehel [Wed, 4 Mar 2015 14:37:14 +0000 (15:37 +0100)]
lv.el (lv-window): Bind `golden-ratio-mode' to nil
Re #64.
Oleh Krehel [Mon, 2 Mar 2015 20:47:50 +0000 (21:47 +0100)]
Add :timeout option to hydra body
* hydra.el (hydra--make-defun): Call `hydra-timeout' with :timeout if
it's given.
(hydra-timer): New var to hold the timer.
(hydra-timeout): New function to call `hydra-keyboard-quit' with delay.
(hydra-keyboard-quit): Cancel `hydra-timeout' timer.
Re #34.
Dave Goel [Mon, 2 Mar 2015 18:58:42 +0000 (13:58 -0500)]
* timerfunctions.el: Numerous fixes to make it comply with checkdoc
Fix compiler warnings.
Jackson Ray Hamilton [Sun, 1 Mar 2015 19:10:32 +0000 (11:10 -0800)]
Cleanup dependency management.
Stefan Monnier [Sun, 1 Mar 2015 16:31:45 +0000 (11:31 -0500)]
loc-changes/loc-changes.el: Fix footer
hura [Sat, 28 Feb 2015 01:01:57 +0000 (20:01 -0500)]
hydra.el (hydra--format): Amend key regex
Recognize the '{' and '}' keys.
rocky [Fri, 27 Feb 2015 23:28:08 +0000 (18:28 -0500)]
Add 'packages/loc-changes/' from commit '
efbe022eaeef0ccc54ffe219216974a786c3301c '
git-subtree-dir: packages/loc-changes
git-subtree-mainline:
771168c071a65dde3d55c320381419917be3aaff
git-subtree-split:
efbe022eaeef0ccc54ffe219216974a786c3301c
rocky [Fri, 27 Feb 2015 20:52:39 +0000 (15:52 -0500)]
Add loc-changes:alist-describe to show what marks have been set.
Oleh Krehel [Fri, 27 Feb 2015 19:32:09 +0000 (20:32 +0100)]
Don't wrap `hydra-repeat'
* hydra.el (hydra--delete-duplicates): Update.
(hydra--vconcat): Trim trailing spaces.
* hydra-test.el (hydra-red-error): Update test.
(hydra--table): Update test.
rocky [Fri, 27 Feb 2015 18:54:19 +0000 (13:54 -0500)]
Go over travis testing.
rocky [Fri, 27 Feb 2015 18:11:28 +0000 (13:11 -0500)]
Revise for FSF release
Oleh Krehel [Fri, 27 Feb 2015 18:05:43 +0000 (19:05 +0100)]
Add some features for generating tables
* hydra.el (hydra--pad): New defun.
(hydra--matrix): New defun.
(hydra--cell): New defun.
(hydra--vconcat): New defun.
(hydra-cell-format): New defcustom.
(hydra--table): New defun.
(hydra-reset-radios): New defun.
(defhydra): Allow docstring to be eval-able.
(defhydradio): Don't define `.../reset-radios', instead define
`.../names' that can be passed to `hydra-reset-radios'.
(hydra-multipop): New defmacro.
(hydra--radio): Update the order - the docstring is now a mandatory
second arg, value is the optional third.
* hydra-test.el (defhydradio): Update test.
(hydra--pad): Add test.
(hydra--matrix): Add test.
(hydra--cell): Add test.
(hydra--vconcat): Add test.
(hydra--table): Add test.
Oleh Krehel [Fri, 27 Feb 2015 12:15:13 +0000 (13:15 +0100)]
Add `hydra-repeat': hydra-specific `repeat'
* hydra.el (hydra-repeat): New defun.
(hydra-repeat--command): New defvar.
(hydra-repeat--prefix-arg): New defvar.
Example:
(defhydra hydra-vi ()
"vi"
("h" backward-char)
("j" next-line)
("k" previous-line)
("l" forward-char)
("." hydra-repeat))
(global-set-key (kbd "C-v") 'hydra-vi/body)
"C-v 4l.." will result in movement forward by 4 chars 3 times: first
time from "4l", the other two from "..".
Fixes #59.
Jackson Ray Hamilton [Fri, 27 Feb 2015 08:33:00 +0000 (00:33 -0800)]
Cleanup.
François Févotte [Thu, 26 Feb 2015 15:43:34 +0000 (11:43 -0400)]
hydra.el (hydra--format): Amend key regex
Recognize the '=' key.
Jackson Ray Hamilton [Thu, 26 Feb 2015 09:29:58 +0000 (01:29 -0800)]
Cleanup.
Stefan Monnier [Wed, 25 Feb 2015 17:31:03 +0000 (12:31 -0500)]
* load-relative/test/test-file.el: Fix up copyright
Oleh Krehel [Wed, 25 Feb 2015 15:56:19 +0000 (16:56 +0100)]
hydra.el (hydra-key-format-spec): set default to "%s"
* hydra-test.el (hydra-format): Update test.
(hydra-format-with-sexp): Update test.
Oleh Krehel [Wed, 25 Feb 2015 10:37:58 +0000 (11:37 +0100)]
hydra.el (hydra--format): Amend key regex
Re #50.
rocky [Wed, 25 Feb 2015 01:24:48 +0000 (20:24 -0500)]
rocky [Wed, 25 Feb 2015 01:22:49 +0000 (20:22 -0500)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa
rocky [Wed, 25 Feb 2015 01:22:16 +0000 (20:22 -0500)]
Bump version number
rocky [Wed, 25 Feb 2015 01:21:53 +0000 (20:21 -0500)]
Thank you, Phil Lord!
Oleh Krehel [Tue, 24 Feb 2015 18:20:46 +0000 (19:20 +0100)]
Remove hydra-exit
* hydra-test.el: Revert tests.
* hydra.el (hydra-exit): Delete, since `hydra-exit' doesn't run :post.
(hydra--delete-duplicates): Simplify.
(defhydra): Simplify.
Hydras with nil body will still not be bound in outside keymaps.
Re #48
Fixes #53
Oleh Krehel [Tue, 24 Feb 2015 17:34:11 +0000 (18:34 +0100)]
lv.el (lv-window): set-window-parameter 'no-other-window
Oleh Krehel [Tue, 24 Feb 2015 14:50:49 +0000 (15:50 +0100)]
Don't bind nil heads in outside keymaps
* hydra.el (hydra-exit): New command to be used for nil heads.
(hydra--delete-duplicates): Update for `hydra-exit'.
(defhydra): Don't bind `hydra-exit' in outside keymaps.
* hydra-test.el (hydra-blue-toggle): Update test.
(hydra-amaranth-vi): Update test.
Fixes #48.
Oleh Krehel [Tue, 24 Feb 2015 14:31:46 +0000 (15:31 +0100)]
Improve handling of heads with duplicate cmd
hydra.el (hydra--delete-duplicates): Modify :cmd-name property of
duplicate head to to name of the head that it duplicates.
Heads are considered duplicate if their CMD and COLOR is the same.
The first of the duplicates gets a defun, the rest call it.
* hydra.el (defhydra): Bring heads into a uniform notation. If a
docstring is missing, set it to "". Set :cmd-name property to the
head's name.
* hydra-test.el: Add tests.
Fixes #52.
Oleh Krehel [Tue, 24 Feb 2015 11:02:27 +0000 (12:02 +0100)]
Amend the key regex in docstring to include <>
Re #50.
Oleh Krehel [Tue, 24 Feb 2015 10:42:00 +0000 (11:42 +0100)]
Simplify the hint part of each head
* hydra.el (defhydra): All heads that don't have a hint, will get "" as
hint. The behavior will remain the same.
(hydra--head-property): Simplify, since plist is now always `cdddr'.
(hydra--hint): Simplify, heads always have length at least 3. Simplify,
third element is always a string or nil.
Oleh Krehel [Mon, 23 Feb 2015 22:03:13 +0000 (23:03 +0100)]
Allow for a custom key format spec in docstrings
* hydra.el (hydra-key-format-spec): New defcustom.
(hydra--format): Use `hydra-key-format-spec'. Allow for 0-9 and / in key
bindings.
Here's an example of how to use a flexible format spec for each key:
(let (hydra-key-format-spec)
(defhydra hydra-zoom (global-map "<f2>")
"
zoom: _g_reater _ -5l_esser re_ 7c_enter zer_0_"
("g" text-scale-increase nil)
("l" text-scale-decrease nil)
("c" recenter-top-bottom nil)
("0" (text-scale-set 0) nil :exit t)))
Fixes #50.
Oleh Krehel [Mon, 23 Feb 2015 17:40:12 +0000 (18:40 +0100)]
Rename compat toggle - :nonheads -> :foreign-keys
* hydra-test.el: Add tests.
* hydra.el (hydra--head-color): Update.
(hydra--body-foreign-keys): New defun.
(hydra--body-color): Update.
(hydra--handle-nonhead): Update.
* README.md: Update.
Oleh Krehel [Mon, 23 Feb 2015 15:45:45 +0000 (16:45 +0100)]
hydra.el (hydra-verbose): New defcustom
* hydra.el (hydra--head-color): Switch from `error' to `hydra--complain'
in one case.
(hydra--complain): New defun.
Fixes #47.
Oleh Krehel [Mon, 23 Feb 2015 14:46:48 +0000 (15:46 +0100)]
hydra.el (hydra--make-defun): Update signature
Oleh Krehel [Mon, 23 Feb 2015 14:12:17 +0000 (15:12 +0100)]
Avoid generating multiple defuns with same name
* hydra.el (hydra--head-name): New defun.
(hydra--delete-duplicates): New defun.
(defhydra): Update to use `hydra--delete-duplicates' and `hydra--head-name'.
Oleh Krehel [Mon, 23 Feb 2015 13:50:25 +0000 (14:50 +0100)]
hydra.el (hydra-keyboard-quit): Add
* hydra.el (hydra--handle-nonhead): Use `hydra-keyboard-quit'.
(defhydra): Work-around multiple definitions.
* hydra-test.el (hydra-red-error): Update test.
(hydra-blue-toggle): Update test.
Oleh Krehel [Mon, 23 Feb 2015 10:54:29 +0000 (11:54 +0100)]
Fix :exit t / :exit nil inheritance issue
* hydra-test.el (hydra-compat-colors): Add test.
* hydra.el (hydra--aggregate-color): New defun.
(hydra--head-color): Update.
Fixes #46.
hura [Sun, 22 Feb 2015 20:14:26 +0000 (15:14 -0500)]
Update README.md
R. Bernstein [Sat, 21 Feb 2015 21:45:29 +0000 (16:45 -0500)]
Merge pull request #5 from phillord/feature/find-file-relative
Change require to path relative load. Many thanks. I appreciate all of the good work.
Phillip Lord [Sat, 21 Feb 2015 21:37:57 +0000 (21:37 +0000)]
Commentary updates for new functions.
Oleh Krehel [Sat, 21 Feb 2015 16:44:34 +0000 (17:44 +0100)]
Add :body-pre switch
It will be run as the first thing in the prefix/body function.
re #41
Example:
(defvar hydra-vi/init-pos nil)
(defhydra hydra-vi (:body-pre (setq hydra-vi/init-pos (point))
:color pink)
"vi"
;; arrows
("h" backward-char)
("j" next-line)
("k" previous-line)
("l" forward-char)
;; exit points
("q" (goto-char hydra-vi/init-pos) "ins" :exit t)
("C-n" (forward-line 1) nil :exit t)
("C-p" (forward-line -1) nil :exit t))
Oleh Krehel [Sat, 21 Feb 2015 16:43:40 +0000 (17:43 +0100)]
hydra-examples.el: Add example 9
Phillip Lord [Sat, 21 Feb 2015 13:16:45 +0000 (13:16 +0000)]
Change require to path relative load.
Oleh Krehel [Sat, 21 Feb 2015 10:15:16 +0000 (11:15 +0100)]
Allow sexps in Ruby-style docstrings
* hydra.el (hydra--format): Improve. No error handling or checking yet,
but should work fine if the docstring is correct.
* hydra-test.el (hydra-format-with-sexp): Add test.
Fixes #42.
Oleh Krehel [Sat, 21 Feb 2015 09:33:14 +0000 (10:33 +0100)]
hydra-test.el (hydra-format): New test
* hydra.el (hydra-fontify-head-greyscale): New defun. Usable as
`hydra-fontify-head-function'.
Oleh Krehel [Sat, 21 Feb 2015 09:21:06 +0000 (10:21 +0100)]
hydra.el (hydra--handle-nonhead): Update signature
* hydra.el (hydra--format): Update docstring.
(hydra-pink-fallback): Add docstring.
(defhydra): Update call to `hydra--handle-nonhead'.
Oleh Krehel [Fri, 20 Feb 2015 17:35:04 +0000 (18:35 +0100)]
Fix pink and teal Hydras running :post
* hydra.el (hydra--make-defun): Update.
Oleh Krehel [Fri, 20 Feb 2015 17:17:26 +0000 (18:17 +0100)]
hydra.el (hydra--handle-nonhead): Fix bug
Oleh Krehel [Fri, 20 Feb 2015 17:16:52 +0000 (18:16 +0100)]
hydra.el: remove no :pre, :post restriction for Emacs<24.4
Oleh Krehel [Fri, 20 Feb 2015 16:51:52 +0000 (17:51 +0100)]
Improve compatibility for Emacs <= 24.3
* hydra.el (hydra-set-transient-map): Always take 3 arguments.
(hydra--pred): New defun.
(hydra-disable): Update, `overriding-terminal-local-map' is actually
also bound in 24.3.
Fixes #29
Oleh Krehel [Fri, 20 Feb 2015 14:41:32 +0000 (15:41 +0100)]
Add an option to fontify heads in a custom way
* hydra.el (hydra--hint): Forward to `hydra-fontify-head'.
(hydra-fontify-head-function): New defvar.
(hydra-fontify-head-default): New defun that represents the classic
fontification behavior.
(hydra-fontify-head): Fontification dispatch - use
`hydra-fontify-head-default'
unless `hydra-fontify-head-function' is set.
(hydra--format): Forward to `hydra-fontify-head'.
Example:
(setq hydra-fontify-head-function
(lambda (head body)
(let ((color (hydra--head-color head body)))
(format
(if (eq color 'blue)
"[%s]"
"{%s}") (car head)))))
Call `defhydra' here, then reset:
(setq hydra-fontify-head-function nil)
Call another `defhydra' here.
Oleh Krehel [Fri, 20 Feb 2015 13:18:21 +0000 (14:18 +0100)]
Add example for `Buffer-menu-mode'
Oleh Krehel [Fri, 20 Feb 2015 13:09:41 +0000 (14:09 +0100)]
Intercept quit signals
* hydra.el (hydra--format): Make keys wider.
(hydra--make-defun): Catch quit.
(hydra-pink-fallback): Catch quit.
* hydra-test.el: Update tests.
Oleh Krehel [Fri, 20 Feb 2015 10:24:54 +0000 (11:24 +0100)]
Allow `format'-style width specifiers in docstring
* hydra.el (hydra--hint): Process less data.
(hydra--format): Change to add `format'-style width specifiers.
Example:
(defhydra hydra-toggle (:color pink)
"
_a_ abbrev-mode: % 4`abbrev-mode^^^^ _f_ auto-fill-mode: %`auto-fill-function
_d_ debug-on-error: % 4`debug-on-error^ _t_ truncate-lines: %`truncate-lines
_w_ whitespace-mode:% 4`whitespace-mode _g_ golden-ratio-mode: %`golden-ratio-mode
"
("a" abbrev-mode nil)
("d" toggle-debug-on-error nil)
("f" auto-fill-mode nil)
("g" golden-ratio-mode nil)
("t" toggle-truncate-lines nil)
("w" whitespace-mode nil)
("q" nil "quit"))
Here, ^^^ represent empty characters used to compensate for the fact
that the lengths of variable symbols are different.
You can choose not to use them. The result will be the same, but your
code will look misaligned.
Fixes #39.
Oleh Krehel [Fri, 20 Feb 2015 09:40:22 +0000 (10:40 +0100)]
hydra.el (hydra-add-font-lock): Add `defhydradio'
R. Bernstein [Thu, 19 Feb 2015 21:31:58 +0000 (16:31 -0500)]
Merge pull request #4 from phillord/feature/find-file-relative
with-relative-file is now idempotent and tests!
Oleh Krehel [Thu, 19 Feb 2015 21:23:14 +0000 (22:23 +0100)]
hydra.el (hydra--head-color): Improve
* hydra.el (hydra--face): Second arg should be BODY.
(hydra--head-color): Second arg should be BODY.
Phillip Lord [Thu, 19 Feb 2015 21:06:58 +0000 (21:06 +0000)]
with-relative-file is now idempotent and tests!
The first version of with-relative-file left a new buffer around, unless
the file was already open, in which case the existing buffer would be
changed. It was all very stateful and this was not very fixable. This
version uses with-temp-buffer instead, so leaves Emacs as it found it.
This does remove the ability to save to the file from within this
buffer.
Oleh Krehel [Thu, 19 Feb 2015 20:53:32 +0000 (21:53 +0100)]
README.md: fix tables
Oleh Krehel [Thu, 19 Feb 2015 20:45:01 +0000 (21:45 +0100)]
Add compat color-less syntax
* hydra.el (hydra--head-color): Adapt compat switches.
(hydra--body-color): Adapt compat switches.
(hydra--handle-nonhead): Move verbatim from `defhydra'.
(defhydra): Move verbatim to `hydra--handle-nonhead'.
* README.md: Update with two tables.
* hydra-test.el: Add compat tests.
New compat switches are:
- ":exit t" for ":color blue"
- ":nonheads warn" for ":color amaranth"
- ":nonheads warn :exit t" for ":color teal"
- ":nonheads run" for ":color pink"
See the compat tests to get the intuition of how both ways translate
between each other.
Fixes #27.
Oleh Krehel [Thu, 19 Feb 2015 17:45:46 +0000 (18:45 +0100)]
Generate a global resetter in `defhydradio'
* hydra.el (defhydradio): `NAME/reset-radios' will be generated.
(hydra--quote-maybe): Don't quote nil.
* hydra-test.el: Update test.
Oleh Krehel [Thu, 19 Feb 2015 17:29:12 +0000 (18:29 +0100)]
hydra.el (defhydra): Fix typo
Re #38
Oleh Krehel [Thu, 19 Feb 2015 17:13:11 +0000 (18:13 +0100)]
hydra.el (hydra-pink-fallback): Add
* hydra.el (defhydra): More advanced handling of the pink fallback.
Re #38.
Oleh Krehel [Thu, 19 Feb 2015 16:51:12 +0000 (17:51 +0100)]
Fix typos
* hydra.el (defhydra): Fix A/An and "aboring".