]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
9 years agoMerge commit 'b114cf8a93224c85c51e95db52bf359131130476' from ace-window
Oleh Krehel [Sat, 9 May 2015 11:48:05 +0000 (13:48 +0200)]
Merge commit 'b114cf8a93224c85c51e95db52bf359131130476' from ace-window

9 years ago* avy.el: Fix up author email and top-level require.
Stefan Monnier [Fri, 8 May 2015 19:13:22 +0000 (15:13 -0400)]
* avy.el: Fix up author email and top-level require.

9 years agoace-window.el (aw-ignore-current): New defcustom
Oleh Krehel [Fri, 8 May 2015 17:17:55 +0000 (19:17 +0200)]
ace-window.el (aw-ignore-current): New defcustom

* ace-window.el (aw-ignored-p): Use `aw-ignore-current'.

Fixes #43

9 years agoMerge commit 'cc38c044a13e6df822431d6c706cf4b9255900bd' from ace-window
Oleh Krehel [Fri, 8 May 2015 13:36:52 +0000 (15:36 +0200)]
Merge commit 'cc38c044a13e6df822431d6c706cf4b9255900bd' from ace-window

Move the dependencies into a new ELPA package avy.

9 years agoAdd 'packages/avy/' from commit '32003515c8efa2cf38b62c45499dae30bc7cacb8'
Oleh Krehel [Fri, 8 May 2015 13:34:46 +0000 (15:34 +0200)]
Add 'packages/avy/' from commit '32003515c8efa2cf38b62c45499dae30bc7cacb8'

git-subtree-dir: packages/avy
git-subtree-mainline: 74b34f2bbb929a1caf5cf753e59c54c3ccb74f50
git-subtree-split: 32003515c8efa2cf38b62c45499dae30bc7cacb8

9 years agoBump version
Oleh Krehel [Fri, 8 May 2015 13:32:16 +0000 (15:32 +0200)]
Bump version

9 years agoavy-jump.el (avy-setup-default): Setup some bindings
Oleh Krehel [Fri, 8 May 2015 13:20:08 +0000 (15:20 +0200)]
avy-jump.el (avy-setup-default): Setup some bindings

* README.md: Add a description.

Fixes #10

9 years agoAce Window now depends on Avy
Oleh Krehel [Fri, 8 May 2015 09:57:40 +0000 (11:57 +0200)]
Ace Window now depends on Avy

* Cask: New file.

* Makefile: Leave only the compile target.

* ace-window.el: Depend on `avy'.

* avy-init.el:
* avy-jump.el:
* avy-test.el:
* avy.el: Delete files, they are in `avy' repository now.

Fixes #39

9 years agoavy.el: Update commentary
Oleh Krehel [Fri, 8 May 2015 09:51:07 +0000 (11:51 +0200)]
avy.el: Update commentary

9 years agoAdd avy-goto-subword-1
Oleh Krehel [Fri, 8 May 2015 09:36:10 +0000 (11:36 +0200)]
Add avy-goto-subword-1

Fixes #8

9 years agoavy-jump.el (avy-goto-word-1): Fix for "."
Oleh Krehel [Thu, 7 May 2015 13:36:35 +0000 (15:36 +0200)]
avy-jump.el (avy-goto-word-1): Fix for "."

Fixes #7

9 years agoSpecial-case char RET to allow for jumping to end-of-lines.
Tassilo Horn [Thu, 7 May 2015 12:37:31 +0000 (14:37 +0200)]
Special-case char RET to allow for jumping to end-of-lines.

With this change you can use `avy-goto-char' also to jump to the end of
some currently visible line.  E.g., C-c j <return> (assuming C-c j is
bound to `avy-goto-char') makes all line endings jump targets.

`avy--overlay-at' had to be adapted so that the overlay at \n doesn't
make the line-break disappear.

`avy--overlay' had to be adapted in order not to put an overlay on the
char after (point-max) in case `avy--overlay-post' is used.  (Honestly,
this feature is a bit awkward with 'post overlays where the jump
location is visualized as first char in the next line.)

