]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
9 years agoMerge commit '0d69d15d20b69f439c1a1ed451e06f77b1252b3e' from gnorb
Eric Abrahamsen [Thu, 23 Apr 2015 09:16:55 +0000 (17:16 +0800)]
Merge commit '0d69d15d20b69f439c1a1ed451e06f77b1252b3e' from gnorb

9 years agoSquashed 'packages/gnorb/' changes from 4e7039a..a387d85
Eric Abrahamsen [Thu, 23 Apr 2015 09:16:55 +0000 (17:16 +0800)]
Squashed 'packages/gnorb/' changes from 4e7039a..a387d85

a387d85 Bump version to 1.1.0

git-subtree-dir: packages/gnorb
git-subtree-split: a387d8515871d9f06b193a461745697eb25f3872

9 years agoMerge commit '3e5c11a13981a1ff613cb4442ad644285c44e481' from gnorb
Eric Abrahamsen [Thu, 23 Apr 2015 08:54:11 +0000 (16:54 +0800)]
Merge commit '3e5c11a13981a1ff613cb4442ad644285c44e481' from gnorb

9 years agoSquashed 'packages/gnorb/' changes from 321b23b..4e7039a
Eric Abrahamsen [Thu, 23 Apr 2015 08:53:26 +0000 (16:53 +0800)]
Squashed 'packages/gnorb/' changes from 321b23b..4e7039a

4e7039a Various compiler-inspired improvements
9b2b269 Use with-eval-after-load not eval-after-load
86fa893 Fix up all cl-lib calls
a59dac2 Use hook for determining Gnorb summary minor mode
4d3de61 Various documentation improvements
acb91c5 Fix doc error
6fd368d Provide more format marks in summary buffers
d9a1d89 Remove unused let variable
3f9c534 Report Gnorb email tracking usage
0f18c45 Allow persistent nnir search groups
2d30b0c Reset window conf after nnir-run-gnorb
160f43a New function for returning all tracked messages
9efae5a Fix call to cl-subseq
ce764a5 fixup with new quick reply command
b0fe9ae New command `gnorb-gnus-quick-reply'
5897188 Capture to child/sibling is done
4f99dd7 Handle conditions where `registry-search' returns nil
b951675 Merge capture-to-child branch
13bb840 Hint which heading will be triggered
c13f4df Better check for capture cleanup
dfa0043 Safer usage of cl-subseq
94fe1b8 Incorporate changes from Stefan M
d2e1e11 Mention registry bugs in README
a4089f8 Fix completing-read in message disassociation
9c910c9 Re-raise errors in the triggering process
648f5a7 Remove process mark after bulk association
84ff7a7 Don't let attach errors derail the trigger process
819b1e5 Suggest binding gnorb-org-view in Org Agenda
9d64acb Update gnorb-registry-capture to use convenience funcs
cc7d45b Be more careful handling org tags on BBDB records
f585c03 condition-case the incoming trigger process
821a6b2 Allow bulk association of messages
4b19c83 New function for pruning dead associations
09679fa Misspelled function name
41c6778 nngnorb should be a virtual server
6e6ee46 Zap another with-eval-after-load
c3279d2 Fix tracking messages from virtual groups
9220a10 Docstring fix
c8b80c5 Bugfix for gnorb-gnus-view
8c333ee Merge pull request #20 from totherme/master
3801ad7 Check both gnus version and emacs version.
94f6897 Don't use with-eval-after-load
fd91084 Remove incorrect "fix" for Gnus 5.13
8a9c167 Fix the cl-lib loading stuff

git-subtree-dir: packages/gnorb
git-subtree-split: 4e7039a15b47244e7bd2c580d8bce976a6116b5a

9 years agoMerge commit 'e2452a3e77ef6ea6b193292d2c0bbbe93dd4b078' from swiper
Oleh Krehel [Wed, 22 Apr 2015 19:43:16 +0000 (21:43 +0200)]
Merge commit 'e2452a3e77ef6ea6b193292d2c0bbbe93dd4b078' from swiper

9 years agoREADME.md: Update video link
Oleh Krehel [Wed, 22 Apr 2015 16:58:06 +0000 (18:58 +0200)]
README.md: Update video link

9 years agoFixup `swiper-query-replace'
Oleh Krehel [Wed, 22 Apr 2015 15:58:09 +0000 (17:58 +0200)]
Fixup `swiper-query-replace'

