]> code.delx.au - gnu-emacs-elpa/log
gnu-emacs-elpa
8 years ago/transcribe/transcribe.el: Fix bug
David Gonzalez Gandara [Sun, 13 Dec 2015 12:44:34 +0000 (13:44 +0100)]
/transcribe/transcribe.el: Fix bug

8 years ago/transcribe/transcribe.el: edit comments, add new functions
David Gonzalez Gandara [Sun, 13 Dec 2015 12:39:52 +0000 (13:39 +0100)]
/transcribe/transcribe.el: edit comments, add new functions

8 years agopackages/package-fixes: Finalize code
Artur Malabarba [Sat, 12 Dec 2015 22:53:42 +0000 (22:53 +0000)]
packages/package-fixes: Finalize code

8 years agoadd TODO section
Michael Heerdegen [Sat, 12 Dec 2015 13:46:35 +0000 (14:46 +0100)]
add TODO section

8 years agoel-search--matcher: refine when to warn or error
Michael Heerdegen [Sat, 12 Dec 2015 13:43:10 +0000 (14:43 +0100)]
el-search--matcher: refine when to warn or error

8 years ago/packages/transcribe.el: Fix global variables
David Gonzalez Gandara [Wed, 9 Dec 2015 21:14:25 +0000 (22:14 +0100)]
/packages/transcribe.el: Fix global variables

8 years ago/packages/transcribe: Fix variables
David Gonzalez Gandara [Tue, 8 Dec 2015 21:13:09 +0000 (22:13 +0100)]
/packages/transcribe: Fix variables

8 years agopackages/transcribe.el: Add native discourse analysis in elisp
David Gonzalez Gandara [Tue, 8 Dec 2015 16:25:06 +0000 (17:25 +0100)]
packages/transcribe.el: Add native discourse analysis in elisp

8 years agoMerge commit 'e264139e7fafbd1bbb68f9cef6d1c50b8e6cf1f3' from swiper
Oleh Krehel [Tue, 8 Dec 2015 10:48:22 +0000 (11:48 +0100)]
Merge commit 'e264139e7fafbd1bbb68f9cef6d1c50b8e6cf1f3' from swiper

8 years agoMerge commit '97c2270f7138530de21f773f094c1495498cac78' from hydra
Oleh Krehel [Tue, 8 Dec 2015 09:25:15 +0000 (10:25 +0100)]
Merge commit '97c2270f7138530de21f773f094c1495498cac78' from hydra

8 years agoFix byte-compiler warning
Oleh Krehel [Tue, 8 Dec 2015 09:22:43 +0000 (10:22 +0100)]
Fix byte-compiler warning

8 years agoMerge commit '366689f15373ffacfe4d28b36e6325d193a4e752' from tiny
Oleh Krehel [Tue, 8 Dec 2015 09:23:39 +0000 (10:23 +0100)]
Merge commit '366689f15373ffacfe4d28b36e6325d193a4e752' from tiny

8 years agoFix byte-compiler warnings
Oleh Krehel [Tue, 8 Dec 2015 09:21:18 +0000 (10:21 +0100)]
Fix byte-compiler warnings

8 years agodoc/ivy.org: Add "Variable Index" node
Oleh Krehel [Mon, 7 Dec 2015 16:06:18 +0000 (17:06 +0100)]
doc/ivy.org: Add "Variable Index" node

8 years agodoc/ivy.texi: Re-export using adjusted texinfo exporter
Oleh Krehel [Mon, 7 Dec 2015 16:01:24 +0000 (17:01 +0100)]
doc/ivy.texi: Re-export using adjusted texinfo exporter

* doc/ivy.org: Add defopt/endopt macros. Change `ivy-wrap' and
  `ivy-height' to defopt.

8 years agoswiper.el: Bump version to 0.7.0
Oleh Krehel [Mon, 7 Dec 2015 14:46:36 +0000 (15:46 +0100)]
swiper.el: Bump version to 0.7.0

