summaryrefslogtreecommitdiff
path: root/helm-mode.el
Commit message (Collapse)AuthorAge
* Move functions from helm to helm-lib and require accordingly.Thierry Volpiatto2016-09-04
| | | | | | | | | * helm-bookmark.el: Require helm-lib * helm-lib.el: Added some fns from fns and reorder. (helm-this-command): Moved from helm. (helm-append-at-nth): Same. (helm-current-line-contents): Moved to right section. * helm-mode.el: require helm-lib.
* Allow again follow in files sources but prevent persistent follow.Thierry Volpiatto2016-09-03
| | | | | | | | | * helm-files.el (helm-source-ffiles): Remove follow slot set to 'never. (helm-find-files-up-one-level): Turn off follow when going up one level. (helm-find-files-1): Bind helm-follow-mode-persistent. * helm-mode.el (helm-read-file-name): Same. * helm.el (helm-follow-mode-persistent): Fix docstring. (helm-source-names-using-follow): Same.
* Fix non-interactive call of follow-mode.Thierry Volpiatto2016-09-02
| | | | | | | | * helm-files.el (helm-find-files-up-one-level): No need to turn off follow as it is prevented in files sources. * helm-mode.el (helm-read-file-name): Prevent follow. * helm.el (helm-mark-all): Bind helm-follow-mode-persistent to prevent customization of follow for current source.
* Unquote some more lambdas.Thierry Volpiatto2016-08-28
| | | | | | | | | | * helm-elisp.el (helm-lisp-completion-at-point): Do it. * helm-files.el (helm-find-files-1): Do it. * helm-mode.el (helm-comp-read-get-candidates): Do it. * helm-source.el (helm-source-add-action-to-source-if): Do it. * helm.el (helm-run-multi-key-command): Do it. (helm-add-action-to-source-if): Do it. (helm-resume-previous-session-after-quit): Do it.
* Allow matching only part of candidate in helm-comp-read (#1582).Thierry Volpiatto2016-08-16
| | | | | * helm-mode.el (helm-comp-read): Do it. * helm-command.el (helm-M-x-read-extended-command): Use it.
* Fix default in completing-read (#1553).Thierry Volpiatto2016-07-06
| | | | | * helm-mode.el (helm-cr-default): Remove nil candidate. (helm-comp-read): Double check history's cands are strings.
* No need to handle 'confirm at end of cr fns now it is handled elsewhere.Thierry Volpiatto2016-06-16
| | | | | * helm-mode.el (helm-comp-read): Do it. (helm-read-file-name): Do it.
* Remove now unuseful comment.Thierry Volpiatto2016-06-16
|
* Fix error with helm-comp-read called with a default list.Thierry Volpiatto2016-06-16
| | | | | | | | This was fixed for generic completion but not when called directly. * helm-mode.el (helm-cr-default): New. (helm-comp-read): Use it. (helm-completing-read-default-1): No need to handle default from here.
* Fix some comments.Thierry Volpiatto2016-06-15
|
* Don't append space if input is emptySyohei YOSHIDA2016-06-11
|
* Set also test to nil when completion have been computed with default.Thierry Volpiatto2016-06-08
| | | | * helm-mode.el (helm-completing-read-default-1): Do it.
* Ensure circular objects are removed from collection (#1530).Thierry Volpiatto2016-06-08
| | | | | | * helm-mode.el (helm-comp-read-get-candidates): Use all-completions where needed. (helm-completing-read-default-1): Don't use alistp on first call of helm-comp-read-get-candidates.
* Finally revert c3ef651 adding actions to helm-comp-read.Thierry Volpiatto2016-03-26
| | | | | | | | | Keep exiting with a string to be safe, adding actions there will cause problems in future. * helm-command.el (helm-M-x-read-extended-command): Remove :actions. (helm-M-x): Check for sym. * helm-mode.el (helm-comp-read): Remove actions.
* Fix docstrings, no code changes.Thierry Volpiatto2016-03-26
| | | | | * helm-elisp.el (helm-apropos): Do it. * helm-mode.el (helm-comp-read): Do it.
* Add :actions keyword to helm-comp-read and use it in helm-M-x (#1448).Thierry Volpiatto2016-03-26
| | | | | | * helm-command.el (helm-M-x-read-extended-command): Add actions with new keyword. * helm-elisp.el (helm-apropos): Allow passing default arg for non--interactive calls. * helm-mode.el (helm-comp-read): Add actions keyword.
* Fix wrong-number-of-arguments error in PR #1439.Thierry Volpiatto2016-03-22
| | | | | | | | * helm-mode.el (helm-completing-read-handlers-alist): Fix fns names. * helm-org.el (helm-org-completing-read-tags): Fix arguments usage. (helm-org-completing-read-multiple): Same and use helm-comp-read.
* Handle non-tag org completion promptsAdam Porter2016-03-21
| | | | | helm-mode.el: Add handler for org-capture helm-org.el: Do it.
* FIXME: Workaround for very strange problemAdam Porter2016-03-21
| | | | | | If this function's name starts with "helm", it fails with an "apply: Wrong number of arguments" error. If its name starts with anything else, it works fine.
* helm-mode.el, helm-org.el: Improve org tag completionAdam Porter2016-03-21
| | | | | | | | | | | Thanks to Anders Johansson's code he posted at <https://groups.google.com/d/msg/emacs-helm/tA6cn6TUdRY/G1S3TIdzBwAJ>. helm-mode.el: Add to helm-completing-read-handlers-alist. helm-org.el: * (helm-org-completing-read-tags): Add function. * (helm-org-completing-read-multiple): Add function.
* Fix copyrights.Thierry Volpiatto2016-03-05
|
* Add hooks in good order for hff and read fname.Thierry Volpiatto2016-03-04
| | | | | * helm-files.el (helm-find-files-1): Do it. * helm-mode.el (helm-read-file-name): Do it.
* Avoid running the ff hooks when not needed.Thierry Volpiatto2016-03-04
| | | | | | | * helm-files.el (helm-source-ffiles): Use cleanup slot to remove hooks. (helm-find-files-1): Add hooks. (helm-find-files-cleanup): New. * helm-mode.el (helm-read-file-name): Same that for hff.
* Reenable volatile in helm-comp-read.Thierry Volpiatto2016-02-22
| | | | * helm-mode.el (helm-comp-read): Do it.
* Simplify volatile setting in helm-comp-read.Thierry Volpiatto2016-02-19
| | | | | * helm-mode.el (helm-comp-read): Use the keyword volatile instead of appending volatile to source.
* Fix dups in helm occur, don't use volatile in helm-mode by default.Thierry Volpiatto2016-02-16
| | | | | * helm-mode.el (helm-comp-read): disable volatile by default. * helm.el (helm-search-from-candidate-buffer): Fix dups.
* Don't use the generic sort fn when fuzzy matching.Thierry Volpiatto2016-02-04
| | | | * helm-mode.el (helm--completion-in-region): Do it.
* Merge branch 'better-completion-in-region'Michael Heerdegen2016-02-02
|\
| * Use predicate in completion-metadata call (completion-in-region).Thierry Volpiatto2016-01-29
| | | | | | | | * helm-mode.el (helm--completion-in-region): Do it.
| * Use also the old file completion predicates in completion-in-region.Thierry Volpiatto2016-01-29
| | | | | | | | * helm-mode.el (helm--completion-in-region): Do it.
| * Add comments in helm--completion-in-region, no code changes.Thierry Volpiatto2016-01-28
| | | | | | | | * helm-mode.el (helm--completion-in-region): Do it.
| * Use `completion-metadata-get` in `completion-in-region`.Thierry Volpiatto2016-01-23
| | | | | | | | | | * helm-mode.el (helm--completion-in-region): Do it to check if we are in file completion.
| * Use helm-aif instead of if-let.Thierry Volpiatto2016-01-17
| | | | | | | | * helm-mode.el (helm--completion-in-region): Do it.
| * Handle cdr of last completion; simplifyMichael Heerdegen2016-01-15
| |
| * do it more like vanilla completion does itMichael Heerdegen2016-01-14
| |
* | Revert also partially changes in helm-completing-read-default-1 (#1366, #1371).Thierry Volpiatto2016-02-01
| | | | | | | | * helm-mode.el (helm-completing-read-default-1): Do it.
* | Reverting changes in helm-comp-read (#1366, #1371).Thierry Volpiatto2016-02-01
| | | | | | | | | | * helm-mode.el (helm-comp-read): Compute the whole collection for now to not break match functions.
* | Add missing input argument in helm-comp-read-get-candidates (#1366).Thierry Volpiatto2016-01-31
| | | | | | | | * helm-mode.el (helm-comp-read-get-candidates): Do it.
* | Use initial input in collection in completing-read's (#1366).Thierry Volpiatto2016-01-31
| | | | | | | | | | | | | | * helm-mode.el (helm-comp-read-get-candidates): New arg input. (helm-comp-read): Use it. (helm-completing-read-default-1): Use input in initial setting of collection. (helm-completing-read-with-cands-in-buffer): Same.
* | Add new user variable for completion-in-region (#1308).Thierry Volpiatto2016-01-14
|/ | | | | * helm-mode.el (helm-completion-in-region-file-completion-style): New. (helm--completion-in-region): Use it.
* Unhelmize find-file and M-x by default to avoid confusion.Thierry Volpiatto2016-01-12
| | | | * helm-mode.el (helm-completing-read-handlers-alist): Do it.
* Add helm-only property to helm actions.Thierry Volpiatto2016-01-12
| | | | Use with-helm-alive-p where needed.
* Fix additional space suffix in `helm--completion-in-region`Markus Hauck2015-12-16
| | | | | | | | | | Previously, `helm--completion-in-region` always adds a trailing " " to the input (unless `helm-completion-in-region-fuzzy-match` is true). This leads to problems e.g. in `sbt-mode` completion, because instead of `testOnly ` (note the trailing " "), we have `testOnly ` (two " " at the end). I fixed this by adding another check whether the input already ends with an " ", and if this is the case do not append another " ".
* Remove minibuffer-completion-help from minibuffer-setup-hook (#1240).Thierry Volpiatto2015-10-23
| | | | | * helm-mode.el (helm-mode-minibuffer-setup-hook-black-list): Add minibuffer-completion-help, fix type.
* Fix minibuffer-setup-hook setting in helm-mode (#1240).Thierry Volpiatto2015-10-23
| | | | | | * helm-mode.el (helm-mode-minibuffer-setup-hook-black-list): New user var. (helm--completing-read-default): Use it and remove also all anonymous functions from minibuffer-setup-hook.
* Try to fix persistent help for same symbols names for var and fn (#1222).Thierry Volpiatto2015-10-18
| | | | | | | | | | * helm-elisp.el (helm-lisp-completion-persistent-action): Take an optional arg `name'. (helm-elisp--show-help-1): Same. * helm-elisp.el (helm-elisp--persistent-help): Same take one more arg and use it. * helm-mode.el (helm-completing-read-symbols): Pass `name' to help fns.
* Fix previous commit, :persistent-help needs stringChunyang Xu2015-10-17
|
* Compute persistent-help according to helm-elisp-help-function (#1222)Chunyang Xu2015-10-17
|
* Use helm-completing-read-symbols for disassembleChunyang Xu2015-10-13
|
* Add must-match-map keymap for helm-mode (#1211).Thierry Volpiatto2015-10-11
| | | | | | * helm-mode.el (helm-comp-read-must-match-map): New. (helm-comp-read): Use it. (helm-read-file-name): Use it.