* swiper.el (swiper-query-replace): Make sure to use `swiper--window'.

* ivy.el (ivy--minibuffer-setup): Remove the `use-local-map' statement,
  the map is already set in `read-from-minibuffer'.

9 years agoivy-test.el (ivy-read): Update test.
Oleh Krehel [Wed, 22 Apr 2015 15:31:24 +0000 (17:31 +0200)]
ivy-test.el (ivy-read): Update test.

REQUIRE-MATCH is nil by default.

9 years agoivy.el (ivy-read): Fix preselect logic
Oleh Krehel [Wed, 22 Apr 2015 15:24:52 +0000 (17:24 +0200)]
ivy.el (ivy-read): Fix preselect logic

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

Fixes e.g. `ert' passing "t" as the default, which isn't in collection,
but `all-completions' doesn't return nil.

9 years agoivy.el (ivy-done): Fixup
Oleh Krehel [Wed, 22 Apr 2015 15:09:56 +0000 (17:09 +0200)]
ivy.el (ivy-done): Fixup

9 years agoivy.el (ivy--add-face): Don't fail for weird str
Oleh Krehel [Wed, 22 Apr 2015 14:32:04 +0000 (16:32 +0200)]
ivy.el (ivy--add-face): Don't fail for weird str

Fixes #44

9 years agoswiper.el (swiper--ivy): Fix preselect being added
Oleh Krehel [Wed, 22 Apr 2015 13:42:39 +0000 (15:42 +0200)]
swiper.el (swiper--ivy): Fix preselect being added

9 years agoivy.el (ivy--exhibit): Wrap in `while-no-input'
Oleh Krehel [Wed, 22 Apr 2015 13:37:11 +0000 (15:37 +0200)]
ivy.el (ivy--exhibit): Wrap in `while-no-input'

* ivy.el (ivy--exhibit): `ivy--dynamic-function' will sometimes use
  `call-process'. Adding `while-no-input' speeds up things a lot, at the
  cost of a small message interrupting the minibuffer when
  `call-process' takes too long or the user types too fast.
  This message is not an issue for emacs-snapshot.

9 years agoBind "M-q" to `ivy-toggle-regexp-quote'
Oleh Krehel [Wed, 22 Apr 2015 13:36:46 +0000 (15:36 +0200)]
Bind "M-q" to `ivy-toggle-regexp-quote'

* ivy.el (ivy-minibuffer-map): Update.
(ivy--regexp-quote): New defvar.
(ivy-toggle-regexp-quote): New command, toggle `ivy--regex-function'
between the value selected in `ivy-read' and `ivy--regexp-quote'.
(ivy-read): Reset `ivy--regexp-quote' to 'regexp-quote.

Fixes #48

9 years agoAllow to customize the regex matching per-collection
Oleh Krehel [Wed, 22 Apr 2015 13:15:51 +0000 (15:15 +0200)]
Allow to customize the regex matching per-collection

* ivy.el (ivy--regex-function): New defvar.
(ivy-re-builders-alist): New defvar, use this to customize.
(ivy-read): Update.
(ivy--filter): Update.

Currently, it only works for function collections. Example:

(setq ivy-re-builders-alist
  '((read-file-name-internal . regexp-quote)
    (t . ivy--regex)))

Re #48

9 years agoivy.el (ivy-done): Be more strict for `require-match'
Oleh Krehel [Wed, 22 Apr 2015 10:59:21 +0000 (12:59 +0200)]
ivy.el (ivy-done): Be more strict for `require-match'

When `require-match' isn't in (nil confirm confirm-after-completion),
don't allow to exit if there isn't a match. Instead, amend the prompt
with "(match required)".

9 years agoChange `ivy-read' to a cl-defun
Oleh Krehel [Wed, 22 Apr 2015 10:56:19 +0000 (12:56 +0200)]
Change `ivy-read' to a cl-defun

* ivy.el (ivy-read): All args but PROMPT and COLLECTION are now keys.
The existing basic calls to `ivy-read' should still work, the others
need to be updated. It's best to try to use `ivy-completing-read' if
possible, since it conforms to the `completing-read' arguments.
New arguments: REQUIRE-MATCH and HISTORY. If HISTORY is nil, `ivy-history'
is used.

(ivy--sorted-files): Don't try to extend the collection.
(ivy-completing-read): Update.

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

* counsel.el (counsel-describe-symbol-history): New defvar.
(counsel-describe-variable): Update the call, require match, use
`counsel-describe-symbol-history'.
(counsel-describe-function): Update the call, require match, use
`counsel-describe-symbol-history'.

* ivy-test.el: Update tests, since zero and one length input doesn't
  return immediately any more.

Re #46

9 years agoivy.el (ivy--filter): Update prefix optimization
Oleh Krehel [Wed, 22 Apr 2015 10:33:16 +0000 (12:33 +0200)]
ivy.el (ivy--filter): Update prefix optimization

* ivy.el (ivy--filter): Don't use prefix optimization when the input
  contains "\".

9 years agoREADME.md: Add a note on outdated ivy package
Oleh Krehel [Wed, 22 Apr 2015 09:23:23 +0000 (11:23 +0200)]
README.md: Add a note on outdated ivy package

Fixes #51

9 years agoivy.el (ivy--filter): Try directory expansion with "/"
Oleh Krehel [Tue, 21 Apr 2015 16:12:54 +0000 (18:12 +0200)]
ivy.el (ivy--filter): Try directory expansion with "/"