8 years agodoc/Changelog.org: Update up to 706349f
Oleh Krehel [Mon, 7 Dec 2015 14:33:39 +0000 (15:33 +0100)]
doc/Changelog.org: Update up to 706349f

8 years agoivy.el (ivy-completing-read): Use completing-read-default for tmm
Oleh Krehel [Mon, 7 Dec 2015 11:20:37 +0000 (12:20 +0100)]
ivy.el (ivy-completing-read): Use completing-read-default for tmm

Fixes #316

8 years agocounsel.el (counsel-tmm): New command
Oleh Krehel [Mon, 7 Dec 2015 11:19:08 +0000 (12:19 +0100)]
counsel.el (counsel-tmm): New command

* counsel.el (counsel-tmm-prompt): New defun.
(tmm-km-list): Define this variable here, since `tmm-get-keymap'
modifies a global variable (yuck!).

Re #316

8 years agoswiper.el (swiper-font-lock-ensure): Add vc-dir-mode
Oleh Krehel [Mon, 7 Dec 2015 09:12:40 +0000 (10:12 +0100)]
swiper.el (swiper-font-lock-ensure): Add vc-dir-mode

Re #19

8 years agoUse :caller for ivy-re-builders-alist
Oleh Krehel [Fri, 4 Dec 2015 08:23:19 +0000 (09:23 +0100)]
Use :caller for ivy-re-builders-alist

* counsel.el (counsel-M-x): Add :caller.

* ivy.el (ivy--reset-state): Use :caller.

8 years agoswiper.el (swiper--update-input-ivy): Add a work-around for "M-j"
Oleh Krehel [Fri, 4 Dec 2015 07:30:17 +0000 (08:30 +0100)]
swiper.el (swiper--update-input-ivy): Add a work-around for "M-j"

When `ivy-yank-word' is called, don't move to the line of the current
candidate. We're already there anyway. And not moving helps when there
are multiple occurrences of the current input on the current line.

Fixes #314

8 years ago* .gitignore: Add .dir-locals?.el entry
Artur Malabarba [Thu, 3 Dec 2015 16:55:45 +0000 (16:55 +0000)]
* .gitignore: Add .dir-locals?.el entry

8 years ago* packages/package-fixes: New package (not yet released)
Artur Malabarba [Tue, 1 Dec 2015 16:19:20 +0000 (16:19 +0000)]
* packages/package-fixes: New package (not yet released)

8 years agoivy.el: Structure all faces into ivy-faces custom group
Oleh Krehel [Wed, 2 Dec 2015 14:44:04 +0000 (15:44 +0100)]
ivy.el: Structure all faces into ivy-faces custom group

