]>
code.delx.au - gnu-emacs-elpa/log
Oleh Krehel [Sat, 23 May 2015 11:23:54 +0000 (13:23 +0200)]
Merge commit '
e084b5d9feab3dd1246e51ce1fddde3db6024f7d ' from swiper
Conflicts:
packages/swiper/ivy.el
Oleh Krehel [Sat, 23 May 2015 11:22:00 +0000 (13:22 +0200)]
swiper.el: Bump version
Oleh Krehel [Thu, 21 May 2015 09:45:17 +0000 (11:45 +0200)]
README.md: Add a secion on Ivy
Oleh Krehel [Wed, 20 May 2015 17:00:48 +0000 (19:00 +0200)]
The :action parameter to ivy-read should take one arg
* ivy.el (ivy-next-line-and-call): Update.
(ivy-previous-line-and-call): Update.
(ivy-read): Update.
(ivy--switch-buffer-action): Update.
* swiper.el (swiper-query-replace): Update.
* counsel.el (counsel--find-symbol): Update.
(counsel-describe-variable): Update.
(counsel-describe-function): Update.
(counsel-git): Update.
(counsel-git-grep-action): Update.
Oleh Krehel [Wed, 20 May 2015 11:05:03 +0000 (13:05 +0200)]
Fixup "C-u C-j" for `ivy-switch-buffer'
ivy.el (ivy-immediate-done): Since action-style call is used now,
`ivy--current' must be set to `ivy-test', since it's `ivy--current' that
will count as completion result.
Oleh Krehel [Wed, 20 May 2015 09:40:44 +0000 (11:40 +0200)]
counsel.el (counsel-git): Switch to action-style call
This allows "C-M-n" and "C-M-p" to be used.
Re #114
Oleh Krehel [Wed, 20 May 2015 08:48:15 +0000 (10:48 +0200)]
ivy.el (ivy-completing-read): Check for a cons initial-input
Stefan Monnier [Thu, 21 May 2015 01:36:48 +0000 (21:36 -0400)]
* swiper/ivy.el: Clean up regexps and pseudo-closures
Don't require cl-lib twice.
(ivy-read, ivy--filter): Use closures instead of `(lambda ...).
(ivy--format, ivy--filter, ivy--exhibit, ivy--insert-prompt)
(ivy--regex-ignore-order, ivy--regex, ivy--sorted-files)
(ivy-partial-or-done, ivy-alt-done): Don't use ^/$ to match string bounds.
Stefan Monnier [Thu, 21 May 2015 01:36:48 +0000 (21:36 -0400)]
* swiper/ivy.el: Clean up regexps and pseudo-closures
Don't require cl-lib twice.
(ivy-read, ivy--filter): Use closures instead of `(lambda ...).
(ivy--format, ivy--filter, ivy--exhibit, ivy--insert-prompt)
(ivy--regex-ignore-order, ivy--regex, ivy--sorted-files)
(ivy-partial-or-done, ivy-alt-done): Don't use ^/$ to match string bounds.
Oleh Krehel [Tue, 19 May 2015 14:14:33 +0000 (16:14 +0200)]
Oleh Krehel [Tue, 19 May 2015 14:13:41 +0000 (16:13 +0200)]
Fixup compilation warnings
Oleh Krehel [Tue, 19 May 2015 12:54:42 +0000 (14:54 +0200)]
When building a regex, consider ^ only at start
swiper.el (swiper--re-builder): Update.
Oleh Krehel [Tue, 19 May 2015 12:29:36 +0000 (14:29 +0200)]
Oleh Krehel [Tue, 19 May 2015 12:29:03 +0000 (14:29 +0200)]
Bump version
Oleh Krehel [Tue, 19 May 2015 10:11:03 +0000 (12:11 +0200)]
counsel.el (counsel-info-lookup-symbol): Turn on sorting
Oleh Krehel [Mon, 18 May 2015 18:38:20 +0000 (20:38 +0200)]
avy.el (avy--overlay-at-full): Work-around 20607
* avy.el (avy--overlay-at-full): There's a problem when there are two
overlays at the same point in the same buffer, but in different
windows, *only if* they are of different length. Make them the same
length to work-around this bug.
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20607
Fixes #47
Oleh Krehel [Mon, 18 May 2015 17:14:03 +0000 (19:14 +0200)]
avy.el (avy--overlay-at-full): Check overlay window
* avy.el (avy--overlay-at-full): Update.
Re #47
Oleh Krehel [Mon, 18 May 2015 14:31:46 +0000 (16:31 +0200)]
avy.el (avy-window-list): Fixup last commit
* avy.el (avy-window-list): Update.
Fixes #45
Jackson Ray Hamilton [Mon, 18 May 2015 09:50:15 +0000 (02:50 -0700)]
Jackson Ray Hamilton [Mon, 18 May 2015 09:27:27 +0000 (02:27 -0700)]
Version 6.3.0.
Jackson Ray Hamilton [Mon, 18 May 2015 08:53:21 +0000 (01:53 -0700)]
Merge branch 'elisp'
Jackson Ray Hamilton [Mon, 18 May 2015 08:26:51 +0000 (01:26 -0700)]
Minor cleanup.
Oleh Krehel [Mon, 18 May 2015 08:14:00 +0000 (10:14 +0200)]
make compile should run checkdoc
* targets/avy-init.el: Call `checkdoc' for "avy.el". This will actually
work only in trunk Emacs.
Jackson Ray Hamilton [Mon, 18 May 2015 08:09:29 +0000 (01:09 -0700)]
Add derived mode support.
Jackson Ray Hamilton [Mon, 18 May 2015 07:32:45 +0000 (00:32 -0700)]
Update documentation for emacs lisp.
Oleh Krehel [Mon, 18 May 2015 06:57:12 +0000 (08:57 +0200)]
Allow for all operations to work across frames
* avy.el (avy-all-windows): Change the custom type to choice: this
window/this frame/all frames.
(avy-window-list): New defun.
(avy-dowindows): Use `avy-window-list'.
(avy--process): Use `avy-window-list'.
Jackson Ray Hamilton [Mon, 18 May 2015 05:27:20 +0000 (22:27 -0700)]
Compiler micro-optimizations.
Jackson Ray Hamilton [Mon, 18 May 2015 05:18:56 +0000 (22:18 -0700)]
Bind optional parameters earlier.
Jackson Ray Hamilton [Mon, 18 May 2015 05:10:04 +0000 (22:10 -0700)]
Remove verbose parsing.
Jackson Ray Hamilton [Mon, 18 May 2015 05:07:19 +0000 (22:07 -0700)]
Add test for interruption.
Jackson Ray Hamilton [Mon, 18 May 2015 03:25:32 +0000 (20:25 -0700)]
Add constant comment test.
Jackson Ray Hamilton [Mon, 18 May 2015 02:39:54 +0000 (19:39 -0700)]
Fix incorrect last fontified position.
Jackson Ray Hamilton [Mon, 18 May 2015 02:27:33 +0000 (19:27 -0700)]
Improve defun regexp.
Jackson Ray Hamilton [Mon, 18 May 2015 01:59:47 +0000 (18:59 -0700)]
Fix timer disposal and timer buffer detection.
Jackson Ray Hamilton [Mon, 18 May 2015 00:25:24 +0000 (17:25 -0700)]
Only set defaults when the mode is enabled.
Jackson Ray Hamilton [Mon, 18 May 2015 00:00:51 +0000 (17:00 -0700)]
Fix font-lock error.
Jackson Ray Hamilton [Sun, 17 May 2015 23:57:17 +0000 (16:57 -0700)]
Add TODO.
Jackson Ray Hamilton [Sun, 17 May 2015 23:28:23 +0000 (16:28 -0700)]
Add idle change teardown function.
Jackson Ray Hamilton [Sun, 17 May 2015 23:27:35 +0000 (16:27 -0700)]
Fontify keywords.
Jackson Ray Hamilton [Sun, 17 May 2015 22:47:32 +0000 (15:47 -0700)]
Improve interruptability of syntactic coloring.
Jackson Ray Hamilton [Sun, 17 May 2015 22:44:59 +0000 (15:44 -0700)]
Make dispatches fully redefinable.
Jackson Ray Hamilton [Sun, 17 May 2015 20:37:28 +0000 (13:37 -0700)]
Tweak iteration values, add logging.
Jackson Ray Hamilton [Sun, 17 May 2015 19:56:50 +0000 (12:56 -0700)]
Refactor maybe-colorize-comments-and-strings.
Oleh Krehel [Sun, 17 May 2015 18:22:38 +0000 (20:22 +0200)]
Don't try to call permanent action if there's none
* ivy.el (ivy-next-line-and-call): Update.
(ivy-previous-line-and-call): Update.
Fixes #114.
Oleh Krehel [Sun, 17 May 2015 11:44:17 +0000 (13:44 +0200)]
Fix the at-full style interaction with tabs
* avy.el (avy--overlay-at-full): When at tab, visualize it using
`tab-width' spaces. Assume the path is shorter than `tab-width'.
Fixes #43
Oleh Krehel [Sun, 17 May 2015 11:31:16 +0000 (13:31 +0200)]
README.md: Add a link to the wiki for defcustoms
Oleh Krehel [Sun, 17 May 2015 10:47:45 +0000 (12:47 +0200)]
ivy.el (ivy-forward-char): Add and bind to "C-f"
This is to avoid problems for the ido-related "C-x C-f C-f" reflex.
Oleh Krehel [Sun, 17 May 2015 10:36:37 +0000 (12:36 +0200)]
Fixup the last commit and add contribution guidelines
* avy.el (avy-goto-char):
(avy-goto-char-2):
(avy-goto-word-1):
(avy-goto-subword-1):
(avy-goto-word-or-subword-1): Update argument list and docstring.
* README.md: Add a "Contributing" section.
Re #44
Jackson Ray Hamilton [Sun, 17 May 2015 09:49:39 +0000 (02:49 -0700)]
Add interruption mechanism.
Jackson Ray Hamilton [Sun, 17 May 2015 09:00:44 +0000 (02:00 -0700)]
Ignore question marks.
Jackson Ray Hamilton [Sun, 17 May 2015 08:45:56 +0000 (01:45 -0700)]
Add change hooks for elisp.
Jackson Ray Hamilton [Sun, 17 May 2015 07:55:31 +0000 (00:55 -0700)]
Remove unused functions.
Jackson Ray Hamilton [Sun, 17 May 2015 07:50:22 +0000 (00:50 -0700)]
Ignore the dot.
Jackson Ray Hamilton [Sun, 17 May 2015 07:36:46 +0000 (00:36 -0700)]
Add complex nesting to let test.
Jackson Ray Hamilton [Sun, 17 May 2015 07:32:57 +0000 (00:32 -0700)]
Add let test.
Jackson Ray Hamilton [Sun, 17 May 2015 07:25:11 +0000 (00:25 -0700)]
Include binding order in let* test.
Jackson Ray Hamilton [Sun, 17 May 2015 07:22:00 +0000 (00:22 -0700)]
Pass let* test.
Jackson Ray Hamilton [Sun, 17 May 2015 07:20:55 +0000 (00:20 -0700)]
Fix let* test.
Jackson Ray Hamilton [Sun, 17 May 2015 05:20:55 +0000 (22:20 -0700)]
Trivial refactoring for clarity.
Yang Zhao [Sun, 17 May 2015 04:53:09 +0000 (21:53 -0700)]
Expose chars to be read as args.
Jackson Ray Hamilton [Sat, 16 May 2015 23:59:57 +0000 (16:59 -0700)]
Add let coloring.
Jackson Ray Hamilton [Sat, 16 May 2015 23:59:01 +0000 (16:59 -0700)]
Also color defsubst.
Jackson Ray Hamilton [Sat, 16 May 2015 23:37:14 +0000 (16:37 -0700)]
Don't color function calls as level 0.
Jackson Ray Hamilton [Sat, 16 May 2015 23:23:09 +0000 (16:23 -0700)]
Add non-recursive let* coloring.
Jackson Ray Hamilton [Sat, 16 May 2015 21:38:55 +0000 (14:38 -0700)]
Refactor elisp tests to use visual assertions.
Jackson Ray Hamilton [Sat, 16 May 2015 20:09:31 +0000 (13:09 -0700)]
Don't treat unbindables like variables.
Jackson Ray Hamilton [Sat, 16 May 2015 19:45:29 +0000 (12:45 -0700)]
Add elisp comments and strings support.
Oleh Krehel [Sat, 16 May 2015 17:31:26 +0000 (19:31 +0200)]
Customize how `avy-lead-face-0' is applied
* avy.el (avy-highlight-first): New defcustom. When non-nil, use
`avy-lead-face-0' even on terminal chars.
(avy--overlay-pre): Update.
(avy--overlay-at-full): Update.
(avy--overlay-post): Update.
Fixes #42
Oleh Krehel [Sat, 16 May 2015 15:59:35 +0000 (17:59 +0200)]
avy.el (avy-move-line): Use ARG lines
Oleh Krehel [Sat, 16 May 2015 12:43:51 +0000 (14:43 +0200)]
Don't error on incomplete bad regexp in counsel-git-grep
counsel.el (counsel-git-grep-matcher): Update.
Jackson Ray Hamilton [Sat, 16 May 2015 12:43:42 +0000 (05:43 -0700)]
Add quote and number coloring.
Oleh Krehel [Sat, 16 May 2015 12:39:10 +0000 (14:39 +0200)]
counsel.el (counsel-git-grep): Warn if not in a repository
Jackson Ray Hamilton [Sat, 16 May 2015 09:26:54 +0000 (02:26 -0700)]
Add lambda coloring.
Jackson Ray Hamilton [Sat, 16 May 2015 07:54:26 +0000 (00:54 -0700)]
Cover malformed defun cases.
Oleh Krehel [Sat, 16 May 2015 07:50:32 +0000 (09:50 +0200)]
ivy.el (ivy-kill-word): Add and bind to "M-d"
Fixes #94
Jackson Ray Hamilton [Sat, 16 May 2015 07:38:58 +0000 (00:38 -0700)]
Add basic elisp defun coloring.
Nicolas Petton [Fri, 15 May 2015 09:17:50 +0000 (11:17 +0200)]
Update seq.el to version 1.7
* packages/seq/seq.el: Update to version 1.7.
* packages/seq/tests/seq-tests.el: Update to version 1.7.
Oleh Krehel [Fri, 15 May 2015 07:20:59 +0000 (09:20 +0200)]
README.md: Add sample init
Fixes #112
__rompy [Fri, 15 May 2015 06:09:46 +0000 (09:09 +0300)]
Fixed ivy--preselect-index on windows where the drives folders ends with a backslash (C:\, D:\)
Jackson Ray Hamilton [Fri, 15 May 2015 04:16:18 +0000 (21:16 -0700)]
Use lowercase for hex codes.
Oleh Krehel [Thu, 14 May 2015 13:05:24 +0000 (15:05 +0200)]
Update the way spaces are quoted using ivy
* ivy.el (ivy--split): Split only on single spaces. From all other space
groups, remove one space.
* ivy-test.el (ivy--split): Add test.
Fixes #109
Ting-Yu Lin [Thu, 14 May 2015 10:10:17 +0000 (18:10 +0800)]
Remove empty line after original one being moved
Fixed #40.
Oleh Krehel [Wed, 13 May 2015 22:05:28 +0000 (00:05 +0200)]
Allow all kinds of styles for `avy-goto-line'
* avy.el (avy--line): Use the custom style. Use line end postion for
'post style.
Fixes abo-abo/ace-link#17
Any of the following do something different now:
(setq avy-styles-alist
'((avy-goto-line . post)))
(setq avy-styles-alist
'((avy-goto-line . at)))
(setq avy-styles-alist
'((avy-goto-line . at-full)))
(setq avy-styles-alist
'((avy-goto-line . pre)))
Oleh Krehel [Wed, 13 May 2015 21:47:12 +0000 (23:47 +0200)]
ivy.el (ivy-partial-or-done): More predictability
* ivy.el (ivy-partial-or-done): Forward to `ivy-alt-done' only if
`ivy-partial' did nothing new, and either previous command was
`ivy-partial-or-done', or there's exactly one matching candidate.
Fixes #107
Oleh Krehel [Wed, 13 May 2015 21:31:34 +0000 (23:31 +0200)]
avy.el (avy--overlay-at): Use `avy--overlay-offset'
Fixes abo-abo/lispy#70
Oleh Krehel [Wed, 13 May 2015 08:08:17 +0000 (10:08 +0200)]
Allow to recenter with "C-l" during counsel-git-grep
* counsel.el (counsel-git-grep-map): New defvar.
(counsel-git-grep-recenter): New command.
(counsel-git-grep-action): New defun.
(counsel-git-grep): Update.
Fixes #103
Oleh Krehel [Wed, 13 May 2015 08:05:00 +0000 (10:05 +0200)]
ivy.el (ivy-partial-or-done): Update doc
Re #105
Oleh Krehel [Wed, 13 May 2015 07:46:07 +0000 (09:46 +0200)]
ivy.el (ivy-partial-or-done): Always forward to `ivy-alt-done'
Fixes #105
Oleh Krehel [Tue, 12 May 2015 16:38:44 +0000 (18:38 +0200)]
ivy.el (ivy-delete-char): Add and bind to "C-d"
`delete-char' must not be called when at end of line, since that would
bring the first candidate into the input.
Fixes #94
Oleh Krehel [Tue, 12 May 2015 16:05:45 +0000 (18:05 +0200)]
ivy.el (ivy-switch-buffer): Preselect other-buffer
* ivy.el (ivy-switch-buffer): Preselect other buffer, just like
`switch-to-buffer' does it.
Oleh Krehel [Tue, 12 May 2015 13:35:06 +0000 (15:35 +0200)]
ivy.el (ivy-read): Keep the last ivy--index for :dynamic-collection
Oleh Krehel [Tue, 12 May 2015 13:24:29 +0000 (15:24 +0200)]
counsel-git-grep now works with ivy-resume
* ivy.el (ivy-state): New field DYNAMIC-COLLECTION.
(ivy-resume): Update.
(ivy-read): New argument DYNAMIC-COLLECTION. When this is non-nil,
ignore collection and matchers etc, and just obtain the filtered
candidates by calling DYNAMIC-COLLECTION each time the input changes.
Fixes #100
Oleh Krehel [Tue, 12 May 2015 12:55:18 +0000 (14:55 +0200)]
Introduce :matcher for counsel-git-grep
* ivy.el (ivy-state): Add MATCHER field.
(ivy-resume): Update.
(ivy-read): Add MATCHER argument. To make things faster, MATCHER can
reuse `ivy--old-re', but it's not required. MATCHER is a function that
takes a candidate and returns non-nil if it matches.
* counsel.el (counsel-git-grep): Use :matcher.
(counsel-git-grep-matcher): New defun. Skip the file name and line
number, then match as usual.
Fixes #99
Oleh Krehel [Tue, 12 May 2015 11:34:03 +0000 (13:34 +0200)]
Forward to minibuffer-complete for filenames only if "^/"
* ivy.el (ivy-partial-or-done): Update.
Fixes #102
Oleh Krehel [Tue, 12 May 2015 10:36:18 +0000 (12:36 +0200)]
Add `avy-lead-face-1' for dimmed matched chars
* avy.el (avy-lead-face-0): Update doc.
(avy-lead-face-1): New face.
(avy-current-path): New defvar.
(avy-read): Store the current matched chars in `avy-current-path'.
(avy--overlay-pre):
(avy--overlay-post): Extend the string with the matched part. This
prevents shifting during selection, and looks nice too.
Fixes #38
Oleh Krehel [Tue, 12 May 2015 10:01:59 +0000 (12:01 +0200)]
Use `avy-lead-face-0' for 'pre and 'post
* avy.el (avy--overlay-pre): Update.
(avy--overlay-post): Update.
Re #38
Oleh Krehel [Tue, 12 May 2015 09:34:26 +0000 (11:34 +0200)]
Properly update virtual buffers for "^ " interaction
* ivy.el (ivy-read): Use `ivy--buffer-list'.
(ivy--exhibit): Use `ivy--buffer-list'.
(ivy-add-virtual-buffers): Remove.
(ivy--buffer-list): New defun.
Re #68
Oleh Krehel [Tue, 12 May 2015 09:17:46 +0000 (11:17 +0200)]
Fix the error switching to non-existent buffers
* ivy.el (ivy-read): Use `ivy-add-virtual-buffers'.
(ivy-buffer-list): Remove.
(ivy-add-virtual-buffers): New defun.
(ivy--switch-buffer-action): New defun, consider `ivy--current' being
zero length.
(ivy-switch-buffer): Use `ivy--switch-buffer-action'.
Fixes #101
Oleh Krehel [Tue, 12 May 2015 08:52:39 +0000 (10:52 +0200)]
With 'at-full style, use full len to check for overlap
avy.el (avy--overlay-at-full): Update.
Oleh Krehel [Mon, 11 May 2015 19:26:23 +0000 (21:26 +0200)]
Stop 'at-full from shifting text
* avy.el (avy-read): Call DISPLAY-FN in buffer's reverse order.
(avy--overlay-at-full): When there's an avy overlay after point, shorten
the current overlay to one letter.
Re #5