* ivy.el (ivy--filter): If candidate is "x" and completing file names,
  check if "x/" is among the candidates, and if so, set `ivy--index'
  accordingly.

Re #50

9 years agoFix the default-directory for `counsel-git-grep'
Oleh Krehel [Tue, 21 Apr 2015 15:08:05 +0000 (17:08 +0200)]
Fix the default-directory for `counsel-git-grep'

* counsel.el (counsel--git-grep-dir): New defvar.
(counsel-git-grep-count): Update.
(counsel-git-grep-function): Update.
(counsel-git-grep): Update.

9 years agoAdd a way to exit ignoring the candidates
Oleh Krehel [Tue, 21 Apr 2015 15:01:58 +0000 (17:01 +0200)]
Add a way to exit ignoring the candidates

* ivy.el (ivy-immediate-done): New commad, currently unbound.
Exit the minibuffer, ignoring the candidates. Solves the same problem as
"C-f" in `ido-mode'.
(ivy-alt-done): With a prefix arg, e.g. "C-u C-j", forward to `ivy-immediate-done'.

Re #50

9 years agoivy.el (ivy-read): Don't add the `default-directory'
Oleh Krehel [Tue, 21 Apr 2015 14:46:26 +0000 (16:46 +0200)]
ivy.el (ivy-read): Don't add the `default-directory'

9 years agoivy.el (ivy-read): Use initial-input when completing files
Oleh Krehel [Tue, 21 Apr 2015 13:09:43 +0000 (15:09 +0200)]
ivy.el (ivy-read): Use initial-input when completing files

* ivy.el (ivy-read): Unless `require-match', add `initial-input' to the
  collection. This is important e.g. for `dired-dwim-target'.

9 years agoswiper.el (swiper--add-overlays): Make bounds optional
Oleh Krehel [Tue, 21 Apr 2015 13:09:23 +0000 (15:09 +0200)]
swiper.el (swiper--add-overlays): Make bounds optional

9 years agocounsel.el (counsel-git-grep-count): Ignore case
Oleh Krehel [Tue, 21 Apr 2015 13:08:57 +0000 (15:08 +0200)]
counsel.el (counsel-git-grep-count): Ignore case

9 years agoMerge commit '675bd5ff97f75fb7d838e6056442ce71adf85e56' from swiper
Oleh Krehel [Tue, 21 Apr 2015 12:02:16 +0000 (14:02 +0200)]
Merge commit '675bd5ff97f75fb7d838e6056442ce71adf85e56' from swiper

9 years agoFix describe-function / -variable "C-." interaction
Oleh Krehel [Tue, 21 Apr 2015 11:46:07 +0000 (13:46 +0200)]
Fix describe-function / -variable "C-." interaction

* counsel.el (counsel-describe-variable): Don't describe variable if
  jump-to-symbol action was chosen.
(counsel-describe-function): Don't describe variable if
  jump-to-symbol action was chosen.

I should handle this more gracefully if multiple actions become a
pattern.

9 years agocounsel.el: Add awesome swiper highlighting to git grep
Oleh Krehel [Tue, 21 Apr 2015 11:33:18 +0000 (13:33 +0200)]
counsel.el: Add awesome swiper highlighting to git grep

* counsel.el (swiper): Require.
(counsel-git-grep-function): Use `swiper--add-overlays'. Remember to set
`swiper--window', and call `swiper--cleanup'. Use `ivy--regex' in all
cases to build the regex.

9 years agoivy.el (ivy--regex): Add optional greedy arg
Oleh Krehel [Tue, 21 Apr 2015 11:30:35 +0000 (13:30 +0200)]
ivy.el (ivy--regex): Add optional greedy arg

* ivy.el (ivy--regex): When optional greedy arg is t, be greedy.  Don't
wrap a sub-expr in a group if it's already a group, for instance
"forward \(char\|list\)".

Greedy is needed, for instance, for "git grep", which doesn't work great
with non-greedy regex.

Re #47

9 years agoswiper.el (swiper--add-overlays): Update arglist
Oleh Krehel [Tue, 21 Apr 2015 10:43:43 +0000 (12:43 +0200)]
swiper.el (swiper--add-overlays): Update arglist

* swiper.el (swiper--update-input-ivy): Update.
(swiper--add-overlays): Take only the regexp as the argument.
Figure out the bounds by itself.

9 years agoivy.el (ivy-done): Don't directory-expand glob filename
Oleh Krehel [Tue, 21 Apr 2015 10:36:41 +0000 (12:36 +0200)]
ivy.el (ivy-done): Don't directory-expand glob filename

* ivy.el (ivy-done): Don't directory-expand if there's a star in the
  file name.

This change fixes the behavior of `rgrep`. It can't handle the case of
e.g. /foo/bar/\*.el, but handles \*.el fine.

Re #45

9 years agoAdd an option to call the completion action without exiting
Oleh Krehel [Tue, 21 Apr 2015 09:49:46 +0000 (11:49 +0200)]
Add an option to call the completion action without exiting

