]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
8 years agoivy.el (ivy--magic-file-slash): Allow "non-existing-dir//"
Oleh Krehel [Thu, 21 Apr 2016 07:01:21 +0000 (09:01 +0200)]
ivy.el (ivy--magic-file-slash): Allow "non-existing-dir//"

Fixes #480

8 years agocounsel.el (counsel--async-sentinel): Add safeguard to time-since
Oleh Krehel [Wed, 20 Apr 2016 10:26:28 +0000 (12:26 +0200)]
counsel.el (counsel--async-sentinel): Add safeguard to time-since

Fixes #479

8 years agodoc/ivy.org: Add a note on :predicate
Oleh Krehel [Tue, 19 Apr 2016 14:29:24 +0000 (16:29 +0200)]
doc/ivy.org: Add a note on :predicate

8 years agobug-hunter: Improve the error message when emacs -Q fails
Artur Malabarba [Tue, 19 Apr 2016 05:56:39 +0000 (02:56 -0300)]
bug-hunter: Improve the error message when emacs -Q fails

8 years agoFix a typo in the readme
Artur Malabarba [Mon, 18 Apr 2016 06:35:45 +0000 (03:35 -0300)]
Fix a typo in the readme

8 years agopackages/javaimp: whitespace/doc fixes
Filipp Gunbin [Mon, 18 Apr 2016 20:12:44 +0000 (23:12 +0300)]
packages/javaimp: whitespace/doc fixes

8 years agoivy.el (ivy-done): Allow ivy-dispatching-done to exit with no cands
Oleh Krehel [Mon, 18 Apr 2016 14:23:14 +0000 (16:23 +0200)]
ivy.el (ivy-done): Allow ivy-dispatching-done to exit with no cands

Example of use:

(defun ivy-recentf-with-last-input (_x)
  (ivy-read "Recentf: " recentf-list
            :action (lambda (f)
                      (with-ivy-window (find-file f)))
            :initial-input ivy-text
            :caller 'ivy-recentf))

(ivy-set-actions t '(("r" ivy-recentf-with-last-input "recentf")))

The input may match no candidates, but it's still good for
`ivy-recentf-with-last-input', since it uses `ivy-text' instead of
`ivy--current'.

8 years agoFix license
Artur Malabarba [Mon, 18 Apr 2016 13:48:36 +0000 (10:48 -0300)]
Fix license

8 years agocounsel.el (counsel-grep-or-swiper): Use swiper when narrowed
Oleh Krehel [Mon, 18 Apr 2016 08:17:25 +0000 (10:17 +0200)]
counsel.el (counsel-grep-or-swiper): Use swiper when narrowed

8 years agoMake the slash more magic during file name completion
Oleh Krehel [Mon, 18 Apr 2016 08:01:26 +0000 (10:01 +0200)]
Make the slash more magic during file name completion

* ivy.el (ivy--magic-file-slash): Extract from `ivy--exhibit'.
(ivy--exhibit): Update.

Update to the behavior: the slash ("/") will enter a directory even if
its name isn't completely typed out if either:

1. It's the only candidate.
2. The candidate index isn't 0, i.e. "C-n" has been typed at least once.
3. The input isn't "/".

The above rules still allow to keep the old behavior with "//" moving to
root and "/ssh:" opening tramp.

This is an experimental feature, please report if it breaks someone's
workflow.

Re #321.

8 years agoivy.el (ivy-use-ignore-default): New defcustom
Oleh Krehel [Mon, 18 Apr 2016 07:42:05 +0000 (09:42 +0200)]
ivy.el (ivy-use-ignore-default): New defcustom

* ivy.el (ivy-use-ignore): Is now set to `ivy-use-ignore-default'.
(ivy-toggle-ignore): Update.
(ivy--reset-state): Update.
(ivy--switch-buffer-matcher): When `ivy-use-ignore' is t, and they
only cands that match the input also match `ivy-ignore-buffers' show
them anyway. But when `ivy-use-ignore' is 'always, show nothing in that
case.

Fixes #477

8 years agoAdd TODO
Artur Malabarba [Mon, 18 Apr 2016 06:26:29 +0000 (03:26 -0300)]
Add TODO

8 years agoFirst release
Artur Malabarba [Mon, 18 Apr 2016 06:15:32 +0000 (03:15 -0300)]
First release

8 years agoFirst commit
Artur Malabarba [Mon, 18 Apr 2016 05:31:28 +0000 (02:31 -0300)]
First commit

8 years agoivy.el (ivy-occur-press): Set counsel-grep-last-line to nil
Oleh Krehel [Sun, 17 Apr 2016 12:22:17 +0000 (14:22 +0200)]
ivy.el (ivy-occur-press): Set counsel-grep-last-line to nil

8 years agoMerge commit '97eaa5778ce0cd596a0807ef2e676d2681aabf84'
Artur Malabarba [Sat, 16 Apr 2016 16:32:24 +0000 (13:32 -0300)]
Merge commit '97eaa5778ce0cd596a0807ef2e676d2681aabf84'

8 years agoVersion 1.6
Artur Malabarba [Sat, 16 Apr 2016 16:30:04 +0000 (13:30 -0300)]
Version 1.6

8 years agoivy.el (ivy--reset-state): file-directory-p needs a string
Oleh Krehel [Sat, 16 Apr 2016 15:40:08 +0000 (17:40 +0200)]
ivy.el (ivy--reset-state): file-directory-p needs a string

8 years agoOnly kill snippets for text length change
Noam Postavsky [Sat, 16 Apr 2016 15:31:44 +0000 (11:31 -0400)]
Only kill snippets for text length change

of protection overlay.  Changes that keep the same length of text are
probably harmless (e.g. just change of text properties).  It's possible
that some harmful changes don't change text length, but the protection
overlays are already unable to catch all important changes since they
only cover 1 character each at the edges.

cc-mode modifies text properties in the buffer to cache parsing results,
therefore it's important that yasnippet not kill yasnippets when parsing
is triggered by a function that only wants to parse the
buffer (e.g. which-function-mode).

* yasnippet.el (yas--on-protection-overlay-modification): Check length
of text change to decide if change is harmful.  Fix docstring.

8 years agoFix read-file-name with specified dir
Oleh Krehel [Sat, 16 Apr 2016 15:25:29 +0000 (17:25 +0200)]
Fix read-file-name with specified dir

* ivy.el (ivy--reset-state):
For a call (read-file-name prompt chosen default-file-name),
`ivy--directory' should be set to `chosen'.

Fixes #475

8 years agoswiper.el (swiper-mc): Restore interactive
Oleh Krehel [Fri, 15 Apr 2016 16:59:23 +0000 (18:59 +0200)]
swiper.el (swiper-mc): Restore interactive

The command is bound in `swiper-map'.
Add a warning for when it's called via "M-x", since it's not supposed to
be called that way.

8 years agocounsel.el (counsel-grep-or-swiper): New command
Oleh Krehel [Fri, 15 Apr 2016 14:33:05 +0000 (16:33 +0200)]
counsel.el (counsel-grep-or-swiper): New command

* counsel.el (counsel-grep-swiper-limit): New defvar.

8 years agocounsel.el: Fix compile warning
Oleh Krehel [Thu, 14 Apr 2016 12:33:28 +0000 (14:33 +0200)]
counsel.el: Fix compile warning

8 years agoFix counsel-grep-last-line bug
Oleh Krehel [Wed, 13 Apr 2016 17:29:12 +0000 (19:29 +0200)]
Fix counsel-grep-last-line bug

Need to reset `counsel-grep-last-line' each time the input changes.
That var should only be used for cycling the complete cands, not during
input updates.

8 years agoAdd much faster scrolling to counsel-grep
Oleh Krehel [Wed, 13 Apr 2016 17:14:15 +0000 (19:14 +0200)]
Add much faster scrolling to counsel-grep

* counsel.el (counsel-grep-last-line): New defvar.
(counsel-grep): Set `counsel-grep-last-line' to nil.
(counsel-grep-action): Instead of going to `point-min' and
`forward-line' with a huge arg (e.g. to scroll 50K lines). Scroll
relative to the last position stored in `counsel-grep-last-line'.

This change resulted in a much smoother scrolling in a 50K line file
with 22K matches.

8 years agoivy.el (ivy--format-minibuffer-line): Add ignore-errors
Oleh Krehel [Wed, 13 Apr 2016 17:08:55 +0000 (19:08 +0200)]
ivy.el (ivy--format-minibuffer-line): Add ignore-errors

It's OK to have a bad regex there while editing.

8 years agoMake ivy--regex work with "[^ ]"
Oleh Krehel [Wed, 13 Apr 2016 17:04:58 +0000 (19:04 +0200)]
Make ivy--regex work with "[^ ]"

* ivy.el (ivy--split): Add a work around to not consider spaces like
"[^ ]". It's pretty hacky, the space has to come right after "[^".
But better than nothing.

* ivy-test.el (ivy--split): Add test.

Use-case: open a freedict file, where each word being defined is with no
indentation and the explanation is with indentation.

`swiper' or `counsel-grep' will now work properly with input "^[^ ]".

8 years agoClean-up previous change
Oleh Krehel [Wed, 13 Apr 2016 16:01:49 +0000 (18:01 +0200)]
Clean-up previous change

* counsel.el (counsel--browse-history): Rename from `browse-history'.

(eshell-history-ring):
(comint-input-ring): Declare.
(counsel-esh-history): Add require.
(counsel-shell-history): Add require.
(** `counsel-esh-history'): Add an outline.

Fixes #459

8 years agoUse Ivy to browse eshell and shell history entries
manuel-uberti [Mon, 4 Apr 2016 09:01:32 +0000 (11:01 +0200)]
Use Ivy to browse eshell and shell history entries

8 years agopackages/javaimp: cosmetic fixes
Filipp Gunbin [Tue, 12 Apr 2016 14:35:34 +0000 (17:35 +0300)]
packages/javaimp: cosmetic fixes

8 years agoRelease debbugs 0.9.2
Michael Albinus [Wed, 13 Apr 2016 08:43:38 +0000 (10:43 +0200)]
Release debbugs 0.9.2

* packages/debbugs/debbugs.el: Increase Version to 0.9.2.  Require
soap-client 3.1.1.
(soap-invoke-async, async-start, async-get): Do not declare.
(debbugs-soap-invoke-async, debbugs-get-status): Remove fallback
with async.
(debbugs-get-status): Do not use `floor'.
(debbugs-search-est): Use :max instead of :skip twice.

8 years agoAllow a sexp node in ivy-views
Oleh Krehel [Tue, 12 Apr 2016 08:30:22 +0000 (10:30 +0200)]
Allow a sexp node in ivy-views

Example:

(setq ivy-views
      '(
        ;;
        ("lispy + source {}"
         (horz
          (file "lispy.el")
          (sexp (bookmark-jump "s:  source"))))))

The provided sexp will simply be evaluated.

Fixes #472

8 years agoyas-dont-activate is a hook
Stefan Monnier [Sun, 10 Apr 2016 14:14:56 +0000 (10:14 -0400)]
yas-dont-activate is a hook

* yasnippet.el (yas-dont-activate-functions): Rename from yas-dont-activate.
(yas-minor-mode-on): Use run-hook-with-args-until-success instead of
funcall.

8 years agopackages/javaimp: temporary revert version
Filipp Gunbin [Mon, 11 Apr 2016 19:27:09 +0000 (22:27 +0300)]
packages/javaimp: temporary revert version

8 years agopackages/javaimp: full rewrite
Filipp Gunbin [Fri, 18 Mar 2016 17:33:00 +0000 (20:33 +0300)]
packages/javaimp: full rewrite

* Use defstruct's from cl-lib.
* Parse pom.xml structure into tree for correct updates.
* Clean up docs.
* Simplify code.

8 years agoNew feature: virtual views in ivy-switch-buffer
Oleh Krehel [Mon, 11 Apr 2016 14:48:28 +0000 (16:48 +0200)]
New feature: virtual views in ivy-switch-buffer

* ivy.el (ivy-views): New defvar that stores the pre-defined views.
(ivy-source-views): New defun.
(ivy-set-view-recur): New defun.
(ivy--switch-buffer-action): Extend.
(ivy-set-sources): Attach `ivy-source-views' as an additional source to
`ivy-switch-buffer'.

How to use: just set `ivy-views' appropriately. An example value is
provided (but nulled, so that it's empty initially).

8 years agoMake "j"/"k" feedback more solid in ivy-occur buffers
Oleh Krehel [Mon, 11 Apr 2016 14:16:02 +0000 (16:16 +0200)]
Make "j"/"k" feedback more solid in ivy-occur buffers

* ivy.el (ivy-occur-timer): New defvar.
(ivy-occur-press): Do the overlays also for `counsel-grep'. Put
`swiper--cleanup' on a 1 second timer.

Tip: pressing "c" in *ivy-occur* buffers toggles to "calling state".
When in the calling state, "j" and "k" will auto-follow the candidate.

8 years agocounsel.el (counsel-grep-action): Work better from ivy-occur
Oleh Krehel [Mon, 11 Apr 2016 14:13:17 +0000 (16:13 +0200)]
counsel.el (counsel-grep-action): Work better from ivy-occur

8 years agoAdd timing information to async commands
Oleh Krehel [Mon, 11 Apr 2016 12:03:00 +0000 (14:03 +0200)]
Add timing information to async commands

* counsel.el (counsel--async-start):
(counsel--async-duration): New defvar.
(counsel--async-command): (re) set `counsel--async-start'.
(counsel--async-sentinel): recompute `counsel--async-duration'.

Useful to see how long last query took to process.

8 years agoDon't add useless kill ring entries
BEN ENGLISCH [Sat, 9 Apr 2016 17:52:16 +0000 (12:52 -0500)]
Don't add useless kill ring entries

while describing snippet tables.  This should also help users of
packages like pbcopy.el (which creates a new process on every
modification of the kill-ring, hence many `kill-region' calls at once
cause Emacs to run out of file descriptors).

* yasnippet.el (yas--create-snippet-xrefs): Use delete-region instead of kill-region.

Copyright-paperwork-exempt: yes

Close #675.

8 years agoyasnippet.el (snippet-mode): Add autoload cookie.
Noam Postavsky [Sat, 9 Apr 2016 22:12:25 +0000 (18:12 -0400)]
yasnippet.el (snippet-mode): Add autoload cookie.

8 years agoAvoid potential problems with user's hooks
Noam Postavsky [Sat, 9 Apr 2016 23:36:32 +0000 (19:36 -0400)]
Avoid potential problems with user's hooks

* yasnippet.el (yas--font-lock-keywords): ignore-errors from
emacs-lisp-mode call, in case user's hooks cause problems (e.g. enabling
`yas-minor-mode' before we finish loading).

8 years agopackages/yasnippet: subtree pull from external
Noam Postavsky [Sat, 9 Apr 2016 01:25:06 +0000 (21:25 -0400)]
packages/yasnippet: subtree pull from external

8 years agoFurther cleanup
Noam Postavsky [Fri, 8 Apr 2016 22:43:35 +0000 (18:43 -0400)]
Further cleanup

* yasnippet.el (yas-snippet-dirs): Fix :type.
(yas--modes-to-activate): Add explicit fboundp check instead of
ignore-errors.
(yas--font-lock-keywords): Remove redundant entries.
(yas--guess-snippet-directories): Simplify.
(yas-load-snippet-buffer-and-close): Use read-file-name.

8 years agoVarious cleanup
Stefan Monnier [Wed, 6 Apr 2016 03:48:01 +0000 (23:48 -0400)]
Various cleanup

* yasnippet/yasnippet.el: Add Package-Requires since we use cl-lib.
(yas-installed-snippets-dir, yas--default-user-snippets-dir)
(yas--load-directory-1, yas-load-snippet-buffer-and-close):
Use expand-file-name.
(yas-buffer-local-condition): Let's not quote lambdas.
(yas--modes-to-activate): Fix compiler warning about free `dfs' var and
unused return value of `mapcar'.
(yas-minor-mode): Don't confuse emulation-mode-map-alists for a hook.
(yas--font-lock-keywords): Don't hardcode the name of emacs-lisp-mode's
font-lock keywords.
(yas--calculate-group): Use file-relative-name.
(yas--subdirs): Don't mismatch \n in file name.
(yas-expand-from-trigger-key, yas-tryout-snippet): Prefer numbers to
number names.
(yas--guess-snippet-directories): Use expand-file-name rather than
removing&adding / by hand.
(yas--on-field-overlay-modification): Mark `length' as unused.
(yas--update-mirrors): Try to better fit within 80 columns.
(yas--backported-syms, yas--exported-syms): Don't mismatch \n in
symbol name.

8 years agopackages/arbitools.el: Added new functions
David Gonzalez Gandara [Fri, 8 Apr 2016 22:50:04 +0000 (00:50 +0200)]
packages/arbitools.el: Added new functions

8 years agocounsel.el (counsel-expression-history): Add docstring
Oleh Krehel [Fri, 8 Apr 2016 16:35:39 +0000 (18:35 +0200)]
counsel.el (counsel-expression-history): Add docstring

8 years agocounsel.el (counsel-expression-history): enable-recursive-minibuffers
Oleh Krehel [Fri, 8 Apr 2016 16:34:19 +0000 (18:34 +0200)]
counsel.el (counsel-expression-history): enable-recursive-minibuffers

8 years agoAllow to customize the action hint formatter
Oleh Krehel [Fri, 8 Apr 2016 11:38:16 +0000 (13:38 +0200)]
Allow to customize the action hint formatter

* ivy.el (ivy-read-action-format-function): New defvar.
(ivy-read-action-format-default): New defun, extracted from
`ivy-read-action'.
(ivy-read-action'): Update.

Fixes #469

8 years agoswiper.el (swiper-mc): Remove interactive
Oleh Krehel [Fri, 8 Apr 2016 09:24:07 +0000 (11:24 +0200)]
swiper.el (swiper-mc): Remove interactive

8 years agoivy.el (ivy-action): New face
Oleh Krehel [Fri, 8 Apr 2016 07:31:48 +0000 (09:31 +0200)]
ivy.el (ivy-action): New face

Re #469

8 years agoSpeed up counsel-grep by up to 40 times
Oleh Krehel [Thu, 7 Apr 2016 19:44:16 +0000 (21:44 +0200)]
Speed up counsel-grep by up to 40 times

* counsel.el (counsel-grep-base-command): Update.

8 years agoFix remapping commit c9b6e0
Damien Cassou [Thu, 7 Apr 2016 15:25:34 +0000 (17:25 +0200)]
Fix remapping commit c9b6e0

- delete duplication of #'ivy-next-line and #'ivy-previous-line
- replace alias #'backward-delete-char by #'delete-backward-char because
  only the second is bound to a key

8 years agocounsel.el (counsel-expression-history): New command
Oleh Krehel [Thu, 7 Apr 2016 14:40:26 +0000 (16:40 +0200)]
counsel.el (counsel-expression-history): New command

* README.md: Update.

8 years agoivy.el (ivy-minibuffer-map): Fix "DEL"
Oleh Krehel [Thu, 7 Apr 2016 14:38:43 +0000 (16:38 +0200)]
ivy.el (ivy-minibuffer-map): Fix "DEL"

(define-key map [remap backward-delete-char] 'ivy-backward-delete-char)
did not work as expected.

Re #467

8 years agoMake sure user keybindings are respected
Damien Cassou [Thu, 7 Apr 2016 12:28:43 +0000 (14:28 +0200)]
Make sure user keybindings are respected

* ivy.el: Make sure user keybindings are reused in ivy-minibuffer-map.
  Without this patch, if the user specifies his own keybinding for a
  standard command (e.g., `beginning-of-buffer`, normally bound to
  `M-<`), ivy keeps using the default keybinding (e.g., `M-<`) in
  ivy-minibuffer-map instead of the user-specified one.

* ivy-test.el: Add corresponding test

Fix issue #466.

8 years agocounsel-grep should pick candidates closest to point
Oleh Krehel [Wed, 6 Apr 2016 17:36:41 +0000 (19:36 +0200)]
counsel-grep should pick candidates closest to point

* ivy.el (ivy-recompute-index-swiper-async): Update.

Fixes the algorithm selecting the first matching candidate in case there
are 0 matching candidates following point. Now the last matching
candidate will be selected, resulting in less scrolling.

8 years agocounsel.el (counsel-ag-map): Add
Oleh Krehel [Tue, 5 Apr 2016 17:28:42 +0000 (19:28 +0200)]
counsel.el (counsel-ag-map): Add

* counsel.el (counsel-ag): Update.

Fixes #462

8 years agoModified ivy to pass predicate when selecting buffers
Ian Dunn [Tue, 5 Apr 2016 13:02:58 +0000 (09:02 -0400)]
Modified ivy to pass predicate when selecting buffers

* ivy.el (ivy--buffer-list): Add PREDICATE parameter and pass to
  'all-completions'
(ivy--reset-state): Pass predicate parameter to 'ivy--buffer-list'.

This allows 'read-buffer' to filter the buffers with the PREDICATE parameter.

8 years agoDon't narrow-to-defun when checking parens
Artur Malabarba [Tue, 5 Apr 2016 00:22:29 +0000 (21:22 -0300)]
Don't narrow-to-defun when checking parens

8 years ago[#77] Actually use aggressive-indent--balanced-parens
Artur Malabarba [Mon, 4 Apr 2016 17:21:06 +0000 (14:21 -0300)]
[#77] Actually use aggressive-indent--balanced-parens

8 years agoMerge commit '67fa7e1a60966e49eccf21b02110af12afa995e0'
Artur Malabarba [Mon, 4 Apr 2016 17:19:15 +0000 (14:19 -0300)]
Merge commit '67fa7e1a60966e49eccf21b02110af12afa995e0'

8 years ago[Fix #78] save-excursion in check-parens
Artur Malabarba [Mon, 4 Apr 2016 17:18:09 +0000 (14:18 -0300)]
[Fix #78] save-excursion in check-parens

8 years agocounsel-ag now works with ivy-occur-revert-buffer
Oleh Krehel [Mon, 4 Apr 2016 15:29:52 +0000 (17:29 +0200)]
counsel-ag now works with ivy-occur-revert-buffer

* ivy.el (ivy-occur-revert-buffer): Add `counsel-ag' to the list.

* counsel.el (counsel-ag-occur): Don't call `ivy-occur-grep-mode' unless
  needed.

> (string-match "\"\\(.*\\)\"" (buffer-name))

Is a hack to recover the old `ivy-text', since it's not a field in
`ivy-last', and may have changed in the meantime.

TODO: Fix this sort of hacks, all necessary session data should really be in `ivy-last'.

8 years agocounsel-grep now works with ivy-occur-revert-buffer
Oleh Krehel [Mon, 4 Apr 2016 15:22:24 +0000 (17:22 +0200)]
counsel-grep now works with ivy-occur-revert-buffer

Press "g" in a *ivy-occur counsel-grep ...* buffer to refresh the list
of matches, due to possible changes in the file.

* counsel.el (counsel-grep-base-command): New defcustom.
(counsel-grep-occur): New defun.
(counsel-set-async-exit-code 'counsel-grep): Make it look more like swiper.

8 years agoivy.el (ivy-occur-revert-buffer): Improve for counsel-git-grep
Oleh Krehel [Mon, 4 Apr 2016 15:10:33 +0000 (17:10 +0200)]
ivy.el (ivy-occur-revert-buffer): Improve for counsel-git-grep

* counsel.el (counsel-git-grep-occur): Avoid calling
  `ivy-occur-grep-mode', since it erases all local variables.

8 years agocounsel.el (counsel-git): Add "j" action
Oleh Krehel [Mon, 4 Apr 2016 14:59:58 +0000 (16:59 +0200)]
counsel.el (counsel-git): Add "j" action

To open the file in other window.

8 years agoivy.el (ivy--minibuffer-setup): Ensure inhibit-field-text-motion is nil
Oleh Krehel [Mon, 4 Apr 2016 14:58:40 +0000 (16:58 +0200)]
ivy.el (ivy--minibuffer-setup): Ensure inhibit-field-text-motion is nil

It's normally nil, but may become t when debugging stuff. And that trips
up ivy.

8 years agoivy.el: Improve "M-n"
Oleh Krehel [Mon, 4 Apr 2016 14:58:05 +0000 (16:58 +0200)]
ivy.el: Improve "M-n"

Now uses `ffap-file-at-point' only for 'read-file-name-internal.

8 years agocounsel.el (counsel-unquote-regex-parens): Improve
Oleh Krehel [Mon, 4 Apr 2016 14:55:06 +0000 (16:55 +0200)]
counsel.el (counsel-unquote-regex-parens): Improve

* counsel.el (counsel-grep-function): Use different quoting. Now it's
  possible to use e.g. "(defun foo" as input.
(counsel-unquote-regex-parens): Does the proper unquote now - 4
replacements instead of previous 2.

* ivy-test.el (counsel-unquote-regex-parens): Add test.

8 years agoMerge commit '456c40803432b34842e43ceda66cdd105fbf8866'
Artur Malabarba [Mon, 4 Apr 2016 13:33:21 +0000 (10:33 -0300)]
Merge commit '456c40803432b34842e43ceda66cdd105fbf8866'

8 years agoVersion 1.5.2
Artur Malabarba [Mon, 4 Apr 2016 13:32:38 +0000 (10:32 -0300)]
Version 1.5.2

8 years ago[Fix #77] Only reindent if parens are balanced
Artur Malabarba [Mon, 4 Apr 2016 13:22:53 +0000 (10:22 -0300)]
[Fix #77] Only reindent if parens are balanced

8 years agoMerge commit 'd666642d7ad905997d0ac5ecd4b27353506ce79e'
Artur Malabarba [Mon, 4 Apr 2016 13:08:40 +0000 (10:08 -0300)]
Merge commit 'd666642d7ad905997d0ac5ecd4b27353506ce79e'

8 years ago[#45] Bump seq dependency to the new version
Artur Malabarba [Mon, 4 Apr 2016 13:06:45 +0000 (10:06 -0300)]
[#45] Bump seq dependency to the new version

8 years agoDon't use derived-mode-parent dispatches.
Jackson Hamilton [Sun, 3 Apr 2016 21:13:33 +0000 (14:13 -0700)]
Don't use derived-mode-parent dispatches.

8 years agoAdd context-coloring-before-colorize abstraction.
Jackson Hamilton [Sun, 3 Apr 2016 21:10:59 +0000 (14:10 -0700)]
Add context-coloring-before-colorize abstraction.

8 years agoMerge commit '49225f379efedf228636985a92ca6fb84cfdea5a'
Artur Malabarba [Sun, 3 Apr 2016 18:13:24 +0000 (15:13 -0300)]
Merge commit '49225f379efedf228636985a92ca6fb84cfdea5a'

8 years ago[Fix #12] Don't reset nameless-current-name when disabling the mode
Artur Malabarba [Sun, 3 Apr 2016 18:11:45 +0000 (15:11 -0300)]
[Fix #12] Don't reset nameless-current-name when disabling the mode

8 years agoEnsure js2-mode parses synchronously.
Jackson Hamilton [Sun, 3 Apr 2016 17:11:16 +0000 (10:11 -0700)]
Ensure js2-mode parses synchronously.

8 years agopackages/yasnippet: subtree pull from external
Noam Postavsky [Sun, 3 Apr 2016 15:52:58 +0000 (11:52 -0400)]
packages/yasnippet: subtree pull from external

packages/yasnippet/snippets is left untouched in GNU ELPA. The
upstream version uses a submodule pointing to a snippets repo which
lives at https://github.com/AndreaCrotti/yasnippet-snippets.git

8 years agoRelease 0.9.1
Noam Postavsky [Sun, 27 Mar 2016 01:26:50 +0000 (21:26 -0400)]
Release 0.9.1

- add NEWS
- update version numbers
- update snippet submodule

8 years agoyasnippet.el (yas--describe-pretty-table): Cleanup.
Noam Postavsky [Sat, 2 Apr 2016 14:38:05 +0000 (10:38 -0400)]
yasnippet.el (yas--describe-pretty-table): Cleanup.

8 years agoAvoid trailing whitespace in snippet tables
USAMI Kenta [Tue, 29 Mar 2016 15:23:36 +0000 (00:23 +0900)]
Avoid trailing whitespace in snippet tables

* yasnippet.el (yas-describe-tables, yas--describe-pretty-table): Remove
  redundant tail spaces from output.

Copyright-paperwork-exempt: yes

8 years agopackages/excorporate: Bump version to 0.7.3
Thomas Fitzsimmons [Sat, 2 Apr 2016 01:59:15 +0000 (21:59 -0400)]
packages/excorporate: Bump version to 0.7.3

8 years agopackages/excorporate/excorporate-org.el: Allow quitting window
Mitchel Humpherys [Sat, 2 Apr 2016 01:56:26 +0000 (21:56 -0400)]
packages/excorporate/excorporate-org.el: Allow quitting window

* packages/excorporate/excorporate-org.el
(exco-org-initialize-buffer): Use a copy of org-mode-map as the
local keymap.  Bind q to quit-window.

Copyright-paperwork-exempt: yes

8 years agobug-hunter: Don't offer interactive bisection in the terminal
Artur Malabarba [Fri, 1 Apr 2016 14:20:54 +0000 (11:20 -0300)]
bug-hunter: Don't offer interactive bisection in the terminal

8 years agoMerge commit '98f32631ffdaa9daf735799734ad9d3565146898'
Artur Malabarba [Fri, 1 Apr 2016 14:07:25 +0000 (11:07 -0300)]
Merge commit '98f32631ffdaa9daf735799734ad9d3565146898'

8 years agoRemove reference to thread-last
Artur Malabarba [Fri, 1 Apr 2016 14:05:52 +0000 (11:05 -0300)]
Remove reference to thread-last

8 years agoMerge commit 'b67364d4825a9bf0a22261809ee9e9060b268198'
Artur Malabarba [Fri, 1 Apr 2016 14:04:54 +0000 (11:04 -0300)]
Merge commit 'b67364d4825a9bf0a22261809ee9e9060b268198'

8 years agoMerge commit 'ef509502cdd228c8ce0a562bbf411e5f98beaaf1'
Artur Malabarba [Fri, 1 Apr 2016 14:04:06 +0000 (11:04 -0300)]
Merge commit 'ef509502cdd228c8ce0a562bbf411e5f98beaaf1'

8 years agoMerge commit 'c0de8a8ad0f0abbc12bce35fc4a0feebc8892f48'
Artur Malabarba [Fri, 1 Apr 2016 14:02:55 +0000 (11:02 -0300)]
Merge commit 'c0de8a8ad0f0abbc12bce35fc4a0feebc8892f48'

8 years agoivy.el (ivy-read): Revert abf880f
Oleh Krehel [Fri, 1 Apr 2016 06:01:29 +0000 (08:01 +0200)]
ivy.el (ivy-read): Revert abf880f

Re #454

8 years agoivy.el (ivy-next-history-element): Simplify
Oleh Krehel [Fri, 1 Apr 2016 05:59:59 +0000 (07:59 +0200)]
ivy.el (ivy-next-history-element): Simplify

Add extra symbol bounds only for swiper.

8 years agoswiper.el (swiper-query-replace): Improve "M-n"
Oleh Krehel [Thu, 31 Mar 2016 14:06:23 +0000 (16:06 +0200)]
swiper.el (swiper-query-replace): Improve "M-n"

To replace a symbol with a similar symbol,

1. Press "C-s" "M-n" for `swiper' and select the symbol at point as input.
2. Press "M-q" for `swiper-query-replace'
3. Press "M-n" to yank the symbol to replace.

Here step-3 was modified to yank e.g. "symbol" instead of "\_<symbo\_>"
previously.

8 years agoUpdate seq to version 2.15
Nicolas Petton [Thu, 31 Mar 2016 08:08:48 +0000 (10:08 +0200)]
Update seq to version 2.15

* packages/seq/seq-25.el: Require cl-lib.
* packages/seq/seq.el: Bump version number.

8 years agoivy.el (ivy-sort-functions-alist): Update :type
Oleh Krehel [Thu, 31 Mar 2016 07:56:12 +0000 (09:56 +0200)]
ivy.el (ivy-sort-functions-alist): Update :type

Re #453

8 years agoivy.el: Add `counsel-find-file' transformer.
Stephen Whipple [Thu, 31 Mar 2016 05:38:01 +0000 (23:38 -0600)]
ivy.el: Add `counsel-find-file' transformer.

The `counsel-find-file' caller should have the same behavior
as `read-file-name-internal'.

8 years agoivy.el (ivy-read): Make "M-o" not modify the action
Oleh Krehel [Wed, 30 Mar 2016 19:19:37 +0000 (21:19 +0200)]
ivy.el (ivy-read): Make "M-o" not modify the action

Re #454

8 years agoMake ivy-set-sources work also for sync completion
Oleh Krehel [Wed, 30 Mar 2016 04:47:43 +0000 (06:47 +0200)]
Make ivy-set-sources work also for sync completion

Here's a contrived example of how to use it:

    (defun my-extra-source ()
      (append
       (when (eq 'Git (vc-backend (buffer-file-name)))
         (list "git1" "git2" "git3"))
       (when (file-exists-p "doc/Changelog.org")
         (list (propertize "doc/Changelog.org" 'face '(:background "red"))))))

    (defun my-find-file ()
      (interactive)
      (ivy-read "Find file: " 'read-file-name-internal
                :action (lambda (x)
                          (with-ivy-window
                            (find-file (expand-file-name x ivy--directory))))
                :require-match 'confirm-after-completion
                :history 'file-name-history
                :caller 'my-find-file))

    (ivy-set-sources
     'my-find-file
     '((my-extra-source)
       (original-source)))

The function `my-find-file' knows nothing about the extra source, it's
only purpose is to introduce a :caller to attach things to, as to not to
mess up e.g. `counsel-find-file'.

The function `my-extra-source' gets called once in `ivy-read' via
`ivy--reset-state'. It takes no args and returns a list of strings,
possibly empty.