]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
8 years agoAutoload dispatches.
Jackson Ray Hamilton [Sat, 30 Apr 2016 22:20:29 +0000 (15:20 -0700)]
Autoload dispatches.

8 years agoRevert last commit.
Thierry Volpiatto [Sat, 30 Apr 2016 20:39:28 +0000 (22:39 +0200)]
Revert last commit.

8 years agoDRY use apply.
Thierry Volpiatto [Sat, 30 Apr 2016 20:29:14 +0000 (22:29 +0200)]
DRY use apply.

* dired-async.el (dired-async-after-file-create): Do it.
(dired-async-create-files):                       Do it.

8 years agoHandle error also on host when async-list of file is empty.
Thierry Volpiatto [Sat, 30 Apr 2016 20:20:17 +0000 (22:20 +0200)]
Handle error also on host when async-list of file is empty.

* dired-async.el (dired-async-create-files): Do it.
When only one file and user answer no handle error on host.

8 years agoFix operation arg of callback.
Thierry Volpiatto [Sat, 30 Apr 2016 19:03:48 +0000 (21:03 +0200)]
Fix operation arg of callback.

* dired-async.el (dired-async-after-file-create):
Use the car.

8 years agoRemove commented line, no code change.
Thierry Volpiatto [Sat, 30 Apr 2016 18:31:58 +0000 (20:31 +0200)]
Remove commented line, no code change.

8 years agoFix formatting the help form in dired-create-files.
Thierry Volpiatto [Sat, 30 Apr 2016 18:20:24 +0000 (20:20 +0200)]
Fix formatting the help form in dired-create-files.

* dired-async.el (dired-async-create-files): Do it.

8 years agoFinally handle the failures correctly.
Thierry Volpiatto [Sat, 30 Apr 2016 17:22:46 +0000 (19:22 +0200)]
Finally handle the failures correctly.

* dired-async.el (dired-async-operation): Removed no more needed.
(dired-async-failures): New face.
(dired-async-mode-line-message): Use one more arg FACE.
(dired-async-after-file-create): Handle failures.
(dired-async-create-files): Pass failures args to callback.
Remove code that is now never called since when the mode is turned off
and we are no more async the job is delegated again to old dired function.

8 years agoSeparate language support into separate features.
Jackson Ray Hamilton [Sat, 30 Apr 2016 15:59:31 +0000 (08:59 -0700)]
Separate language support into separate features.

8 years agoMerge commit '16be7a12d0dbbbd0e59fc2ccf9a7c7085eb9cf5a'
Artur Malabarba [Sat, 30 Apr 2016 14:50:20 +0000 (11:50 -0300)]
Merge commit '16be7a12d0dbbbd0e59fc2ccf9a7c7085eb9cf5a'

8 years agoVersion 1.3.0
Artur Malabarba [Sat, 30 Apr 2016 14:49:44 +0000 (11:49 -0300)]
Version 1.3.0