* ivy.el (ivy--persistent-action): New defvar. This is a lambda that the
  caller sets if the caller has a plan for persistent actions.
(ivy-next-line-and-call): Add and bind to "C-M-n". Identical to "C-n",
except calls `ivy--persistent-action' when it's not nil.
Add and bind to "C-M-p". Identical to "C-p",
except calls `ivy--persistent-action' when it's not nil.
(ivy-window): New defvar.
(ivy-read): Store `ivy-window'.

* counsel.el (counsel-git-grep): Use `ivy--persistent-action'.

For `counsel-git-grep', as an example, it's possible to move to the
matched place without exiting the completion with "C-M-n" and "C-M-p".
This is a nice advantage, since it gives a full context to each one-line
git grep match.

9 years agoFix double-sorting for file names
Oleh Krehel [Tue, 21 Apr 2015 09:20:31 +0000 (11:20 +0200)]
Fix double-sorting for file names

* ivy.el (ivy--sorted-files): Update.
(ivy-read): Update.

9 years agoivy.el (ivy--sorted-files): Avoid returning an empty list
Oleh Krehel [Tue, 21 Apr 2015 09:10:06 +0000 (11:10 +0200)]
ivy.el (ivy--sorted-files): Avoid returning an empty list

Fixes #49

9 years agoAllow to customize the sorting methods
Oleh Krehel [Tue, 21 Apr 2015 08:44:52 +0000 (10:44 +0200)]
Allow to customize the sorting methods

* ivy.el (ivy-sort-functions-alist): New defvar, stores sorting
  functions for various function collection types.
(ivy-sort-file-function): Remove, merge into `ivy-sort-functions-alist'.
(ivy-sort-max-size): Don't sort candidate lists larger than this size.
(ivy--sorted-files): Update.
(ivy-read): Add an argument SORT. When it's t, sort the candidates
according to `ivy-sort-functions-alist'.  It's assumed that if
COLLECTION is a function it's OK to `cl-sort' it without making a copy.
(ivy-completing-read): Call with SORT t.

* counsel.el (counsel-describe-variable): Call with SORT t.
(counsel-describe-function): Call with SORT t.

9 years agoivy.el (ivy--regex): Switch to non-greedy ".*?" joiner
Oleh Krehel [Tue, 21 Apr 2015 07:07:08 +0000 (09:07 +0200)]
ivy.el (ivy--regex): Switch to non-greedy ".*?" joiner

Fixes #47

9 years agoivy.el (ivy-done): Expand file name for empty text
Oleh Krehel [Tue, 21 Apr 2015 06:49:13 +0000 (08:49 +0200)]
ivy.el (ivy-done): Expand file name for empty text

Fixes #45

9 years agoMerge commit '294ec7f480908268055b273da96674382b84e198' from swiper
Oleh Krehel [Mon, 20 Apr 2015 17:26:54 +0000 (19:26 +0200)]
Merge commit '294ec7f480908268055b273da96674382b84e198' from swiper

9 years ago`counsel-git-grep' can now handle huge git repos
Oleh Krehel [Mon, 20 Apr 2015 16:34:43 +0000 (18:34 +0200)]
`counsel-git-grep' can now handle huge git repos

* counsel.el (counsel-git-grep-count): Return a number instead of a
  string. Apply `ivy--regex' on the input.
(counsel--git-grep-count): New defvar.
(counsel-git-grep-function): If the repo has >20000 lines, use `head' 5000
instead, but still display the true amount of matches.
(counsel-git-grep): Set `ivy--dynamic-function'.
(counsel-locate-function): Update.

* ivy.el (ivy--dynamic-function): New defvar. When this isn't nil, it
  will be called to get a new batch of candidates in case the `ivy-text'
  was changed.
(ivy--full-length): The true candidates length in case of `head' shenanigans.
(ivy--old-text): Store the old text for when `ivy--dynamic-function' was
called last.
(ivy--insert-prompt): Update.
(ivy--exhibit): Don't do filtering for non-nil `ivy--dynamic-function' -
let the caller (usually a shell tool) do the filtering.
(ivy--insert-minibuffer): New defun, created from a part of
`ivy--exhibit'.

9 years agoUse cl-plusp instead of plusp
Oleh Krehel [Mon, 20 Apr 2015 15:57:44 +0000 (17:57 +0200)]
Use cl-plusp instead of plusp

* ivy.el (cl-lib): Add require.
(ivy-alt-done): Update.

Re #43

9 years agoAdd a dynamic counsel-locate
Oleh Krehel [Sun, 19 Apr 2015 16:59:44 +0000 (18:59 +0200)]
Add a dynamic counsel-locate

* counsel.el (counsel-locate-function): New defun.
(counsel-locate): New defun.

* ivy.el (ivy--dynamic-function): New defvar.
(ivy--exhibit): Re-compute candidates use `ivy--dynamic-function' if
it's non-nil.