9 years agoAbstract windows and rely on subword
Oleh Krehel [Thu, 7 May 2015 11:28:27 +0000 (13:28 +0200)]
Abstract windows and rely on subword

* avy-jump.el (avy-dowindows): New macro.
(avy--regex-candidates): Use `avy-dowindows'.
(avy-goto-subword-0): Rely on `subword-backward'.
(avy--line): Use `avy-dowindows'.

Fixes #4

9 years agoREADME.md: Add command descriptions
Oleh Krehel [Thu, 7 May 2015 11:02:44 +0000 (13:02 +0200)]
README.md: Add command descriptions

9 years agoavy-jump.el (avy--line): Avoid image-mode and doc-view-mode
Oleh Krehel [Thu, 7 May 2015 11:02:20 +0000 (13:02 +0200)]
avy-jump.el (avy--line): Avoid image-mode and doc-view-mode

Fixes #1

9 years agoCustomize the leading char style for chars and words
Oleh Krehel [Thu, 7 May 2015 10:42:58 +0000 (12:42 +0200)]
Customize the leading char style for chars and words

* avy-jump.el (avy--style-fn): New defun.
(avy--generic-jump): Add a STYLE arg.
(avy-goto-char-style): New defcustom.
(avy-goto-word-style): New defcustom.
(avy-goto-char): Update.
(avy-goto-char-2): Update.
(avy-goto-word-0): Update.
(avy-goto-word-1): Simplify.
(avy-goto-subword-0): Update doc.

Fixes #5

9 years agoREADME.md: add
Oleh Krehel [Thu, 7 May 2015 10:10:51 +0000 (12:10 +0200)]
README.md: add

Fixes #2

9 years agoFix avy-goto-subword-0
Tassilo Horn [Thu, 7 May 2015 08:28:24 +0000 (10:28 +0200)]
Fix avy-goto-subword-0

avy-goto-subword-0's regexp requires that case-fold-search is nil, so
let-bind it.

9 years agoRegexp-quote strings of avy-goto-char* functions.
Tassilo Horn [Thu, 7 May 2015 08:22:42 +0000 (10:22 +0200)]
Regexp-quote strings of avy-goto-char* functions.

Before this commit, avy-goto-char with char ^ would inf-loop because the
resulting string "^" is treated as a regular expressions.  However, with
the avy-goto-char* function, the char should be treated literally.  For
example, in Clojure ^:foo is treated as metadata annotation and thus ^
is a likely jump target.

9 years agoMerge commit '6811a4d2788cf6753a19be728b78e13dd44e4ca8'
Artur Malabarba [Wed, 6 May 2015 10:00:47 +0000 (11:00 +0100)]
Merge commit '6811a4d2788cf6753a19be728b78e13dd44e4ca8'

9 years agoVersion 1.0.2
Artur Malabarba [Wed, 6 May 2015 10:00:02 +0000 (11:00 +0100)]
Version 1.0.2

9 years agoAdd iedit support. Fix #47
Artur Malabarba [Wed, 6 May 2015 09:54:10 +0000 (10:54 +0100)]
Add iedit support. Fix #47

9 years agoMove obsoletes to one place
Oleh Krehel [Wed, 6 May 2015 06:43:45 +0000 (08:43 +0200)]
Move obsoletes to one place

9 years agoAvoid image-mode and doc-view-mode
Oleh Krehel [Tue, 5 May 2015 15:39:41 +0000 (17:39 +0200)]
Avoid image-mode and doc-view-mode

* avy-jump.el (avy--regex-candidates): Update.

Re #1

9 years agoMove from "avi-" to "avy-", leave old stuff obsolete
Oleh Krehel [Tue, 5 May 2015 14:53:37 +0000 (16:53 +0200)]
Move from "avi-" to "avy-", leave old stuff obsolete

* avy-jump.el (avi-keys):
(avi-background):
(avi-word-punc-regexp):
(avi-lead-face):
(avi--goto):
(avi--process):
(avi-all-windows):
(avi-goto-char):
(avi-goto-char-2):
(avi-isearch):
(avi-goto-word-0):
(avi-goto-subword-0):
(avi-goto-word-1):
(avi-goto-line):
(avi-copy-line):
(avi-move-line):
(avi-copy-region): Make obsolete.

9 years agoInitial import
Oleh Krehel [Tue, 5 May 2015 14:29:21 +0000 (16:29 +0200)]
Initial import

9 years agoStart the decoupling of ace-window and avy-jump
Oleh Krehel [Tue, 5 May 2015 14:20:30 +0000 (16:20 +0200)]
Start the decoupling of ace-window and avy-jump

The dependencies now are ace-window -> avy-jump -> avy.

* ace-window.el (aw-overlays-lead): Rename to `avy--overlays-lead'.
(aw--done): Update.
(aw--remove-leading-chars): Rename to `aw--remove-leading-chars'.
(aw-select): Update.

* avy-init.el: Move requires after byte compiling.

* avy-jump.el (ace-window): Remove require.
(avy-background-face): New defface.
(avi--process): Update.
(avy--overlays-back): New defvar.
(avy--make-backgrounds): New defun.
(avy--done): New defun.
(avy--overlays-lead): Rename from `aw-overlays-lead'.
(avy--remove-leading-chars): Rename from `aw--remove-leading-chars'.
(avi--overlay): Update.
(avi--overlay-at): Update.

9 years agoavy-jump.el (avi--goto): Push mark before moving
Oleh Krehel [Tue, 5 May 2015 14:16:49 +0000 (16:16 +0200)]
avy-jump.el (avi--goto): Push mark before moving

Fixes #41

9 years agoFix rounding error
Oleh Krehel [Tue, 5 May 2015 14:12:04 +0000 (16:12 +0200)]
Fix rounding error

* avy.el (avy-subdiv): (log 14 14) is 1.0, but the floor of it can be
  either 1 or 0 due to machine precision. Add an eps to fix it.

Fixes #37

9 years agoAdd `avi-word-punc-regexp` defcustom
Kaushal Modi [Tue, 5 May 2015 13:14:07 +0000 (09:14 -0400)]
Add `avi-word-punc-regexp` defcustom

- Setting this to nil will disable jumping to punctuation chars during
  `avi-goto-word-1`.
- Set this to a regexp of punctuation chars you want to match otherwise.
- "[!-/:-@[-`{-~]" will match all printable punctuation chars.