8 years ago[Fix #47] Add beacon-before-blink-hook
Artur Malabarba [Sat, 30 Apr 2016 14:48:20 +0000 (11:48 -0300)]
[Fix #47] Add beacon-before-blink-hook

8 years agoFix #17 - Minibuffer completion pre 25
Artur Malabarba [Sat, 30 Apr 2016 14:28:06 +0000 (11:28 -0300)]
Fix #17 - Minibuffer completion pre 25

8 years agoUpdate copyright years.
Jackson Ray Hamilton [Sat, 30 Apr 2016 14:00:40 +0000 (07:00 -0700)]
Update copyright years.

8 years agoUnquote all callbacks.
Thierry Volpiatto [Sat, 30 Apr 2016 12:36:47 +0000 (14:36 +0200)]
Unquote all callbacks.

* async-bytecomp.el (async-byte-recompile-directory): Do it.
* dired-async.el (dired-async-create-files):          Do it.
* smtpmail-async.el (async-smtpmail-send-it):         Do it.

8 years agoFix repetition in callback.
Thierry Volpiatto [Fri, 29 Apr 2016 15:03:30 +0000 (17:03 +0200)]
Fix repetition in callback.

* dired-async.el (dired-async-create-files): Do it.

8 years agoAllow inclusing the closed bugs
Lars Ingebrigtsen [Fri, 29 Apr 2016 15:01:37 +0000 (17:01 +0200)]
Allow inclusing the closed bugs

* debbugs-gnu.el (debbugs-gnu-suppress-closed): New variable.
(debbugs-gnu): Use it.

8 years agoBump version number
Lars Ingebrigtsen [Wed, 27 Apr 2016 21:10:10 +0000 (23:10 +0200)]
Bump version number

8 years agoFix last checkin
Lars Ingebrigtsen [Wed, 27 Apr 2016 21:09:59 +0000 (23:09 +0200)]
Fix last checkin

8 years agoAllow the "C" command from debbugs mode to work
Lars Ingebrigtsen [Wed, 27 Apr 2016 21:08:45 +0000 (23:08 +0200)]
Allow the "C" command from debbugs mode to work

* debbugs-gnu.el (debbugs-gnu-send-control-message): Get the
correct bug ID number from the debbugs mode.

8 years ago* externals-list: Add ztree entry
Stefan Monnier [Wed, 27 Apr 2016 13:44:38 +0000 (09:44 -0400)]
* externals-list: Add ztree entry

8 years ago* packages/rnc-mode/rnc-mode.el (rnc-smie-rules): Add empty-line-token rule.
Stefan Monnier [Wed, 27 Apr 2016 13:42:50 +0000 (09:42 -0400)]
* packages/rnc-mode/rnc-mode.el (rnc-smie-rules): Add empty-line-token rule.

8 years ago* packages/ampc/ampc.el (ampc-highlight-current-song-mode): Delete
Stefan Monnier [Wed, 27 Apr 2016 13:42:20 +0000 (09:42 -0400)]
* packages/ampc/ampc.el (ampc-highlight-current-song-mode): Delete

(ampc-current-playlist-mode): Set font-lock-defaults instead.
(ampc-item-mode): Remove broken highlight rule.
(ampc-handle-status): Use font-lock-flush when available.

8 years ago* debbugs: Use cl-lib. Use lexical-binding when available
Stefan Monnier [Wed, 27 Apr 2016 13:39:46 +0000 (09:39 -0400)]
* debbugs: Use cl-lib. Use lexical-binding when available

* debbugs-gnu.el: Only require subr-x at compile time.  Use cl-lib.
(debbugs-gnu-print-entry): Remove unused var `title-length'.
(debbugs-gnu-sort-title): Mark `s2' as unused.
* debbugs-org.el (debbugs-gnu): Use cl-lib.
* debbugs.el: Add `cl-lib' as dependency.  Use cl-lib.
(debbugs-soap-invoke-async): Mark `args' as unused.

8 years agoRemove unuseful code never called.
Thierry Volpiatto [Wed, 27 Apr 2016 10:27:06 +0000 (12:27 +0200)]
Remove unuseful code never called.

* dired-async.el (dired-async-create-files):
Remove dired-create-files-failures stuff that don't happen on host but child.

8 years agoSwitch to lexical-binding.
Thierry Volpiatto [Wed, 27 Apr 2016 07:50:54 +0000 (09:50 +0200)]
Switch to lexical-binding.

* async-bytecomp.el: Switch to lex.
* async.el:          Switch to lex.
(async-when-done): Fix unused arg.
(async-receive):   Same.
* dired-async.el: Switch to lex.
(dired-async-create-files): Remove unused stuff
and fix vars for lex env.
* smtpmail-async.el: Switch to lex.

8 years agoEnsure dired-async--modeline-mode is called.
Thierry Volpiatto [Tue, 26 Apr 2016 17:52:13 +0000 (19:52 +0200)]
Ensure dired-async--modeline-mode is called.

* dired-async.el (dired-async-kill-process): When process is nil
don't call delete-process.

8 years agoEnsure dired-copy-preserve-time is passed to child with its current value.
Thierry Volpiatto [Tue, 26 Apr 2016 17:43:37 +0000 (19:43 +0200)]
Ensure dired-copy-preserve-time is passed to child with its current value.

Using inject would load dozen of unneeded dired stuff.

* dired-async.el (dired-async-create-files): Do it.

8 years agoUse syntax-ppss instead of check-parens
Artur Malabarba [Tue, 26 Apr 2016 16:27:05 +0000 (13:27 -0300)]
Use syntax-ppss instead of check-parens

8 years agoFully reindent before saving
Artur Malabarba [Tue, 26 Apr 2016 16:26:55 +0000 (13:26 -0300)]
Fully reindent before saving

8 years agoIncrease the Debbugs version number
Lars Magne Ingebrigtsen [Mon, 25 Apr 2016 16:50:49 +0000 (18:50 +0200)]
Increase the Debbugs version number

8 years agoAdd a new command debbugs-gnu-patches
Lars Magne Ingebrigtsen [Mon, 25 Apr 2016 16:36:40 +0000 (18:36 +0200)]
Add a new command debbugs-gnu-patches

* packages/debbugs/debbugs-gnu.el (debbugs-gnu-patches): New command.
(debbugs-gnu-get-bugs): Remove the "user tags" cond -- it didn't
allow us to search for bugs with specific tags.

8 years agoGet more info from patches in debbugs-gnu
Lars Magne Ingebrigtsen [Mon, 25 Apr 2016 16:03:38 +0000 (18:03 +0200)]
Get more info from patches in debbugs-gnu

* packages/debbugs/debbugs-gnu.el (debbugs-gnu-insert-changelog):
When handling git-formatted patches, get all the info from the
patches automatically.

8 years agoAdd comment no code change.
Thierry Volpiatto [Mon, 25 Apr 2016 12:51:30 +0000 (14:51 +0200)]
Add comment no code change.

* dired-async.el (dired-async-create-files): Do it.

8 years agoFix backup fn, DRY and ignore symlinks directories.
Thierry Volpiatto [Mon, 25 Apr 2016 12:22:24 +0000 (14:22 +0200)]
Fix backup fn, DRY and ignore symlinks directories.

* dired-async.el (dired-async-create-files): Do it.

8 years agoMerge commit 'db005182ad0fd05c07e8e5c085abe6c750e6c578' from ivy
Oleh Krehel [Mon, 25 Apr 2016 10:10:45 +0000 (12:10 +0200)]
Merge commit 'db005182ad0fd05c07e8e5c085abe6c750e6c578' from ivy

8 years agoRename swiper -> ivy
Oleh Krehel [Mon, 25 Apr 2016 10:08:40 +0000 (12:08 +0200)]
Rename swiper -> ivy

8 years agoBump version to 0.8.0
Oleh Krehel [Mon, 25 Apr 2016 10:07:41 +0000 (12:07 +0200)]
Bump version to 0.8.0

8 years agodoc/Changelog.org: Prepare for the 0.8.0 release
Oleh Krehel [Mon, 25 Apr 2016 09:57:11 +0000 (11:57 +0200)]
doc/Changelog.org: Prepare for the 0.8.0 release

8 years ago* arbitools/arbitools.el: Remove unused vars
Stefan Monnier [Mon, 25 Apr 2016 03:51:09 +0000 (23:51 -0400)]
* arbitools/arbitools.el: Remove unused vars

* arbitools.el (arbitools-calculate-standings, arbitools-delete-player)
(arbitools-calculate-standings): Remove unused vars.

8 years agopackages/arbitools.el: Fixed some bugs
David Gonzalez Gandara [Sun, 24 Apr 2016 09:15:21 +0000 (11:15 +0200)]
packages/arbitools.el: Fixed some bugs

8 years agopackages/arbitools.el: Fixed some bugs
David Gonzalez Gandara [Sun, 24 Apr 2016 09:09:39 +0000 (11:09 +0200)]
packages/arbitools.el: Fixed some bugs

8 years agoImprove backup-files by handling symlinks and time-stamp errors.
Thierry Volpiatto [Sun, 24 Apr 2016 05:07:28 +0000 (07:07 +0200)]
Improve backup-files by handling symlinks and time-stamp errors.

* dired-async.el (dired-async-create-files): Rework backup-files.

8 years agoMerge pull request #62 from jwiegley/backup_files
Thierry Volpiatto [Sat, 23 Apr 2016 19:05:42 +0000 (21:05 +0200)]
Merge pull request #62 from jwiegley/backup_files

Allow reproducing "cp --backup=numbered from to".

8 years agoAllow reproducing "cp --backup=numbered from to".
Thierry Volpiatto [Sat, 23 Apr 2016 09:10:51 +0000 (11:10 +0200)]
Allow reproducing "cp --backup=numbered from to".

* dired-async.el (dired-async-create-files):
When using a file-creator named 'backup-file, files are
copied to destination without overwriting existing files,
making a versionned copy of original files.

8 years agoivy.el (ivy--format-minibuffer-line): Update
Oleh Krehel [Fri, 22 Apr 2016 18:44:00 +0000 (20:44 +0200)]
ivy.el (ivy--format-minibuffer-line): Update

Add "counsel-ag counsel-pt" to the special highlight behavior.

Re #483

8 years agoAdd a couple tests for ivy-read with alists
Oleh Krehel [Fri, 22 Apr 2016 08:39:08 +0000 (10:39 +0200)]
Add a couple tests for ivy-read with alists

* ivy-test.el (ivy-read): Add tests.

To summarize how it works:

1. Only the keys of the alist are offered for completion, not the values
- this is the standard Emacs behavior.

2. `ivy-read' will return the selected key, not the value or the cons
cell.

3. When :action is specified, it will be called with the value
corresponding to the selected key. Not the key, and not the cons.

This allows keys to work as aliases for the actual data, and :action
arguments to be simple functions that deal with data (i.e. not having to
deal with the `cdr' of the passed argument).

8 years agoWhen selecting a non-existing key in an alist, return that key
Oleh Krehel [Fri, 22 Apr 2016 08:31:20 +0000 (10:31 +0200)]
When selecting a non-existing key in an alist, return that key

* ivy.el (ivy-call): Previously, nil was returned.

8 years agoDon't highlight that match in the file name part
Oleh Krehel [Fri, 22 Apr 2016 07:33:55 +0000 (09:33 +0200)]
Don't highlight that match in the file name part

ivy.el (ivy--format-minibuffer-line): Fix for `counsel-git-grep'.

Fixes #483

8 years ago* seq-24.el (seq-concatenate,seq-into,seq--make-bindings): Use _
Stefan Monnier [Fri, 22 Apr 2016 04:47:44 +0000 (00:47 -0400)]
* seq-24.el (seq-concatenate,seq-into,seq--make-bindings): Use _

rather than t as catch-all for pcase.

8 years ago* packages/javaimp/javaimp.el (javaimp): Add a parent group
Stefan Monnier [Fri, 22 Apr 2016 04:45:34 +0000 (00:45 -0400)]
* packages/javaimp/javaimp.el (javaimp): Add a parent group

(javaimp--maven-xml-load-tree): Fix reference to free var `project-elt`.
(javaimp-organize-imports): Use cl-lib name.

8 years agoswiper.el (swiper--multi-candidates): Add check
Oleh Krehel [Thu, 21 Apr 2016 14:41:55 +0000 (16:41 +0200)]
swiper.el (swiper--multi-candidates): Add check

Avoid calling `make-string' with a negative number.

Fixes #481

8 years agoFix csv-mode to delete its own overlays only
Leo Liu [Thu, 21 Apr 2016 11:35:42 +0000 (19:35 +0800)]
Fix csv-mode to delete its own overlays only

* csv-mode/csv-mode.el (csv--make-overlay, csv--delete-overlay): New
  functions.
  (csv-align-fields, csv-unalign-fields, csv-transpose): Use them.

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 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 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 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.