9 years agoSplit `ivy-completions' into `ivy--filter' and `ivy--format'
Oleh Krehel [Mon, 20 Apr 2015 15:37:13 +0000 (17:37 +0200)]
Split `ivy-completions' into `ivy--filter' and `ivy--format'

* ivy.el (ivy--exhibit): Update.
(ivy-completions): Remove.
(ivy--filter): New defun.
(ivy--format): New defun.

9 years agoMerge commit 'ac0fc8962eaa15625b127c32f75d2b3daa1ca6ef' from swiper
Oleh Krehel [Mon, 20 Apr 2015 14:07:30 +0000 (16:07 +0200)]
Merge commit 'ac0fc8962eaa15625b127c32f75d2b3daa1ca6ef' from swiper

9 years agocounsel.el (counsel-git-grep-count): Add defun
Oleh Krehel [Mon, 20 Apr 2015 14:01:03 +0000 (16:01 +0200)]
counsel.el (counsel-git-grep-count): Add defun

9 years agoswiper.el: Fix compilation warnings
Oleh Krehel [Mon, 20 Apr 2015 14:00:24 +0000 (16:00 +0200)]
swiper.el: Fix compilation warnings

9 years agoBind arrows
Oleh Krehel [Mon, 20 Apr 2015 13:53:10 +0000 (15:53 +0200)]
Bind arrows

* ivy.el (ivy-minibuffer-map): Update.

Re #40

9 years agoAdd an optimization to speed up matching
Oleh Krehel [Mon, 20 Apr 2015 12:43:14 +0000 (14:43 +0200)]
Add an optimization to speed up matching

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

9 years agoMerge commit 'efa18eca10e5a0e05043f872cf9945842bb3a034' from swiper
Oleh Krehel [Mon, 20 Apr 2015 12:32:49 +0000 (14:32 +0200)]
Merge commit 'efa18eca10e5a0e05043f872cf9945842bb3a034' from swiper

9 years agoswiper.el: Bump version
Oleh Krehel [Mon, 20 Apr 2015 12:32:05 +0000 (14:32 +0200)]
swiper.el: Bump version

9 years agoivy.el (ivy-done): Still expand "./" though
Oleh Krehel [Mon, 20 Apr 2015 11:51:04 +0000 (13:51 +0200)]
ivy.el (ivy-done): Still expand "./" though

9 years agoDon't expand the default when completing file names
Oleh Krehel [Mon, 20 Apr 2015 11:47:49 +0000 (13:47 +0200)]
Don't expand the default when completing file names

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

This affects e.g. `rgrep': "\*.el" as the default will work, but
"foo/\*.el" won't.

9 years agoPropertize directories with ivy-subdir face
Oleh Krehel [Mon, 20 Apr 2015 09:51:08 +0000 (11:51 +0200)]
Propertize directories with ivy-subdir face

* ivy.el (ivy-subdir): New defface.
(ivy-completions): Update.

9 years agoSpeed up the default file sorting even more
Oleh Krehel [Mon, 20 Apr 2015 09:50:10 +0000 (11:50 +0200)]
Speed up the default file sorting even more

* ivy.el (ivy--sorted-files): Use `string-match-p' instead of
  `file-directory-p'.

9 years agoSpeed up the default file sorting
Oleh Krehel [Mon, 20 Apr 2015 09:37:44 +0000 (11:37 +0200)]
Speed up the default file sorting

* ivy.el (ivy-sort-file-function-default): Update.
(ivy--sorted-files): Update.

Turns out that calling `file-directory-p' in `cl-sort' is too expensive.
So when `ivy-sort-file-function' is `ivy-sort-file-function-default',
propertize all strings with whether they are directories or not.

When `ivy-sort-file-function' is something different,
e.g. `string-lessp', don't do propertizing since it also can be slow.

9 years agoivy.el (ivy--preselect-index): Give priority to perfect match
Oleh Krehel [Mon, 20 Apr 2015 09:06:46 +0000 (11:06 +0200)]
ivy.el (ivy--preselect-index): Give priority to perfect match

9 years agoAllow "C-." to jump to current symbol definition
Oleh Krehel [Mon, 20 Apr 2015 08:55:18 +0000 (10:55 +0200)]
Allow "C-." to jump to current symbol definition

* counsel.el (counsel-describe-map): New defvar.
(counsel-find-symbol): New defun.
(counsel--find-symbol): New defun - jump to definition of function or
symbol or library.
(counsel-describe-variable): Use `counsel-describe-map'.
(counsel-describe-function): Use `counsel-describe-map'.

9 years agoAllow to customize the file sorting order
Oleh Krehel [Mon, 20 Apr 2015 08:17:41 +0000 (10:17 +0200)]
Allow to customize the file sorting order

* ivy.el (ivy-sort-file-function-default): New defun.
(ivy-sort-file-function): New defvar. Set this to your preference.
(ivy--sorted-files): Update.

Fixes #38