9 years agoAdd "make compile" and "make run"
Oleh Krehel [Tue, 5 May 2015 12:59:20 +0000 (14:59 +0200)]
Add "make compile" and "make run"

Re #37

9 years agoavy-jump.el (avi-goto-word-1): Count some syms as words
Oleh Krehel [Tue, 5 May 2015 12:38:11 +0000 (14:38 +0200)]
avy-jump.el (avi-goto-word-1): Count some syms as words

* avy-jump.el (avi-goto-word-1): Update.

Fixes #38

9 years agoMerge commit '283a006be8e96c7e011dedddb460b289d335a9fb' from context-coloring
Jackson Ray Hamilton [Tue, 5 May 2015 11:09:15 +0000 (04:09 -0700)]
Merge commit '283a006be8e96c7e011dedddb460b289d335a9fb' from context-coloring

9 years agoVersion 6.2.1.
Jackson Ray Hamilton [Tue, 5 May 2015 11:00:23 +0000 (04:00 -0700)]
Version 6.2.1.

9 years agoReimplement coverage reporter in elisp.
Jackson Ray Hamilton [Tue, 5 May 2015 10:22:14 +0000 (03:22 -0700)]
Reimplement coverage reporter in elisp.

9 years agoMerge commit 'faf966b6b5921074da6b99477e1f0bea29b45f6f'
Eric Abrahamsen [Tue, 5 May 2015 08:43:26 +0000 (16:43 +0800)]
Merge commit 'faf966b6b5921074da6b99477e1f0bea29b45f6f'

