summaryrefslogtreecommitdiff
path: root/helm.el
Commit message (Collapse)AuthorAge
* Continue fixing eshell completion according to #1832Thierry Volpiatto2017-08-10
| | | | | | | | * helm-eshell.el (helm-eshell--delete-space-flag): New flag. (helm-esh-pcomplete): Use it and fix completion against `../../`. (helm-eshell--delete-space): Used in helm-quit-hook. * helm.el (helm-internal): Add new hook. (helm-quit-hook): New.
* Allow using a symbol for candidate-number-limit (#1831)Thierry Volpiatto2017-08-07
| | | | | | | * helm-source.el (helm--setup-source): Don't evaluate candidate-number-limit when building source. * helm.el (helm-candidate-number-limit): Evaluate candidate-number-limit when it is a symbol.
* Fix restoring mark at bobThierry Volpiatto2017-08-04
| | | | | * helm.el (helm-revive-visible-mark): When marked candidate is the first it have also the selection overlay.
* Force mode-line update at end of update (#1806)Thierry Volpiatto2017-07-27
| | | | * helm.el (helm-update): Do it.
* Simplify regexp for (#1802)Thierry Volpiatto2017-07-25
| | | | * helm.el (helm-update-source-p): Do it.
* Prevent entering multiple stars but allow wildcards (#1802)Thierry Volpiatto2017-07-25
| | | | | | | Match stars at end of pattern to allow entering recursive wildcard after e.g **.jpg. * helm.el (helm-update-source-p): Do it.
* Only comments, no code changes.Thierry Volpiatto2017-07-21
| | | | * helm.el (helm-update): Do it.
* Fix helm-after-update-hook docstringThierry Volpiatto2017-07-20
|
* Revert previous helm-update changesThierry Volpiatto2017-07-19
| | | | | | breaking helm-yank-text-at-point * helm.el (helm-update): Do it.
* Only comments and docstring fixesThierry Volpiatto2017-07-18
| | | | | * helm.el (helm--collect-matches): Do it. (helm-update): Do it.
* Continue fixing helm-updateThierry Volpiatto2017-07-17
| | | | | | | | | The test for matches is needed for when helm is interrupted by helm-while-no-input. In this case matches should be nil and erase-buffer and rendering aborted waiting next input. * helm.el (helm-update): Check again for matches.
* Fix previous commitThierry Volpiatto2017-07-17
| | | | | | The helm-buffer should be erased even if no results * helm.el (helm-update): Do it.
* helm-update improvementsThierry Volpiatto2017-07-17
| | | | | * helm.el (helm-update): Check for matches only for sync sources, don't run after update hook when an async source is present in sources.
* Reindent on previous commitThierry Volpiatto2017-07-17
| | | | | | No code change. * helm.el (helm-frame-or-window-configuration): Do it.
* Do not call x-focus-frame that confuses the buggy i3 wm (#1641)Gergely Risko2017-07-17
|
* Remove test always returning non-nil in helm-update (#1816)Thierry Volpiatto2017-07-16
| | | | | | Also do nothing when no sources. * helm.el (helm-update): Do it.
* Fix and use helm--url-regexp instead of ffap-url-regexp (#1817)Thierry Volpiatto2017-07-12
| | | | | | | | | | | | | | | | | | | * helm-files.el (helm-find-files-eshell-command-on-file-1): Do it. (helm-substitute-in-filename): Do it. (helm-point-file-in-dired): Do it. (helm-marked-files-in-dired): Do it. (helm-find-files-get-candidates): Do it. (helm-ff-prefix-filename): Do it. (helm-ff-filter-candidate-one-by-one): Do it. (helm-find-files-action-transformer): Do it. (helm-ffap-guesser): Do it. (helm-find-files-input): Do it. (helm-ff-find-url-at-point): Do it. (helm-find-file-or-marked): Do it. (helm-highlight-files): Do it. * helm-mode.el (helm-comp-read-get-candidates): Do it. * helm-utils.el (helm-quit-and-find-file): Do it. * helm.el (helm--url-regexp): Make it match at beginning of string.
* Blacklist some more regexps (#1802)Thierry Volpiatto2017-07-01
| | | | * helm.el (helm-update-blacklist-regexps): Do it.
* Try to work around matching more than 1 * (#1802)Thierry Volpiatto2017-06-30
| | | | | | | | It seems repeated * or ? don't send and invalid-regexp error but try continuously matching, try to prevent this. * helm.el (helm-update-blacklist-regexps): Don't start matching on "??" (helm-update-source-p): Don't update on repeated * (2) or ? (3).
* Ensure to not update when no candidatesThierry Volpiatto2017-06-29
| | | | | | when running helm-toggle-truncate-line. * helm.el (helm-toggle-truncate-line): Do it.
* Rewrite helm-move-end/beginning-of-sourceThierry Volpiatto2017-06-29
| | | | | * helm.el (helm-move--end-of-source): Do it. (helm-move--beginning-of-source): Do it.
* Try to prevent read-only candidates (#1755).Thierry Volpiatto2017-06-22
| | | | * helm.el (helm-insert-match): Do it.
* Revert aefc6227 and all related changes since thenThierry Volpiatto2017-06-21
| | | | | which include 510dd833 and d7d9fa82. Affect only helm.el.
* Fix again helm-end-of-source-pThierry Volpiatto2017-06-21
| | | | | | | | | | | with new helm-candidate prop. * helm.el (helm--forward-candidate): New. (helm--backward-candidate): New. (helm-move--previous-line-fn): Use them. (helm-move--next-line-fn): Use them. (helm-end-of-source-1): Don't forward-line but forward to next candidate (or backward).
* Fix marking candidates at eob.Thierry Volpiatto2017-06-21
| | | | * helm.el (helm-end-of-source-1): Use next-single-char-property-change.
* Merge branch 'multiline_candidates'Thierry Volpiatto2017-06-21
|\
| * Handle multiline candidates without :multiline attribute.Thierry Volpiatto2017-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make selection of candidate on candidate itself without assuming candidate is on a single line. * helm.el (helm-render-source): Add a text prop `helm-candidate` on each candidate with an alternate value depending if candidate is oddp or evenp. (helm-move--previous-line-fn): Move to previous `helm-candidate` prop. Limit move-to-previous-line to header-pos. (helm-move--next-line-fn): Move to next `helm-candidate` prop. (helm-mark-current-line): Mark candidate from its beginning to its end based on `helm-candidate` property and not beg/end of line, regardless of multiline. (helm-make-visible-mark): Fix visible mark with new helm-candidate property. (helm-output-filter--process-source): Use as well with helm-candidate prop. Bind inhibit-read-only in helm-render-source. (helm-end-of-source-1): Do it.
* | Update help.Thierry Volpiatto2017-06-18
| | | | | | | | * helm.el (helm-help-message): Update follow section.
* | Change behavior of helm--follow-action.Thierry Volpiatto2017-06-18
|/ | | | | | | | Now when follow-mode is enabled helm-follow-action-forward and helm-follow-action-backward just go to next/previous line without executing persistent action. * helm.el (helm--follow-action): Do it.
* Allow setf'ing helm-attr and remove unused helm-attr-defined.Thierry Volpiatto2017-06-01
| | | | | | * helm.el (helm-attr): Do it. * helm.el (helm-attrset): Use setf.
* Add comments, no code change.Thierry Volpiatto2017-05-25
|
* Avoid resetting iterator when not needed in cycle resume.Thierry Volpiatto2017-05-25
| | | | | | * helm.el (helm-cycle-resume):Do it. (helm--resume-or-iter): Do it. (helm-run-cycle-resume): Do it.
* Add help entry for customize.Thierry Volpiatto2017-05-24
| | | | * helm.el (helm-help-message): Do it.
* Add group slot to helm-source and use it.Thierry Volpiatto2017-05-24
| | | | | | * helm-source.el (helm-source): Do it. * helm.el (helm-map): Bind customize fn. (helm-customize-group): New.
* New user var for cycle resume delay.Thierry Volpiatto2017-05-22
| | | | | * helm.el (helm-cycle-resume-delay): New. (helm--resume-or-iter): Use it.
* Bind cycle resume to a key available in terminals as well.Thierry Volpiatto2017-05-22
| | | | | * helm.el (helm-map): Do it. (helm-help-message): Update help.
* Update help.Thierry Volpiatto2017-05-21
| | | | * helm.el (helm-help-message): Do it.
* Improve cycling resume.Thierry Volpiatto2017-05-21
| | | | | | * helm.el (helm-cycle-resume): Docstring and use helm--resume-or-iter. (helm--resume-or-iter): New. (helm-run-cycle-resume): Keep helm-buffer until resume selection done.
* Allow cycling resume.Thierry Volpiatto2017-05-20
| | | | | | | | * helm-lib.el (helm-iter-sub-next-circular): New, inlined from iterator.el. * helm.el (helm-map): Bind cycle resume. (helm--cycle-resume-iterator): New internal var. (helm-cycle-resume): New global. (helm-run-cycle-resume): New local to helm.
* Fix some long lines.Thierry Volpiatto2017-05-19
|
* Fix delay in `helm-run-multi-key-command`.Thierry Volpiatto2017-05-19
| | | | | * helm.el (helm-define-multi-key): Fix docstring example. (helm-run-multi-key-command): Use set.
* Fix `helm-force-update` docstring.Thierry Volpiatto2017-05-17
| | | | * helm.el (helm-force-update): Do it.
* Allow passing a numeric argument to recenter in force-update.Thierry Volpiatto2017-05-17
| | | | * helm.el (helm-force-update): Do it.
* Make recenter optional in force-update.Thierry Volpiatto2017-05-15
| | | | * helm.el (helm-force-update): Do it and update docstring.
* Improve helm-render-source performances (#1766).Thierry Volpiatto2017-05-07
| | | | | * helm.el (helm-render-source): Don't repeat at each turn assq test and put multiline text props only when loop finish.
* Helm requires async from now and use it in helm-ff-checksum.Thierry Volpiatto2017-05-02
| | | | * helm-files.el (helm-ff-checksum): Use async-let.
* DRY in helm-insert-match.Thierry Volpiatto2017-04-29
| | | | * helm.el (helm-insert-match): Do it, use end.
* Docstring only, no code change.Thierry Volpiatto2017-04-26
| | | | * helm.el (helm-execute-selection-action-at-nth): Update docstring.
* Allow customizing prefix key for executing action at nth (#1757).Thierry Volpiatto2017-04-26
| | | | | | | | | * helm.el (helm-map): Remove loop. (helm--action-at-nth-set-fn-1): The loop to bind numered keys. (helm--action-at-nth-set-fn-): set function. (helm--action-at-nth-set-fn+): set function. (helm-action-at-nth-negative-prefix-key): New user var. (helm-action-at-nth-positive-prefix-key): New user var.
* Update helm-help-message.Thierry Volpiatto2017-04-26
| | | | * helm.el (helm-help-message): Do it.