9 years agoMerge dummy commit to add the gnorb subtree metadata.
Stefan Monnier [Mon, 20 Apr 2015 01:42:30 +0000 (21:42 -0400)]
Merge dummy commit to add the gnorb subtree metadata.

9 years agoMerge commit '3db1ea76a02993663d40e90c58da989212b9e81a' into gnorb-1.0.1
Stefan Monnier [Mon, 20 Apr 2015 01:35:42 +0000 (21:35 -0400)]
Merge commit '3db1ea76a02993663d40e90c58da989212b9e81a' into gnorb-1.0.1

9 years agoSquashed 'packages/gnorb/' changes from de3a512..321b23b
Stefan Monnier [Mon, 20 Apr 2015 01:28:01 +0000 (21:28 -0400)]
Squashed 'packages/gnorb/' changes from de3a512..321b23b

321b23b Remove gnus-interactive
3877b2d Still didn't have incoming-do-todo logic right
de0dff5 Protection for message disassociation
a55b0c0 Make gnorb-ids precious earlier in registry setup
806775c Wrap save-excursion around more of gnorb-org-view
982aee9 Adjust requires and autoloads
67ce358 Version 1.0.1, plus docs and NEWS
15b35dc Don't store a link to message we're replying to
b82576c Always clear attachments during triggering
7a43d8b Bug in message disassociation
c44a87b Deletion of associations when composing messages
6aef624 Restore the layout after the restore process
04ec3ab Fix logic of choosing heading to trigger
de3182e Shift location of org-reveal during trigger process
14471db Silence compiler warnings for unbound vars
aaf8556 Be a good citizen about the cl package
ad1538d Autoload cookie for gnorb-tracking-initialize
8db194a Add TAGS to .gitignore
5688114 Bugfix: Adding mailtos to newly-setup messages
e1fb666 Function for deleting all assocations of an Org heading
d4a4ccf Better handling of non-existent Org headings
4b8a6da New function for removing message/heading association
1b56250 Change wording of disassociation message
bfd8566 Be more careful about brackets on message-ids
1e071a0 Further refinements to link following
0a138f9 Reuse existing frames/windows when following links
f0ba4d7 Improvements to message disassociation
2c0f43d Refinements to link extraction
35284f2 Add TODO for collecting BBDB messages by thread
2834602 Move roadmap/todo list from manual to README
dd46ce4 Refactor finding trigger candidates
354705a Provide completion for Org tags on BBDB records

git-subtree-dir: packages/gnorb
git-subtree-split: 321b23b1ad1b770e2b2bd27921f069b9394ca4d0

9 years agoivy.el (ivy-done): Update for non-matching file names
Oleh Krehel [Sun, 19 Apr 2015 21:28:11 +0000 (23:28 +0200)]
ivy.el (ivy-done): Update for non-matching file names

* ivy.el (ivy-done): When `ivy--directory' is non-nil, accept input
  anyway.

Fixes #39

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

* hydra/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 ago* iterators/iterators.el: Don't need cl-lib at run-time.
Stefan Monnier [Sun, 19 Apr 2015 19:49:43 +0000 (15:49 -0400)]
* iterators/iterators.el: Don't need cl-lib at run-time.

9 years ago* dbus-codegen/dbus-codegen.el (dbus-codegen-make-proxy): Fix names.
Stefan Monnier [Sun, 19 Apr 2015 19:38:57 +0000 (15:38 -0400)]
* dbus-codegen/dbus-codegen.el (dbus-codegen-make-proxy): Fix names.

9 years ago* swiper.el: Fix compilation warnings
Stefan Monnier [Sun, 19 Apr 2015 19:35:04 +0000 (15:35 -0400)]
* swiper.el: Fix compilation warnings

9 years agoivy.el (ivy-completions): Fix an optimization
Oleh Krehel [Sun, 19 Apr 2015 17:13:55 +0000 (19:13 +0200)]
ivy.el (ivy-completions): Fix an optimization

9 years agoAdd a matching optimization
Oleh Krehel [Sun, 19 Apr 2015 13:26:23 +0000 (15:26 +0200)]
Add a matching optimization

* ivy.el (ivy-completions): When the new regex `re' is a contains the
  old regex `ivy--old-re', it must be true that all candidates that
  match `re' are contained inside all candidates that match
  `ivy--old-re', i.e. the pre-computed in the last step
  `ivy--old-cands'.

This should speed up completion for large (~100k) amount of candidates,
for the particular case of regex simply being extended.

9 years agocounsel.el (counsel-git-grep): Fix the default-directory
Oleh Krehel [Sun, 19 Apr 2015 12:18:55 +0000 (14:18 +0200)]
counsel.el (counsel-git-grep): Fix the default-directory

9 years agoAdd a command to grep the current git repo
Oleh Krehel [Sun, 19 Apr 2015 12:13:41 +0000 (14:13 +0200)]
Add a command to grep the current git repo

* counsel.el (counsel-git-grep-function): New defun.
(counsel-git-grep): New command.