9 years agoSquashed 'packages/gnorb/' changes from a387d85..538b5bd
Eric Abrahamsen [Tue, 5 May 2015 08:43:26 +0000 (16:43 +0800)]
Squashed 'packages/gnorb/' changes from a387d85..538b5bd

538b5bd Bump version to 1.1.1
209b938 Attach outgoing message check to message-sent-hook
51439a1 Look in drawers for potential mail links
2783829 Save return config for quick reply

git-subtree-dir: packages/gnorb
git-subtree-split: 538b5bd743b430d914d3a3046ad6545418c238a1

9 years agoRefactor coverage.
Jackson Ray Hamilton [Tue, 5 May 2015 04:13:00 +0000 (21:13 -0700)]
Refactor coverage.

9 years agoUpdate library headers.
Jackson Ray Hamilton [Tue, 5 May 2015 04:12:13 +0000 (21:12 -0700)]
Update library headers.

9 years agoGuard against excessively lenghty nodes.
Jackson Ray Hamilton [Tue, 5 May 2015 03:20:48 +0000 (20:20 -0700)]
Guard against excessively lenghty nodes.

9 years agoDouble-space.
Jackson Ray Hamilton [Tue, 5 May 2015 01:10:25 +0000 (18:10 -0700)]
Double-space.

9 years agoCleanup README.
Jackson Ray Hamilton [Tue, 5 May 2015 01:05:53 +0000 (18:05 -0700)]
Cleanup README.

9 years agoUpdate library header.
Jackson Ray Hamilton [Tue, 5 May 2015 01:02:33 +0000 (18:02 -0700)]
Update library header.

9 years agoRefactor trim functions.
Jackson Ray Hamilton [Tue, 5 May 2015 00:18:17 +0000 (17:18 -0700)]
Refactor trim functions.

9 years agoMake sure avi-move-line and avi-copy-line behave consistently.
Tim Krones [Mon, 4 May 2015 20:37:15 +0000 (22:37 +0200)]
Make sure avi-move-line and avi-copy-line behave consistently.

Insert newline when moving one or more lines with avi-move-line.

9 years agoavy-jump.el (avi-goto-line): Work with one or more windows
Oleh Krehel [Mon, 4 May 2015 19:56:49 +0000 (21:56 +0200)]
avy-jump.el (avi-goto-line): Work with one or more windows

* avy-jump.el (avi-goto-line): Update.
(avi--line): Update.

9 years agoavy-jump.el (avi--line): Fixup the issue with org outlines
Oleh Krehel [Mon, 4 May 2015 19:51:08 +0000 (21:51 +0200)]
avy-jump.el (avi--line): Fixup the issue with org outlines

Re #33

9 years agoUpdate a few commands to jump in one or more windows
Oleh Krehel [Mon, 4 May 2015 18:45:02 +0000 (20:45 +0200)]
Update a few commands to jump in one or more windows

* avy-jump.el (avi--generic-jump): New defun.
(avi-goto-char): Update.
(avi-goto-char-2): Update.
(avi-goto-word-0): Update.
(avi-goto-subword-0): Update.

9 years agoavy-jump.el (avi-all-windows): New defcustom
Oleh Krehel [Mon, 4 May 2015 17:52:11 +0000 (19:52 +0200)]
avy-jump.el (avi-all-windows): New defcustom

