]>
code.delx.au - gnu-emacs-elpa/log
Dmitry Gutov [Wed, 4 Feb 2015 16:35:36 +0000 (18:35 +0200)]
Dmitry Gutov [Wed, 4 Feb 2015 16:33:55 +0000 (18:33 +0200)]
Truncate out-of-bounds search highlighting
Fixes #294
Stefan Monnier [Wed, 4 Feb 2015 14:32:57 +0000 (09:32 -0500)]
* packages/sotlisp: Add "Version:" header; fix EOL format
Stefan Monnier [Tue, 3 Feb 2015 15:22:33 +0000 (10:22 -0500)]
* packages/cl-generic/cl-generic.el (cl-defmethod): Fix handling of subclass.
Stefan Monnier [Tue, 3 Feb 2015 05:47:37 +0000 (00:47 -0500)]
* packages/cl-generic: Add new package
Dmitry Gutov [Mon, 2 Feb 2015 15:22:35 +0000 (17:22 +0200)]
Dmitry Gutov [Mon, 2 Feb 2015 15:20:48 +0000 (17:20 +0200)]
Bump the version
Dmitry Gutov [Mon, 2 Feb 2015 15:15:35 +0000 (17:15 +0200)]
Pass company-lighter-base to company--group-lighter explicitly
Oleh Krehel [Mon, 2 Feb 2015 14:43:15 +0000 (15:43 +0100)]
Oleh Krehel [Mon, 2 Feb 2015 14:39:51 +0000 (15:39 +0100)]
hydra-test.el: Add licence
Dmitry Gutov [Mon, 2 Feb 2015 12:32:11 +0000 (14:32 +0200)]
Use mode-line format in company-lighter
And use company-lighter-base in it. Resolves #290. Resolves #291.
Oleh Krehel [Mon, 2 Feb 2015 09:56:30 +0000 (10:56 +0100)]
Dmitry Gutov [Mon, 2 Feb 2015 03:17:08 +0000 (05:17 +0200)]
Dmitry Gutov [Mon, 2 Feb 2015 03:10:26 +0000 (05:10 +0200)]
Bump the version and update NEWS
Dmitry Gutov [Mon, 2 Feb 2015 02:35:34 +0000 (04:35 +0200)]
Highlight JS snippets
Dmitry Gutov [Mon, 2 Feb 2015 02:30:17 +0000 (04:30 +0200)]
Add top-level heading
Dmitry Gutov [Mon, 2 Feb 2015 02:29:00 +0000 (04:29 +0200)]
Move the news from the wiki to the repo
Dmitry Gutov [Mon, 2 Feb 2015 01:16:34 +0000 (03:16 +0200)]
Fix free variable references
Props to Flycheck.
Dmitry Gutov [Mon, 2 Feb 2015 01:02:27 +0000 (03:02 +0200)]
js2-test-parse-string: Compare the first syntax error
Dmitry Gutov [Mon, 2 Feb 2015 00:58:04 +0000 (02:58 +0200)]
Handle arrowfun empty-args in js2-parse-paren-expr-or-generator-comp
Fixes #206
Doing `js2-unget-token' when handling a spurious right paren got us
into infloop.
Oleh Krehel [Sun, 1 Feb 2015 17:43:44 +0000 (18:43 +0100)]
Distinguish red and blue hydra heads
* hydra.el (hydra-face-red): New face.
(hydra-face-blue): New face.
(hydra--color): Each head now has a color: red is persistent, blue is
single-use. Head color inherits body color if it's not explicitly
overridden. Body color is red unless explicitly stated.
(hydra--face): Return face that corresponds to color.
(hydra--hint): New function, moved out of `defhydra'.
(hydra-disable): New function, moved out of `defhydra'.
(hydra--doc): New function, moved out of `defhydra'.
(defhydra): Commands that will vanquish the Hydra should be colored with
`hydra-face-blue'. The ones that will make the Hydra persist should be
colored with `hydra-face-red'.
Add autoload, move some code outside, Test HEAD's second element with
`null' instead of `functionp'.
* hydra-test.el (defhydra-red-error): Rename from `defhydra'.
(hydra-blue-toggle): Add test.
* README.md: Update.
Example:
(global-set-key
(kbd "C-c C-v")
(defhydra toggle ()
"toggle"
("t" toggle-truncate-lines "truncate" :color blue)
("f" auto-fill-mode "fill" :color blue)
("a" abbrev-mode "abbrev" :color blue)
("q" nil "cancel")))
Alternatively, since heads inherit color from the body:
(global-set-key
(kbd "C-c C-v")
(defhydra toggle (:color blue)
"toggle"
("a" abbrev-mode "abbrev")
("d" toggle-debug-on-error "debug")
("f" auto-fill-mode "fill")
("t" toggle-truncate-lines "truncate")
("w" whitespace-mode "whitespace")
("q" nil "cancel")))
Artur Malabarba [Sun, 1 Feb 2015 18:40:46 +0000 (16:40 -0200)]
Dmitry Gutov [Sun, 1 Feb 2015 06:29:03 +0000 (08:29 +0200)]
js2-parse-class-stmt: Define the class in the current scope
Fixes #204
Dmitry Gutov [Sun, 1 Feb 2015 05:42:48 +0000 (07:42 +0200)]
company-search-map: Add company-complete-number bindings
#292
Dmitry Gutov [Sun, 1 Feb 2015 05:35:20 +0000 (07:35 +0200)]
Track the current selection better
* company-update-candidates: Restore selection even if it's 0. Don't rely on
lexical sorting. Compare annotations. Maybe reset company-selection-changed.
* company-search-mode, company-search-abort: Save and restore the value of
company-selection-changed.
#292
Dmitry Gutov [Sun, 1 Feb 2015 04:02:54 +0000 (06:02 +0200)]
company-search-map: Include <up> and <down> bindings
#292
Artur Malabarba [Sat, 31 Jan 2015 22:56:27 +0000 (20:56 -0200)]
Better abbrevs
Artur Malabarba [Sat, 31 Jan 2015 22:56:22 +0000 (20:56 -0200)]
Typo
Artur Malabarba [Sat, 31 Jan 2015 21:20:53 +0000 (19:20 -0200)]
More abbrevs
Artur Malabarba [Sat, 31 Jan 2015 21:16:24 +0000 (19:16 -0200)]
Style
Oleh Krehel [Fri, 30 Jan 2015 19:58:20 +0000 (20:58 +0100)]
Oleh Krehel [Fri, 30 Jan 2015 19:23:41 +0000 (20:23 +0100)]
hydra.el (defhydra): fix a bug for old Emacs versions
re #10
Dmitry Gutov [Fri, 30 Jan 2015 16:52:51 +0000 (18:52 +0200)]
Add a comment
Oleh Krehel [Fri, 30 Jan 2015 16:12:21 +0000 (17:12 +0100)]
Oleh Krehel [Fri, 30 Jan 2015 16:07:13 +0000 (17:07 +0100)]
Bump version
Dmitry Gutov [Fri, 30 Jan 2015 11:03:34 +0000 (13:03 +0200)]
Merge pull request #203 from cheunghy/master
`js2-time' remove unused variable.
Oleh Krehel [Fri, 30 Jan 2015 10:35:19 +0000 (11:35 +0100)]
hydra.el (defhydra): Use `clear-temporary-overlay-map'
* hydra.el (defhydra): Add a fix for old Emacs versions that don't have
`set-transient-map'.
Fixes #10.
Oleh Krehel [Thu, 29 Jan 2015 22:05:10 +0000 (23:05 +0100)]
When calling `prefix/nil', make sure there's something to disable
* hydra.el (defhydra): Update.
Fixes #10.
Oleh Krehel [Thu, 29 Jan 2015 17:35:30 +0000 (18:35 +0100)]
README.md: update
Zhang Kai Yu [Fri, 30 Jan 2015 02:28:03 +0000 (10:28 +0800)]
`js2-time' remove unused variable.
Oleh Krehel [Thu, 29 Jan 2015 17:30:13 +0000 (18:30 +0100)]
hydra-examples.el: Update commentary
Oleh Krehel [Thu, 29 Jan 2015 17:21:13 +0000 (18:21 +0100)]
Add automated testing
* hydra-test.el (defhydra): Add test.
Oleh Krehel [Thu, 29 Jan 2015 15:29:18 +0000 (16:29 +0100)]
hydra.el (defhydra): new macro to create hydras.
* hydra.el (hydra--callablep): New function.
(hydra-create): Write down in terms of `defhydra'.
(defhydra): New macro.
`defhydra' uses more parameters than `hydra-create' and looks more like
a `defun':
(defhydra hydra-windmove (global-map "C-M-o")
"windmove"
("h" windmove-left)
("j" windmove-down)
("k" windmove-up)
("l" windmove-right)
("o"))
(defhydra hydra-zoom (global-map "<f2>")
"zoom"
("g" text-scale-increase "in")
("l" text-scale-decrease "out"))
(defhydra lispy-knight ()
"knight"
("j" lispy-knight-down)
("k" lispy-knight-up)
("z"))
Important advantages:
- Hydra body can be omitted. If you do this, you can bind the functions
that `defhydra' produced (in the example above, `lispy-knight/body')
yourself. It can be useful e.g. if you want to call these functions
conditionally.
- Each Hydra gets a nice name, like `hydra-windmove/windmove-left'
instead of the old `hydra-C-M-o-windmove-left'.
- Hydra hint (base) can now be customized.
Dmitry Gutov [Wed, 28 Jan 2015 16:08:13 +0000 (18:08 +0200)]
Fix version
Dmitry Gutov [Wed, 28 Jan 2015 16:06:02 +0000 (18:06 +0200)]
Enable company-search-map in company-search-mode body
Fixes #289
Dmitry Gutov [Wed, 28 Jan 2015 13:06:21 +0000 (15:06 +0200)]
Add 'packages/company-statistics/' from commit '
f8d15c7edb2a182f484c5e6eb86f322df473e763 '
git-subtree-dir: packages/company-statistics
git-subtree-mainline:
0d834ff627ae024cd1edfb21023f506737139f24
git-subtree-split:
f8d15c7edb2a182f484c5e6eb86f322df473e763
Matthew Carter [Wed, 28 Jan 2015 03:13:06 +0000 (22:13 -0500)]
Merge commit '
1583a82fdcd387de95d27c384ec590e714d24c6a ' as 'packages/ahungry-theme'
Matthew Carter [Wed, 28 Jan 2015 03:13:06 +0000 (22:13 -0500)]
Squashed 'packages/ahungry-theme/' content from commit
57e4bc8
git-subtree-dir: packages/ahungry-theme
git-subtree-split:
57e4bc8d5725a4820999b69734b69ea53cb9de76
Artur Malabarba [Wed, 28 Jan 2015 02:04:19 +0000 (00:04 -0200)]
Readme
Artur Malabarba [Wed, 28 Jan 2015 01:52:23 +0000 (23:52 -0200)]
Add .gitignore
Artur Malabarba [Wed, 28 Jan 2015 01:51:55 +0000 (23:51 -0200)]
Add .elpaignore
Dmitry Gutov [Wed, 28 Jan 2015 00:20:34 +0000 (02:20 +0200)]
Merge pull request #202 from brianloveswords/add-browser-externs
Add animationFrame functions
Brian J Brennan [Tue, 27 Jan 2015 22:05:38 +0000 (14:05 -0800)]
Add animationFrame functions
This adds two functions to the browser externs list:
- `requestAnimationFrame`
- `cancelAnimationFrame`
See http://www.w3.org/TR/animation-timing/#requestAnimationFrame for
details.
Artur Malabarba [Tue, 27 Jan 2015 19:14:58 +0000 (17:14 -0200)]
Add lisp source file
Artur Malabarba [Tue, 27 Jan 2015 18:24:52 +0000 (16:24 -0200)]
Initial commit
Dmitry Gutov [Mon, 26 Jan 2015 19:54:45 +0000 (21:54 +0200)]
Handle "arguments" specially
Fixes #199
Oleh Krehel [Sat, 24 Jan 2015 20:29:17 +0000 (21:29 +0100)]
Oleh Krehel [Sat, 24 Jan 2015 20:28:07 +0000 (21:28 +0100)]
Oleh Krehel [Sat, 24 Jan 2015 20:12:34 +0000 (21:12 +0100)]
Setup git subtree add for hydra
git subtree add --prefix packages/hydra hydra
Oleh Krehel [Sat, 24 Jan 2015 19:50:02 +0000 (20:50 +0100)]
Bump version
Dmitry Gutov [Thu, 22 Jan 2015 23:06:34 +0000 (01:06 +0200)]
Dmitry Gutov [Thu, 22 Jan 2015 23:02:35 +0000 (01:02 +0200)]
Bump the version
Dmitry Gutov [Thu, 22 Jan 2015 23:01:23 +0000 (01:01 +0200)]
Add company-next-page and company-previous-page
Resolves #283
Dmitry Gutov [Thu, 22 Jan 2015 21:48:25 +0000 (23:48 +0200)]
Update copyright years
Dmitry Gutov [Thu, 22 Jan 2015 21:47:05 +0000 (23:47 +0200)]
company-ispell: Filter returned candidates locally
Resolves #284
Oleh Krehel [Thu, 22 Jan 2015 16:08:45 +0000 (17:08 +0100)]
hydra-examples.el: add a `windmove' Hydra
* hydra-examples.el (hydra-example-windmove): New variable.
Oleh Krehel [Thu, 22 Jan 2015 12:11:05 +0000 (13:11 +0100)]
Avoid evaling METHOD.
* hydra.el (hydra-create): Update.
METHOD doesn't need to be evaled: it's either nil, a lambda, or assume
that it's a valid keymap without evaling. This will prevent eager
macroexpansion failure for this argument.
There still is a problem with eager macroexpansion failure in HEADS
argument.
Re #9
Oleh Krehel [Wed, 21 Jan 2015 18:31:57 +0000 (19:31 +0100)]
Prepare for the first version in GNU ELPA
hydra.el (hydra-set-transient-map): new alias
`set-transient-map' only works for Emacs>=24.4.
Oleh Krehel [Wed, 21 Jan 2015 18:47:43 +0000 (19:47 +0100)]
hydra: New package
Oleh Krehel [Wed, 21 Jan 2015 17:56:17 +0000 (18:56 +0100)]
hydra-examples.el (hydra-example-goto-error): add doc
Oleh Krehel [Wed, 21 Jan 2015 17:23:02 +0000 (18:23 +0100)]
Simplify and improve the generated defuns
* hydra.el (hydra-create): Update.
Oleh Krehel [Wed, 21 Jan 2015 17:05:31 +0000 (18:05 +0100)]
Add a `next-error'/`previous-error'/`first-error' example
* hydra-examples.el (hydra-example-goto-error): New example.
* README.md: Update.
Re #8, thanks, @glucas.
Oleh Krehel [Wed, 21 Jan 2015 16:43:33 +0000 (17:43 +0100)]
Don't undefine BODY's map binding when it's a prefix
* hydra.el (hydra-create): Update.
Basically the same fix as before, only for bindings relating to a map.
Now this will work:
(hydra-create "C-y"
'(("l" forward-char)
("h" backward-char)
("j" next-line)
("k" previous-line)
("z"))
lispy-mode-map)
even though "C-y" is bound to a command in `lispy-mode-map'. The
previous binding will be undefined.
Re #4.
Oleh Krehel [Wed, 21 Jan 2015 16:11:10 +0000 (17:11 +0100)]
Don't undefine BODY's global binding when it's a prefix
* hydra.el (hydra-create): Update.
Before, this would result in a disaster - all bindings of "C-x" would be
cleared:
(hydra-create "C-x" hydra-example-move-window-splitter)
Now this should be OK. Fixes #4.
Oleh Krehel [Tue, 20 Jan 2015 22:36:48 +0000 (23:36 +0100)]
`hydra-create' will also define `hydra-...-body'
* hydra.el (hydra-create): Update.
In order to bind hydras in `lispy', I need a way to split the body from
the heads. Now, this is possible:
(hydra-create "C-z"
'(("l" forward-char)
("h" backward-char)
("j" next-line)
("k" previous-line)
("z"))
lispy-mode-map)
(lispy-define-key lispy-mode-map "z" 'hydra-C-z-body)
Oleh Krehel [Tue, 20 Jan 2015 22:31:55 +0000 (23:31 +0100)]
Allow to add one head that disables the Hydra
* hydra.el (hydra-last): Store the lambda to disable the Hydra.
(hydra-create): Update.
Sometimes, I have nothing particualr on my mind to do, but I want to
stop the Hydra. I could just type "C-g", but it's possible to have
something more convenient. For instance:
(hydra-create "C-z"
'(("l" forward-char)
("h" backward-char)
("j" next-line)
("k" previous-line)
("z")))
Oleh Krehel [Wed, 21 Jan 2015 12:19:42 +0000 (13:19 +0100)]
Fix `kbd' interpretting "<tab>" char-by-char
* hydra.el (hydra-create): Update.
Fixes #6.
Oleh Krehel [Wed, 21 Jan 2015 08:23:40 +0000 (09:23 +0100)]
Require cl at compile time
Should fix #5
Oleh Krehel [Tue, 20 Jan 2015 20:02:30 +0000 (21:02 +0100)]
Fix the bugged `global-set-key' version
* hydra.el (hydra-create): Fix.
Oleh Krehel [Tue, 20 Jan 2015 19:58:31 +0000 (20:58 +0100)]
Make sure `windmove-wrap-around' is nil during tests
* hydra-examples.el (hydra-move-splitter-left): Update.
(hydra-move-splitter-right): Update.
(hydra-move-splitter-up): Update.
(hydra-move-splitter-down): Update.
Oleh Krehel [Tue, 20 Jan 2015 18:38:47 +0000 (19:38 +0100)]
Don't unbind hydra's body, unless using global-set-key
* hydra.el (hydra-create): Update.
Fixes #3.
Oleh Krehel [Tue, 20 Jan 2015 18:24:05 +0000 (19:24 +0100)]
Update `hydra-create' format
* hydra.el (hydra-create): Expects a lists of lists for HEADS, instead
of list of cons cells. The optional thrid element of each list is the
hint.
* hydra-examples.el: Update the examples.
* README.md: Update.
Re #2
Oleh Krehel [Tue, 20 Jan 2015 17:52:50 +0000 (18:52 +0100)]
Add `hydra-is-helpful' custom var
* hydra.el (hydra-is-helpful): New custom.
(hydra-create): Display a hint in the echo area when `hydra-is-helpful'
is t.
Re #2.
Oleh Krehel [Tue, 20 Jan 2015 16:46:48 +0000 (17:46 +0100)]
Allow to use minor-mode-maps and more
* hydra.el (hydra-create): Add a third optional argument. When it's not
supplied, the behavior should remain the same. Otherwise, it's a
lambda that's used instead of `global-set-key', with the same semantics.
* README.md: Update.
re #1
Oleh Krehel [Tue, 20 Jan 2015 14:41:33 +0000 (15:41 +0100)]
Depend on cl-lib v0.5 for `cl-mapcar'
Oleh Krehel [Tue, 20 Jan 2015 14:06:46 +0000 (15:06 +0100)]
Unbind hydra's body unconditionally to avoid error
* hydra.el (hydra-create): Since body will be established as a prefix,
it can't be bound anyway. Unbind it preemptively and unconditionally.
Oleh Krehel [Tue, 20 Jan 2015 13:58:08 +0000 (14:58 +0100)]
README.md: update doc
Oleh Krehel [Tue, 20 Jan 2015 13:47:28 +0000 (14:47 +0100)]
Split away the examples
Oleh Krehel [Tue, 20 Jan 2015 12:00:56 +0000 (13:00 +0100)]
Initial import
Leo Liu [Fri, 16 Jan 2015 13:32:49 +0000 (21:32 +0800)]
Merge branch 'master' of github.com:leoliu/ggtags
Dmitry Gutov [Fri, 16 Jan 2015 01:51:59 +0000 (04:51 +0300)]
company--create-lines: Handle keep-prefix with multiple-width chars in prefix
Leo Liu [Fri, 16 Jan 2015 01:17:52 +0000 (09:17 +0800)]
Fix #84: avoid double confirmation in ggtags-ensure-project
Stefan Monnier [Thu, 15 Jan 2015 11:36:27 +0000 (14:36 +0300)]
* packages/company/test/clang-tests.el: Add copyright notice
Stefan Monnier [Thu, 15 Jan 2015 05:37:27 +0000 (00:37 -0500)]
* packages/company/test/clang-tests.el: Add copyright notice
Artur Malabarba [Wed, 14 Jan 2015 18:16:26 +0000 (16:16 -0200)]
Artur Malabarba [Wed, 14 Jan 2015 18:14:50 +0000 (16:14 -0200)]
Version bump
Artur Malabarba [Wed, 14 Jan 2015 13:53:49 +0000 (11:53 -0200)]
packages/names: cdddr -> cl-cdddr
myeffort [Wed, 14 Jan 2015 03:35:35 +0000 (06:35 +0300)]
packages/names: Corrected body argument offset for conversion of define-derived-form.
Nicolas Petton [Sun, 11 Jan 2015 13:54:34 +0000 (14:54 +0100)]
packages/seq: New package
Artur Malabarba [Tue, 13 Jan 2015 18:57:01 +0000 (16:57 -0200)]