9 years agoAdd "C-v" and "M-v" scrolling
Oleh Krehel [Sun, 19 Apr 2015 08:28:02 +0000 (10:28 +0200)]
Add "C-v" and "M-v" scrolling

* ivy.el (ivy-minibuffer-map): Update.
(ivy-scroll-up-command): New defun.
(ivy-scroll-down-command): New defun.

9 years agoivy.el (ivy-alt-done): Update for 0 candidates
Oleh Krehel [Sat, 18 Apr 2015 20:25:06 +0000 (22:25 +0200)]
ivy.el (ivy-alt-done): Update for 0 candidates

9 years agoswiper.el: Add a work-around for window-start not being current
Oleh Krehel [Sat, 18 Apr 2015 18:12:45 +0000 (20:12 +0200)]
swiper.el: Add a work-around for window-start not being current

* swiper.el (swiper--update-input-ivy): Update.

This results in double the window-height amount of lines being
heightlighted, instead of just window-height. But at least it doesn't
happen that some candidates within the current window aren't highlighted
since they're beyond the outdated window-start and window-end.

An alternative would be to use `redisplay' to update `window-start' and
`window-end', but that causes excessive blinking.

* ivy-test.el: Add a require.

9 years agoMerge commit '05b6fc7acf98d44bd71d625bc6056a4125981a70' from swiper
Oleh Krehel [Sat, 18 Apr 2015 17:09:42 +0000 (19:09 +0200)]
Merge commit '05b6fc7acf98d44bd71d625bc6056a4125981a70' from swiper

9 years agoivy.el: Move all defvar before their first use
Oleh Krehel [Sat, 18 Apr 2015 17:08:40 +0000 (19:08 +0200)]
ivy.el: Move all defvar before their first use

9 years agoAdd ivy key bindings to "C-h m"
Oleh Krehel [Sat, 18 Apr 2015 16:54:01 +0000 (18:54 +0200)]
Add ivy key bindings to "C-h m"

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

Re #37

9 years agoAllow to customize the dotted directories
Oleh Krehel [Sat, 18 Apr 2015 16:33:04 +0000 (18:33 +0200)]
Allow to customize the dotted directories

* ivy.el (ivy-extra-directories): New defcustom.
(ivy--sorted-files): Update.

Re #38

9 years agoMerge commit 'fb1801ff24b09adc816ef763c9db9cd4b1b5d9dd' from swiper
Oleh Krehel [Sat, 18 Apr 2015 16:16:20 +0000 (18:16 +0200)]
Merge commit 'fb1801ff24b09adc816ef763c9db9cd4b1b5d9dd' from swiper

9 years agoAdd a work-around for completing topics in the info dir
Oleh Krehel [Sat, 18 Apr 2015 16:13:05 +0000 (18:13 +0200)]
Add a work-around for completing topics in the info dir

* ivy.el (ivy-read): Weirdly, the topic names need to be wrapped in
  "(...)". Also, `all-completions' returns nothing for "", but returns
  stuff for "(". Also, `all-completions' for "(" returns plenty of
  duplicates.

9 years agoswiper.el (swiper-font-lock-ensure): Exclude dired-mode
Oleh Krehel [Sat, 18 Apr 2015 15:23:20 +0000 (17:23 +0200)]
swiper.el (swiper-font-lock-ensure): Exclude dired-mode

9 years agocounsel.el: Switch from `with-no-warnings' to `declare-function'
Oleh Krehel [Sat, 18 Apr 2015 15:16:56 +0000 (17:16 +0200)]
counsel.el: Switch from `with-no-warnings' to `declare-function'

9 years agoMerge commit '2b7a97d44dfa0630928fdc107c784d8f352caf3c' from swiper
Oleh Krehel [Fri, 17 Apr 2015 11:44:07 +0000 (13:44 +0200)]
Merge commit '2b7a97d44dfa0630928fdc107c784d8f352caf3c' from swiper

9 years agoAllow to complete dir with "/" if it's a perfect match
Oleh Krehel [Fri, 17 Apr 2015 11:42:58 +0000 (13:42 +0200)]
Allow to complete dir with "/" if it's a perfect match

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

9 years agoAdd sorting for file completion
Oleh Krehel [Fri, 17 Apr 2015 11:29:41 +0000 (13:29 +0200)]
Add sorting for file completion

* ivy.el (ivy-alt-done): Exit with current directory when on first
  element, which is always "./", thanks to sorting.
(ivy--cd): Update.
(ivy--sorted-files): New defun for sorting file names. "./" and "../"
are always the first, then come the directories, then the files.
(ivy-read): Update.

9 years agoAdd "/" and "~" shortcuts while finding files
Oleh Krehel [Fri, 17 Apr 2015 10:53:43 +0000 (12:53 +0200)]
Add "/" and "~" shortcuts while finding files