* avy-jump.el (avi--regex-candidates): When `avi-all-windows' is
  non-nil, use all windows instead of just the current.

9 years agoavy-jump.el (avi--overlay-pre): Handle plain numbers
Oleh Krehel [Mon, 4 May 2015 16:03:15 +0000 (18:03 +0200)]
avy-jump.el (avi--overlay-pre): Handle plain numbers

* avy-jump.el (avi--overlay-pre):
(avi--overlay-post): Handle the case of LEAF being a number.

9 years agoDon't collect candidates hidden by outlines
Oleh Krehel [Mon, 4 May 2015 15:25:13 +0000 (17:25 +0200)]
Don't collect candidates hidden by outlines

* avy-jump.el (avi--regex-candidates): Update.

Fixes #33

9 years agoBust cache.
Jackson Ray Hamilton [Mon, 4 May 2015 12:16:57 +0000 (05:16 -0700)]
Bust cache.

9 years agoUpdate README.
Jackson Ray Hamilton [Mon, 4 May 2015 12:11:29 +0000 (05:11 -0700)]
Update README.

9 years agoTest the trimming function.
Jackson Ray Hamilton [Mon, 4 May 2015 12:05:50 +0000 (05:05 -0700)]
Test the trimming function.

9 years agoDrop `subr-x' dependency.
Jackson Ray Hamilton [Mon, 4 May 2015 11:55:39 +0000 (04:55 -0700)]
Drop `subr-x' dependency.

9 years agoAdd coverage for missing lines.
Jackson Ray Hamilton [Mon, 4 May 2015 11:47:38 +0000 (04:47 -0700)]
Add coverage for missing lines.

9 years agoTrailing whitespace, empty arrays, empty strings.
Jackson Ray Hamilton [Mon, 4 May 2015 11:39:02 +0000 (04:39 -0700)]
Trailing whitespace, empty arrays, empty strings.

Fix bug in the JSON parser.  Arrays only parsed before because
`string-to-number' ignored the trailing "]".

9 years agoFix original-maximum-face restoration bug.
Jackson Ray Hamilton [Mon, 4 May 2015 09:04:05 +0000 (02:04 -0700)]
Fix original-maximum-face restoration bug.

9 years agoAdd local coverage configuration.
Jackson Ray Hamilton [Mon, 4 May 2015 07:42:26 +0000 (00:42 -0700)]
Add local coverage configuration.

9 years agoDon't colorize if there are parse errors.
Jackson Ray Hamilton [Sun, 3 May 2015 11:38:42 +0000 (04:38 -0700)]
Don't colorize if there are parse errors.

9 years agoMerge commit '829bdb6dcb08e2b1a8d8c329e697156e5fa2dbcc' from swiper
Oleh Krehel [Sun, 3 May 2015 10:58:27 +0000 (12:58 +0200)]
Merge commit '829bdb6dcb08e2b1a8d8c329e697156e5fa2dbcc' from swiper

9 years agoswiper.el: Bump version
Oleh Krehel [Sun, 3 May 2015 10:57:37 +0000 (12:57 +0200)]
swiper.el: Bump version

9 years agoMake default colors more like font-lock's.
Jackson Ray Hamilton [Sun, 3 May 2015 10:56:27 +0000 (03:56 -0700)]
Make default colors more like font-lock's.

9 years agoavy-jump.el (avi-goto-subword-0): New command
Oleh Krehel [Sun, 3 May 2015 10:40:13 +0000 (12:40 +0200)]
avy-jump.el (avi-goto-subword-0): New command

9 years agoUse real keywords.
Jackson Ray Hamilton [Sun, 3 May 2015 10:08:38 +0000 (03:08 -0700)]
Use real keywords.

9 years agoivy.el (ivy-resume): Quote the preselect
Oleh Krehel [Sun, 3 May 2015 10:02:01 +0000 (12:02 +0200)]
ivy.el (ivy-resume): Quote the preselect

9 years agoFix the candidate index for `ivy-resume'
Oleh Krehel [Sat, 2 May 2015 16:04:17 +0000 (18:04 +0200)]
Fix the candidate index for `ivy-resume'

* ivy.el (ivy--preselect-index): The the regex, not the plain text.

9 years agoAdd unwind argument to ivy-read
Oleh Krehel [Sat, 2 May 2015 15:50:17 +0000 (17:50 +0200)]
Add unwind argument to ivy-read

* ivy.el (ivy-state): Add `unwind' field.
(ivy-resume): Update.
(ivy-read): Call the `unwind' argument in the unwind form.