8 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa: transcribe.el update
David Gonzalez Gandara [Wed, 2 Dec 2015 09:53:18 +0000 (10:53 +0100)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa: transcribe.el update

8 years ago* /transcribe/transcribe.el: Fix unworking keys
David Gonzalez Gandara [Wed, 2 Dec 2015 09:53:11 +0000 (10:53 +0100)]
* /transcribe/transcribe.el: Fix unworking keys

8 years ago* GNUmakefile (check_copyrights): Skip symlinks
Stefan Monnier [Tue, 1 Dec 2015 14:25:04 +0000 (09:25 -0500)]
* GNUmakefile (check_copyrights): Skip symlinks

8 years ago* transcribe/transcribe.el: Remove manual change log
Stefan Monnier [Tue, 1 Dec 2015 14:20:39 +0000 (09:20 -0500)]
* transcribe/transcribe.el: Remove manual change log

8 years agopackages/let-alist: Define it as a :core package
Artur Malabarba [Tue, 1 Dec 2015 12:13:25 +0000 (12:13 +0000)]
packages/let-alist: Define it as a :core package

8 years agopackages/bug-hunter: Username and documentation
Artur Malabarba [Tue, 1 Dec 2015 12:11:23 +0000 (12:11 +0000)]
packages/bug-hunter: Username and documentation

8 years agoMerge commit '85b3fbe091aba2d9dc581894a02f60acd46f4413'
Artur Malabarba [Tue, 1 Dec 2015 12:09:32 +0000 (12:09 +0000)]
Merge commit '85b3fbe091aba2d9dc581894a02f60acd46f4413'

8 years agoMerge commit '311ac8ee54078f95b7279e532da6cf5a2afb4125'
Artur Malabarba [Tue, 1 Dec 2015 12:06:54 +0000 (12:06 +0000)]
Merge commit '311ac8ee54078f95b7279e532da6cf5a2afb4125'

8 years agoMerge commit 'f9e686861765162a9a6373a936c1a72359e7bf4b'
Artur Malabarba [Tue, 1 Dec 2015 12:06:37 +0000 (12:06 +0000)]
Merge commit 'f9e686861765162a9a6373a936c1a72359e7bf4b'

8 years agoUpdate names subtree url
Artur Malabarba [Tue, 1 Dec 2015 12:06:08 +0000 (12:06 +0000)]
Update names subtree url

8 years agoRemove pseudo-headers from secondary file
Artur Malabarba [Tue, 1 Dec 2015 12:05:08 +0000 (12:05 +0000)]
Remove pseudo-headers from secondary file

8 years agoUpdate Github username
Artur Malabarba [Tue, 1 Dec 2015 12:02:59 +0000 (12:02 +0000)]
Update Github username

8 years agoUpdate Github username
Artur Malabarba [Tue, 1 Dec 2015 12:00:01 +0000 (12:00 +0000)]
Update Github username

8 years ago* packages/transcribe.el: Manually changed Changelog
David Gonzalez Gandara [Tue, 1 Dec 2015 11:34:05 +0000 (12:34 +0100)]
* packages/transcribe.el: Manually changed Changelog

8 years ago* packages/seq: Don't define it as a :core package
Stefan Monnier [Mon, 30 Nov 2015 18:31:14 +0000 (13:31 -0500)]
* packages/seq: Don't define it as a :core package

Revert the removal of packages/seq/seq.el since it's different from
the one in lisp/emacs-lisp.
* .gitignore: Remove packages/seq.
* externals-list: Remove "seq" entry.

8 years agoAdded minor-mode function as suggested
David Gonzalez Gandara [Mon, 30 Nov 2015 16:54:38 +0000 (17:54 +0100)]
Added minor-mode function as suggested

8 years ago* packages/sm-c-mode: Add imenu/which-func/add-log support
Stefan Monnier [Mon, 30 Nov 2015 15:20:46 +0000 (10:20 -0500)]
* packages/sm-c-mode: Add imenu/which-func/add-log support

(sm-c--comment-regexp): New var.
(sm-c--defun-regexp): New var, extracted from sm-c-font-lock-keywords.
Also recognize macro definitions.
(sm-c-font-lock-keywords): Use it.
(sm-c--def-regexp): New var.
(sm-c-mode): Use it for add-log and imenu.

8 years ago* admin/archive-contents.el (archive--sync-emacs-repo): Fix thinko.
Stefan Monnier [Mon, 30 Nov 2015 13:54:22 +0000 (08:54 -0500)]
* admin/archive-contents.el (archive--sync-emacs-repo): Fix thinko.

8 years ago* admin/archive-contents.el: Make :core handling optional
Stefan Monnier [Mon, 30 Nov 2015 13:50:12 +0000 (08:50 -0500)]
* admin/archive-contents.el: Make :core handling optional

(archive--sync-emacs-repo): Drop support for $EMACS_CLONE_REFERENCE and
don't auto-use ../emacs/master if present.
(archive--insert-repolinks): Mark arg as unused.
(archive--metadata): Remove unused var `pv'.

8 years ago* externals-list: Add seq and python as :core packages
Stefan Monnier [Mon, 30 Nov 2015 01:28:28 +0000 (20:28 -0500)]
* externals-list: Add seq and python as :core packages

* .gitignore: Add packages/{seq,python}.
* packages/seq: Remove.

8 years ago* transcribe/transcribe.el: Allow compilation without emms
Stefan Monnier [Mon, 30 Nov 2015 01:16:15 +0000 (20:16 -0500)]
* transcribe/transcribe.el: Allow compilation without emms

8 years ago* transcribe.el: Add `provide' statement
Stefan Monnier [Sun, 29 Nov 2015 22:56:18 +0000 (17:56 -0500)]
* transcribe.el: Add `provide' statement

8 years ago* transcribe.el: Fix up formatting and copyright
Stefan Monnier [Sun, 29 Nov 2015 22:53:02 +0000 (17:53 -0500)]
* transcribe.el: Fix up formatting and copyright

8 years agoAdded some usage information
David Gonzalez Gandara [Sun, 29 Nov 2015 18:48:49 +0000 (19:48 +0100)]
Added some usage information

8 years agoFix due to visual-line-mode weirdness
Oleh Krehel [Sun, 29 Nov 2015 16:01:35 +0000 (17:01 +0100)]
Fix due to visual-line-mode weirdness

* swiper.el (swiper--candidates): Under a specific random condition,
(line-move 1) from the beginning of line doesn't move to the beginning
of the next visual line.

This change fixes it, but will result in an even slower startup when
`visual-line-mode' is active.

Fixes #313

8 years agoPackage transcribe added
David Gonzalez Gandara [Sun, 29 Nov 2015 12:31:58 +0000 (13:31 +0100)]
Package transcribe added

8 years agoswiper.el: Use show-all if outline-show-all isn't there
Oleh Krehel [Sun, 29 Nov 2015 10:19:22 +0000 (11:19 +0100)]
swiper.el: Use show-all if outline-show-all isn't there

Fixes #312

8 years agoFix ivy-resume issue caused by the recursive calls change
Oleh Krehel [Sun, 29 Nov 2015 10:15:17 +0000 (11:15 +0100)]
Fix ivy-resume issue caused by the recursive calls change

* ivy.el (ivy-read): recursive-ivy-last is only set if there's an active
  minibuffer window. If this check isn't made, it causes the previous
  `ivy-last' to be reset after the current one, so `ivy-resume' would
  resume not the last command.

8 years agoFix the preselect for (swiper "one") again
Oleh Krehel [Sun, 29 Nov 2015 10:13:45 +0000 (11:13 +0100)]
Fix the preselect for (swiper "one") again

* ivy.el (ivy--reset-state): Take into account :preselect being integer.
This means that it's void once the candidates are filtered over
:initial-input.

Fixes #292

8 years agoAdd core package soap-client
Thomas Fitzsimmons [Mon, 23 Nov 2015 02:08:34 +0000 (21:08 -0500)]
Add core package soap-client

* externals-list: Fix comment typo.
("soap-client"): New core entry.
* .gitignore: Add packages/soap-client.

8 years agoAdd core package ntlm
Thomas Fitzsimmons [Tue, 17 Nov 2015 03:52:50 +0000 (22:52 -0500)]
Add core package ntlm

* externals-list ("ntlm"): New core entry.
* .gitignore: Add packages/ntlm.

8 years agoMake externals directory removal safer
Thomas Fitzsimmons [Fri, 27 Nov 2015 06:27:00 +0000 (01:27 -0500)]
Make externals directory removal safer

* admin/archive-contents.el (archive--find-non-trivial-file): New
function.
(archive--cleanup-packages): Check result of
archive--find-non-trivial-file before deleting untracked package.

8 years agoDereference symlinks when creating tarballs
Thomas Fitzsimmons [Tue, 24 Nov 2015 04:21:15 +0000 (23:21 -0500)]
Dereference symlinks when creating tarballs

* GNUmakefile (process-archive): Dereference symlinks when
creating tarballs.

8 years agoUse symbolic links for core packages
Thomas Fitzsimmons [Mon, 16 Nov 2015 02:25:04 +0000 (21:25 -0500)]
Use symbolic links for core packages

* admin/archive-contents.el (archive--process-simple-package):
Copy file if it is a symlink to prevent deletion of target source
file.
(archive--core-package-link-file): Rename from
archive--core-package-copy-file.  Create symbolic links for core
files.
(archive--core-package-link-directory): Rename from
archive--core-package-copy-directory.  Call
archive--core-package-link-file.
(archive--core-package-sync): Change message to indicate linking.
Call archive--core-package-link-file.

8 years agoFix the issue caused by recursive swiper calls
Oleh Krehel [Fri, 27 Nov 2015 22:21:40 +0000 (23:21 +0100)]
Fix the issue caused by recursive swiper calls

* swiper.el (swiper--ivy): Look at the return result of `ivy-read';
looking at `ivy-exit' no longer works.

Fixes #311

8 years agoRemove 'field text property for twittering-mode
Oleh Krehel [Fri, 27 Nov 2015 13:32:04 +0000 (14:32 +0100)]
Remove 'field text property for twittering-mode

* swiper.el (swiper--candidates): Update.
(swiper-font-lock-ensure): Add `twittering-mode'.

Fixes #310

8 years agoEnable recursive swiper calls
Oleh Krehel [Fri, 27 Nov 2015 13:03:41 +0000 (14:03 +0100)]
Enable recursive swiper calls

* ivy.el (ivy-read): Don't need to be in the minibuffer to do a
  recursive store/restore.

(ivy--reset-state): Avoid nil string while testing.

Fixes #309

8 years agodoc/Changelog.org: Update up to 2bec99d
Oleh Krehel [Thu, 26 Nov 2015 13:50:54 +0000 (14:50 +0100)]
doc/Changelog.org: Update up to 2bec99d

8 years agobump version to 0.1.1
Michael Heerdegen [Fri, 27 Nov 2015 12:23:06 +0000 (13:23 +0100)]
bump version to 0.1.1

8 years agoel-search-query-replace: add s (toggle splicing) and ? (help) keys
Michael Heerdegen [Fri, 27 Nov 2015 12:21:26 +0000 (13:21 +0100)]
el-search-query-replace: add s (toggle splicing) and ? (help) keys

8 years agoFixes on the previous docstring edits
Oleh Krehel [Fri, 27 Nov 2015 07:17:04 +0000 (08:17 +0100)]
Fixes on the previous docstring edits

8 years agoEdit documentation strings in ivy.el
sjLambda [Thu, 26 Nov 2015 17:15:44 +0000 (09:15 -0800)]
Edit documentation strings in ivy.el

Fixes #308

8 years agoMerge commit '906d8137224c1a5bd1dc913940e0d32ffecf5523' from company-statistics
Ingo Lohmar [Thu, 26 Nov 2015 20:56:30 +0000 (21:56 +0100)]
Merge commit '906d8137224c1a5bd1dc913940e0d32ffecf5523' from company-statistics

* commit '906d8137224c1a5bd1dc913940e0d32ffecf5523':
  Bump version
  Fix --last-keyword

8 years agoBump version
Ingo Lohmar [Thu, 26 Nov 2015 20:46:38 +0000 (21:46 +0100)]
Bump version

8 years agoEase production of functions like ivy-format-function-default
Oleh Krehel [Thu, 26 Nov 2015 11:52:34 +0000 (12:52 +0100)]
Ease production of functions like ivy-format-function-default

* ivy.el (ivy--format-function-generic): New defun.
(ivy-format-function-default):
(ivy-format-function-arrow):
(ivy-format-function-line): Use `ivy--format-function-generic'.

* counsel.el (counsel--M-x-transformer): Add an extra space to simplify
  the logic.

Re #307

8 years agoConvert ivy formatting functions to dotted pairs.
Stephen Whipple [Thu, 26 Nov 2015 07:07:16 +0000 (00:07 -0700)]
Convert ivy formatting functions to dotted pairs.

`ivy-format-function' now expects to operate on dotted pairs
representing (stub . extra), where `stub' is the original
candidate and `extra' is any extra information that has been
added by counsel or other libraries.

The format function can differentiate between the original stub
and extra information and choose how to display the result to
the user.

8 years ago* sm-c-mode.el: Improve "Commentary:" and docstrings
Stefan Monnier [Wed, 25 Nov 2015 19:43:03 +0000 (14:43 -0500)]
* sm-c-mode.el: Improve "Commentary:" and docstrings

* sm-c-mode.el: Improve "Commentary:" and docstrings.
(sm-c-smie--*-token): Fix inf-loop at BOB.

* GNUmakefile (%.reindent): New rule.
(HIJACK): New var.
(%.test): Use $<.

8 years agoUpdate ivy format functions.
Stephen Whipple [Wed, 25 Nov 2015 13:56:02 +0000 (06:56 -0700)]
Update ivy format functions.

`ivy-format-function' now accessible via Customize system.

`ivy-format-function-default' and `ivy-format-function-arrow'
simplified.

New format `ivy-format-function-line' added.

`counsel-M-x' restores `ivy-format-function' before executing command.

Fixes #306

8 years agoAdd counsel-grep
Oleh Krehel [Wed, 25 Nov 2015 14:24:58 +0000 (15:24 +0100)]
Add counsel-grep

* ivy.el (ivy--reset-state): Don't push preselect onto collection for
  :dynamic-collection.
(ivy-recompute-index-swiper-async): New defun. It's useful for
re-anchoring on collections produced async processes. The major
difference from `ivy-recompute-index-swiper' is using `equal' instead of `eq'.

* counsel.el (counsel--async-sentinel): Add index recomputing logic.
When `ivy--old-cands' are null, recompute the index according to
:preselect, otherwise try `ivy--recompute-index'.
(counsel-grep): New command. Very similar to `swiper', except calls an
external process for each key update. Should be much faster for very
large files, both for startup and for matching. For smaller files, it's
less convenient.
(counsel-grep-function): New defun.
(counsel-grep-action): New defun.

Fixes #299

8 years agoVersion: bump to 0.8 in debbugs files
Michael Albinus [Tue, 24 Nov 2015 21:53:43 +0000 (22:53 +0100)]
Version: bump to 0.8 in debbugs files

8 years ago* packages/stream/stream.el (streamp): Tiny optimization.
Stefan Monnier [Tue, 24 Nov 2015 21:07:48 +0000 (16:07 -0500)]
* packages/stream/stream.el (streamp): Tiny optimization.

8 years ago* sm-c-mode: Improve indentation of struct; plus bug fixes
Stefan Monnier [Tue, 24 Nov 2015 21:06:06 +0000 (16:06 -0500)]
* sm-c-mode: Improve indentation of struct; plus bug fixes

* packages/sm-c-mode/GNUmakefile: New file.

* packages/sm-c-mode/sm-c-mode-test.c: Add some "struct" tests.
Plus a #include.

* packages/sm-c-mode/sm-c-mode.el (sm-c-syntax-propertize): Mark the <...>
of #include as a string.
(sm-c-smie--*-token): Try not to look too far back.
(sm-c-smie-rules): Indent the {...} of struct and enum definitions.
(sm-c--bs-realign-1): Fix behavior at EOB.
(sm-c--cpp-is-not-really-a-comment): New function.
(comment-only-p): Use it.

8 years ago* sm-c-mode.el: Auto-align backslashes. Improve indent rules
Stefan Monnier [Tue, 24 Nov 2015 13:29:25 +0000 (08:29 -0500)]
* sm-c-mode.el: Auto-align backslashes.  Improve indent rules

* sm-c-mode/sm-c-mode.el: Auto-align backslashes.  Improve indent rules.
(sm-c--cpp-indent-comment-inside): New function.
(sm-c--cpp-smie-indent-functions): Use it.
(sm-c--cpp-smie-indent): Handle indentation within comments-within-cpp.
(sm-c-smie-grammar): Manually tweak precedence of ":label".
(sm-c-smie-operator-regexp): Parentheses aren't operators.
(sm-c--boi): Add `inner' arg.
(sm-c--boe): Complete the code.
(sm-c-smie--*-token): Refine.
(sm-c-smie-rules): Various tweaks based on tests on src/eval.c and
src/xdisp.c.
(sm-c--bs-changed): New var.
(sm-c--bs-after-change, sm-c--bs-realign, sm-c--bs-realign-1):
New functions.
(sm-c-mode): Use them.

* sm-c-mode/sm-c-mode-test.c: Add a few more cases.

8 years agoIvy-resume should restore the buffer for swiper
Oleh Krehel [Tue, 24 Nov 2015 11:11:11 +0000 (12:11 +0100)]
Ivy-resume should restore the buffer for swiper

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

Fixes #302

8 years agoFix broken candidate index in ivy-resume
Oleh Krehel [Tue, 24 Nov 2015 11:09:37 +0000 (12:09 +0100)]
Fix broken candidate index in ivy-resume

* ivy.el (ivy--reset-state): When given initial-input, call
  `ivy--preselect-index' on candidates filtered by initial-input. This
  is important for `ivy-resume'.

8 years agoWarn the user about the behavior of ivy--regex-ignore-order
Samuel Loury [Tue, 24 Nov 2015 07:29:04 +0000 (08:29 +0100)]
Warn the user about the behavior of ivy--regex-ignore-order

Fixes #296
Fixes #305

8 years agoMinor fixes to ivy.org and export to ivy.texi
Oleh Krehel [Tue, 24 Nov 2015 11:00:12 +0000 (12:00 +0100)]
Minor fixes to ivy.org and export to ivy.texi

Fixes #304

8 years agoivy.org manual edits
sjLambda [Tue, 24 Nov 2015 03:36:04 +0000 (19:36 -0800)]
ivy.org manual edits

8 years agoFix `counsel-ag` on Windows
kovrik [Mon, 23 Nov 2015 21:24:22 +0000 (10:24 +1300)]
Fix `counsel-ag` on Windows

8 years agoswiper.el (swiper--action): push-mark only if exited the minibuffer
Oleh Krehel [Sun, 22 Nov 2015 13:00:51 +0000 (14:00 +0100)]
swiper.el (swiper--action): push-mark only if exited the minibuffer

"C-M-n" and "C-M-p" will no longer push mark and annoy with messages.

8 years agoPerform string-match in the original buffer
Oleh Krehel [Sun, 22 Nov 2015 12:59:27 +0000 (13:59 +0100)]
Perform string-match in the original buffer

* ivy.el (ivy--exhibit): Wrap in `with-current-buffer'
  `ivy-state-buffer'.
(ivy-recompute-index-swiper): Reset to the candidate at the current line
number, in case the previous regex resulted in 0 candidates.

Fixes #298

8 years agoswiper.el (swiper--candidates): Require outline
Oleh Krehel [Sat, 21 Nov 2015 22:14:49 +0000 (23:14 +0100)]
swiper.el (swiper--candidates): Require outline

Fixes #297

8 years agoFix the preselect for (swiper "one")
Oleh Krehel [Fri, 20 Nov 2015 12:13:40 +0000 (13:13 +0100)]
Fix the preselect for (swiper "one")

* ivy.el (ivy--reset-state): Ignore INITIAL-INPUT on the first
  step. Then all `ivy--filter' on the second step.
(ivy--preselect-index): Change arglist. No longer takes INITIAL-INPUT.
(ivy--recompute-index): Update the call to `ivy--preselect-index'.

Fixes #292

8 years agoivy.el (ivy-alt-done): Split into smaller defuns
Oleh Krehel [Thu, 19 Nov 2015 12:57:28 +0000 (13:57 +0100)]
ivy.el (ivy-alt-done): Split into smaller defuns

* ivy.el (ivy--directory-done): New defun.
(ivy-alt-done): Forward to `ivy--directory-done'.

8 years agoivy.el (ivy-alt-done): Refactor
Oleh Krehel [Thu, 19 Nov 2015 12:52:59 +0000 (13:52 +0100)]
ivy.el (ivy-alt-done): Refactor

Collect all `ivy--directory' branches into a single `cond'.

8 years agoAllow access to TRAMP from "// C-j"
Oleh Krehel [Thu, 19 Nov 2015 10:02:38 +0000 (11:02 +0100)]
Allow access to TRAMP from "// C-j"

* ivy.el (ivy-alt-done): Match not only `ivy-text' but also
  `ivy--current' for TRAMP regex.

Re #285

8 years agoImprove ivy TRAMP support
Stephen Whipple [Thu, 19 Nov 2015 02:41:16 +0000 (19:41 -0700)]
Improve ivy TRAMP support

8 years agoprerequisites to allow replace with multiple expressions
Michael Heerdegen [Wed, 18 Nov 2015 14:51:12 +0000 (15:51 +0100)]
prerequisites to allow replace with multiple expressions

8 years agoivy.el (ivy-completing-read): Fix off by one
Oleh Krehel [Wed, 18 Nov 2015 13:34:46 +0000 (14:34 +0100)]
ivy.el (ivy-completing-read): Fix off by one

Re #295

8 years agoSwitch to using ivy-exit-with-action
Oleh Krehel [Wed, 18 Nov 2015 10:55:45 +0000 (11:55 +0100)]
Switch to using ivy-exit-with-action

* ivy.el (ivy-exit-with-action): Add a missing quote.
(ivy--cd-maybe): Use `ivy-exit-with-action'.

* counsel.el (counsel-find-symbol):
(counsel--info-lookup-symbol):
(counsel-git-grep-query-replace): Use `ivy-exit-with-action'.

* swiper.el (swiper-query-replace):
(swiper-mc): Use `ivy-exit-with-action'.

The previous approach was overwriting the action list, so when
`ivy-resume' was called, only a single action was present.  The new
approach doesn't have this bug.

So now it's possible to e.g. `counsel-describe-function' -> "M-o d" ->
`ivy-resume' -> "M-o o" -> `ivy-resume' -> "M-o i".

8 years agoMake ivy-completing-read handle history as cons
Samuel Loury [Wed, 18 Nov 2015 10:31:48 +0000 (11:31 +0100)]
Make ivy-completing-read handle history as cons

The ivy-read function assumes that history is a symbol, hence
ivy-completing-read now makes sure that a symbol is given to
ivy-read.

Moreover, it makes sure that the value of initial-input is
coherent with the value of the HISTPOS part of the history
variable if it exists.

Fixes #295

8 years agoswiper.el: Modify the behavior with org-mode and visual-line-mode
Oleh Krehel [Tue, 17 Nov 2015 07:27:39 +0000 (08:27 +0100)]
swiper.el: Modify the behavior with org-mode and visual-line-mode

* swiper.el (swiper--candidates): Set `swiper-use-visual-line' even for
  `org-mode'. In that case, reveal all text to prevent `line-move'
  weirdness.
(swiper--ivy): Use `swiper-use-visual-line'.

Re #291
Re #227

8 years agoREADME.md: Add more bindings
Oleh Krehel [Mon, 16 Nov 2015 17:15:21 +0000 (18:15 +0100)]
README.md: Add more bindings

8 years agoNew function iterator-of-directory-files
Michael Heerdegen [Mon, 16 Nov 2015 14:37:12 +0000 (15:37 +0100)]
New function iterator-of-directory-files

8 years agoAdd precise preselect for swiper with visual-line-mode
Oleh Krehel [Mon, 16 Nov 2015 14:25:12 +0000 (15:25 +0100)]
Add precise preselect for swiper with visual-line-mode

* swiper.el (swiper--ivy): Use `count-screen-lines' to calculate the
  visual line number.

Fixes #291