* ivy.el (ivy--cd): New defun.
(ivy-backward-delete-char): Use `ivy--cd'.
(ivy--exhibit): When the file completion text ends in "/" or "~", move to
those dirs.

9 years agoAdd work-around for DEF not being in COLLECTION for `completing-read'
Oleh Krehel [Fri, 17 Apr 2015 10:32:11 +0000 (12:32 +0200)]
Add work-around for DEF not being in COLLECTION for `completing-read'

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

9 years agoMerge commit 'b128272d475ecb392f32fbc3e5832d76af33446b' from swiper
Oleh Krehel [Fri, 17 Apr 2015 08:05:36 +0000 (10:05 +0200)]
Merge commit 'b128272d475ecb392f32fbc3e5832d76af33446b' from swiper

9 years agoswiper.el: Remove dependency on ivy
Oleh Krehel [Fri, 17 Apr 2015 06:13:02 +0000 (08:13 +0200)]
swiper.el: Remove dependency on ivy

ivy.el now comes together with swiper.

Re #36.

9 years ago* swiper/ivy.el: Make sure cl-position-if exists at run-time.
Stefan Monnier [Thu, 16 Apr 2015 21:19:03 +0000 (17:19 -0400)]
* swiper/ivy.el: Make sure cl-position-if exists at run-time.

9 years agoIvy-mode now works better with `find-file'
Oleh Krehel [Thu, 16 Apr 2015 19:20:42 +0000 (21:20 +0200)]
Ivy-mode now works better with `find-file'

* ivy.el (ivy-minibuffer-map): Bind "C-j" to visit a directory without
  exiting the minibuffer.
(ivy--directory): New defvar.
(ivy-done): Expand file names.
(ivy-alt-done): New defun.
(ivy-backward-delete-char): When completing file names, visit the parent dir.
(ivy-read): Add the predicate argument, similar to `completing-read'.
All code that uses `ivy-read' needs to be updated. Move the collection/predicate stuff here.
(ivy-completing-read): Update.
(ivy--insert-prompt): Display the current directory when completing file names.

9 years agoMerge commit 'f0f7a844b0c423365020113c022110d899e8c1eb' from hydra
Oleh Krehel [Thu, 16 Apr 2015 18:35:13 +0000 (20:35 +0200)]
Merge commit 'f0f7a844b0c423365020113c022110d899e8c1eb' from hydra

9 years agoUse `condition-case-unless-debug'
Oleh Krehel [Thu, 16 Apr 2015 18:34:19 +0000 (20:34 +0200)]
Use `condition-case-unless-debug'

9 years agoMerge commit 'cb5ae17997a9ec239cf9d486feceb80acb433754' from swiper
Oleh Krehel [Thu, 16 Apr 2015 17:20:38 +0000 (19:20 +0200)]
Merge commit 'cb5ae17997a9ec239cf9d486feceb80acb433754' from swiper

9 years agoivy.el (ivy-completing-read): Rely more on `all-completions'
Oleh Krehel [Thu, 16 Apr 2015 17:19:38 +0000 (19:19 +0200)]
ivy.el (ivy-completing-read): Rely more on `all-completions'

9 years agoMerge commit '0cffcacdb0e0a035aa75f5276ca0c4cba688fc6f' from swiper
Oleh Krehel [Thu, 16 Apr 2015 16:39:13 +0000 (18:39 +0200)]
Merge commit '0cffcacdb0e0a035aa75f5276ca0c4cba688fc6f' from swiper

9 years agoAdd require-match functionality
Oleh Krehel [Thu, 16 Apr 2015 16:26:52 +0000 (18:26 +0200)]
Add require-match functionality

* ivy.el (ivy-require-match): New defvar.
(ivy-done): When nothing matches, and `ivy-require-match' isn't t, use
the current text anyway.
(ivy-completing-read): Update.

9 years agoMerge commit '2fd99e13ca15b6356c149deb74d6a2e78d0b264a' from swiper
Oleh Krehel [Thu, 16 Apr 2015 15:52:14 +0000 (17:52 +0200)]
Merge commit '2fd99e13ca15b6356c149deb74d6a2e78d0b264a' from swiper

9 years agoAdd function as collection support for ivy-mode
Oleh Krehel [Thu, 16 Apr 2015 15:50:31 +0000 (17:50 +0200)]
Add function as collection support for ivy-mode

* ivy.el (ivy-completing-read): Update.
Ignore initial input for function collection type.

9 years agoDon't try to fontify huge buffers
Oleh Krehel [Thu, 16 Apr 2015 13:43:28 +0000 (15:43 +0200)]
Don't try to fontify huge buffers

* swiper.el (swiper-font-lock-ensure): Update.

9 years agoRemove ido-mode shenanigans
Oleh Krehel [Thu, 16 Apr 2015 13:41:52 +0000 (15:41 +0200)]
Remove ido-mode shenanigans

Combining `ido-mode' and `ivy-read' seemed to cause a problem at some
stage. Can't reproduce now, so I'll just remove this for a while.