* swiper.el (swiper--ivy): Use `unwind' for `ivy-read'.

9 years ago* spinner: Rename constructor.
Artur Malabarba [Sat, 2 May 2015 10:23:46 +0000 (11:23 +0100)]
* spinner: Rename constructor.

9 years agoMerge ivy--persistent-action into ivy-state-action
Oleh Krehel [Fri, 1 May 2015 20:44:57 +0000 (22:44 +0200)]
Merge ivy--persistent-action into ivy-state-action

* counsel.el (counsel-git-grep): Update.

* ivy.el (ivy--persistent-action): Remove defvar.
(ivy-next-line-and-call): Update.
(ivy-previous-line-and-call): Update.

9 years agoivy-resume now works for functions that supply action
Oleh Krehel [Fri, 1 May 2015 20:01:30 +0000 (22:01 +0200)]
ivy-resume now works for functions that supply action

ivy.el (ivy-resume): Use action

Functions like `counsel-describe-funtion' and `counsel-describe-varible'
are now resume-able: after finishing with "RET" or breaking out with
"C-g" it's possible to resume the query in the same state as it
was (same collection, input, index).

With:

(global-set-key (kbd "C-c C-r") 'ivy-resume)

it's possible to e.g.:

- "F1 f" info read "RET" to describe Info-breadcrumbs
- "C-c C-r" "C-n" to describe Info-read-node-name
- "C-c C-r" "C-n" to describe Info-read-node-name-1
...

9 years agoMerge ivy--action into ivy-last
Oleh Krehel [Fri, 1 May 2015 19:49:25 +0000 (21:49 +0200)]
Merge ivy--action into ivy-last

* ivy.el (ivy-state): Add action field.
(ivy-set-action): New defun. Just a shortcut to set action.
(ivy--action): Remove defvar.
(ivy-read): Add action argument. Check (ivy-state-action ivy-last) in
the end and call it, since the action can change during the completion.
(ivy--insert-prompt): Add `counsel-find-symbol' to the list.
(ivy--format): If there are no matches, set `ivy--current' to "".

9 years agoMerge ivy-window into ivy-last
Oleh Krehel [Fri, 1 May 2015 18:37:54 +0000 (20:37 +0200)]
Merge ivy-window into ivy-last

* ivy.el (ivy-state): Add a window field.
(ivy-window): Remove defvar.
(ivy-next-line-and-call): Update.
(ivy-previous-line-and-call): Update.
(ivy-read): Update.

9 years agoMerge ivy-def into ivy-last
Oleh Krehel [Fri, 1 May 2015 18:34:05 +0000 (20:34 +0200)]
Merge ivy-def into ivy-last

* ivy.el (ivy-def): Remove defvar.
(ivy-read): Update.
(ivy--filter): Update.

9 years agoAllow to quote spaces while matching
Oleh Krehel [Fri, 1 May 2015 18:28:21 +0000 (20:28 +0200)]
Allow to quote spaces while matching

* ivy.el (ivy--split): New defun.

Use (ivy--split str) in place of (split-string str " +" t).
Allows to "quote" N spaces by inputting N+1 spaces.

9 years agoAdd ivy-state struct
Oleh Krehel [Fri, 1 May 2015 18:01:08 +0000 (20:01 +0200)]
Add ivy-state struct

* ivy.el (ivy-state): New defstruct.
(ivy-last): A single global to store an `ivy-state' struct.
(ivy-require-match): Move into `ivy-last'.
(ivy-done): Update.
(ivy-resume): New defun. Initial draft, kind of works for swiper. Need
to add a callback of what to do with the result as an argument.
(ivy-read): Store all arguments into `ivy-last'.
(ivy-completing-read): Update doc.

9 years agoMerge commit '5a2e0fd355fea83e3c172402b965a1aa826fcc0c' from swiper
Oleh Krehel [Fri, 1 May 2015 14:22:31 +0000 (16:22 +0200)]
Merge commit '5a2e0fd355fea83e3c172402b965a1aa826fcc0c' from swiper

9 years agoMerge commit '1380f8c1a51f31514125a08f632d017cdfb8e26e' from hydra
Oleh Krehel [Fri, 1 May 2015 14:19:05 +0000 (16:19 +0200)]
Merge commit '1380f8c1a51f31514125a08f632d017cdfb8e26e' from hydra

Conflicts:
packages/hydra/hydra.el
packages/hydra/lv.el

9 years agohydra.el: Bump version
Oleh Krehel [Fri, 1 May 2015 13:46:21 +0000 (15:46 +0200)]
hydra.el: Bump version

9 years agohydra.el: Use add/remove-function. Fix warning.
Stefan Monnier [Sun, 19 Apr 2015 20:00:53 +0000 (16:00 -0400)]
hydra.el: Use add/remove-function. Fix warning.

* hydra.el (hydra--input-method-function): Move before first use.
(hydra--imf): New function.
(hydra-default-pre, hydra-disable): Use add/remove-function.

9 years agoAllow for "/ssh:user@" as well as for "/ssh:"
Oleh Krehel [Thu, 30 Apr 2015 10:25:50 +0000 (12:25 +0200)]
Allow for "/ssh:user@" as well as for "/ssh:"

* ivy.el (ivy-alt-done): Update.

Re #59

9 years agoImprove TRAMP completion for ivy-mode
Oleh Krehel [Thu, 30 Apr 2015 09:25:09 +0000 (11:25 +0200)]
Improve TRAMP completion for ivy-mode

* ivy.el (ivy-build-tramp-name): New defun.
(ivy-alt-done): Use arcane TRAMP stuff to complete host names.

Re #59

9 years agoivy.el (ivy-read): Reset `ivy-text' earlier
Oleh Krehel [Thu, 30 Apr 2015 09:24:06 +0000 (11:24 +0200)]
ivy.el (ivy-read): Reset `ivy-text' earlier

Related to `counsel-git-grep' "-3 chars more".

9 years agohydra.el (hydra-cell-format): Change to defvar
Oleh Krehel [Thu, 30 Apr 2015 08:55:13 +0000 (10:55 +0200)]
hydra.el (hydra-cell-format): Change to defvar

9 years agohydra.el (hydra-key-format-spec): Declare obsolete
Oleh Krehel [Thu, 30 Apr 2015 08:55:00 +0000 (10:55 +0200)]
hydra.el (hydra-key-format-spec): Declare obsolete

9 years agohydra.el (hydra-fontify-head-default): Fixup
Oleh Krehel [Thu, 30 Apr 2015 08:18:56 +0000 (10:18 +0200)]
hydra.el (hydra-fontify-head-default): Fixup

* hydra.el (hydra-fontify-head-default): Use head-exit. The heads have
  been pre-processed to have it always set.

* hydra-test.el (hydra-format-4): Update test. The heads are passed to
  `hydra--format' in the pre-processed state now (color and hint expanded).

9 years agoRepurpose `hydra--complain' for debugging
Oleh Krehel [Thu, 30 Apr 2015 08:11:56 +0000 (10:11 +0200)]
Repurpose `hydra--complain' for debugging

hydra.el (hydra--complain): Forward to either `error' or `message'.

* lv.el (lv-use-separator): Fixup doc.

9 years agoMake *LV* window fixed size
Oleh Krehel [Thu, 30 Apr 2015 07:44:12 +0000 (09:44 +0200)]
Make *LV* window fixed size

* lv.el (lv-window): Prevent `balance-windows' and the like from messing
  things up.
(lv-message): Bind `window-size-fixed' to nil for
`fit-window-to-buffer'.

Fixes #64

9 years agoivy.el (ivy--regex): Fixup
Oleh Krehel [Thu, 30 Apr 2015 07:15:10 +0000 (09:15 +0200)]
ivy.el (ivy--regex): Fixup

Fixes #62

9 years agoDon't error on bad regex
Oleh Krehel [Thu, 30 Apr 2015 06:42:01 +0000 (08:42 +0200)]
Don't error on bad regex

* ivy.el (ivy--filter): When on bad regex, just set the result to nil.

Fixes #70

9 years ago* spinner/spinner.el: Rewrite spinners as structures
Artur Malabarba [Wed, 29 Apr 2015 23:26:53 +0000 (00:26 +0100)]
* spinner/spinner.el: Rewrite spinners as structures

9 years agoUpdate and improve faces
Oleh Krehel [Wed, 29 Apr 2015 15:00:54 +0000 (17:00 +0200)]
Update and improve faces

* ivy.el (ivy-subdir): Inherit from dired-directory.

* swiper.el (swiper-match-face-1): Update doc.
(swiper-match-face-2): Update doc.
(swiper-match-face-3): Update doc.
(swiper-match-face-4): Inherit from isearch-fail.
(swiper--add-overlays): Fix the faces order swapping on the second
match.

Now it finally works as planned: face-1 is the background (re group 0),
next it cycles: face-2, face-3, face-4, face-2, face-3, face-4.

9 years agoAdd gamma-correction to alpha-blending
Oleh Krehel [Wed, 29 Apr 2015 12:32:36 +0000 (14:32 +0200)]
Add gamma-correction to alpha-blending

* colir.el (colir-compose-method): Make 'colir-compose-alpha default.
(colir-compose-alpha): Add gamma-correction.

9 years agocolir.el: Add two additional blend algorithms
Oleh Krehel [Wed, 29 Apr 2015 12:15:44 +0000 (14:15 +0200)]
colir.el: Add two additional blend algorithms

* colir.el (colir-join): Remove.
(color): Require.
(colir-compose-method): New defcustom.
(colir-compose-soft-light): New defun.
(colir-compose-overlay): New defun.
(colir-compose-alpha): New defun.
(colir-blend): Update.
(colir-blend-face-background): Update.

9 years agoivy.el (ivy--exhibit): Fixup last commit
Oleh Krehel [Wed, 29 Apr 2015 10:10:09 +0000 (12:10 +0200)]
ivy.el (ivy--exhibit): Fixup last commit

* ivy.el (ivy--old-text): Should always be a string.
(ivy-read): Update.
(ivy--exhibit): Recompute candidates on flip, always set `ivy--old-re'
to nil.

9 years agoImprove hidden buffer completion further
Oleh Krehel [Wed, 29 Apr 2015 08:14:23 +0000 (10:14 +0200)]
Improve hidden buffer completion further

* ivy.el (ivy--exhibit): Update.

Fixes #68
Fixes #69

9 years agoImprove the completion of hidden buffers
Oleh Krehel [Wed, 29 Apr 2015 06:48:39 +0000 (08:48 +0200)]
Improve the completion of hidden buffers

* ivy.el (ivy--collection): New defvar.
(ivy-read): Update.
(ivy--exhibit): Update.

Re #68.

9 years agoBind "TAB" to do partial completion
Oleh Krehel [Wed, 29 Apr 2015 06:46:31 +0000 (08:46 +0200)]
Bind "TAB" to do partial completion

* ivy.el (ivy-minibuffer-map): Update.
(ivy-alt-done): New defun.
(ivy--old-text): Update.

Re #63.

9 years agocounsel.el (counsel-git-grep): Add optional initial-input
Oleh Krehel [Tue, 28 Apr 2015 19:58:44 +0000 (21:58 +0200)]
counsel.el (counsel-git-grep): Add optional initial-input

* counsel.el (counsel-git-grep): Update.

Fixes #66

9 years agoAdd a work-around for pop-to-buffer / dedicated bug
Oleh Krehel [Tue, 28 Apr 2015 16:40:00 +0000 (18:40 +0200)]
Add a work-around for pop-to-buffer / dedicated bug

* hydra.el (hydra--work-around-dedicated): New defvar.
(hydra-keyboard-quit): Update.

Fixes #124
Fixes #119