summaryrefslogtreecommitdiff
path: root/helm.el
Commit message (Collapse)AuthorAge
* Declare helm--completing-file-name in helm.el (#1880)Thierry Volpiatto2017-09-23
| | | | * helm.el (helm--completing-file-name): Moved from helm-mode.el.
* Rename argument MENU to PROMPTThierry Volpiatto2017-09-23
| | | | | | in helm-define-key-with-subkeys. * helm.el (helm-define-key-with-subkeys): PROMPT is more meaningful.
* New flag to notify helm-read-file-name is running (#1879)Thierry Volpiatto2017-09-23
| | | | | | | * helm-mode.el (helm--completing-file-name): New. (helm-read-file-name): Bind it. * helm.el (helm-file-completion-source-p): Use it instead of minibuffer-completing-file-name.
* Make helm-alive-p (the function) internal (#1873)Thierry Volpiatto2017-09-19
| | | | | | | | | | | and use `helm-buffer-get` to cover as well the case of helm-action-buffer visible. * helm-sys.el (helm-top-poll): * helm.el (helm): (helm--alive-p): Renamed from helm-alive-p and check if helm-action-buffer or helm-buffer are alive (previously was checking only for helm-buffer).
* Fix helm-allow-mouse docstring no code changeThierry Volpiatto2017-09-17
| | | | * helm.el (helm-allow-mouse): Do it.
* Fix global help about helm-help which is no more globalThierry Volpiatto2017-09-15
| | | | | * helm.el (helm-help-message): Global help is no more helm-help since years, use now helm-documentation.
* Ensure mode-line-update don't run when no sourceThierry Volpiatto2017-08-29
| | | | * helm.el (helm-update): Do it.
* Update docstringThierry Volpiatto2017-08-22
| | | | * helm.el (helm-candidate-buffer): Do it.
* Don't kill candidate-buffer when it is a real bufferThierry Volpiatto2017-08-21
| | | | | | | * helm.el (helm-force-update--reinit): Do it. Kill only the buffers generated by helm-candidate-buffer with local or global spec. (helm-candidate-buffer): Update docstring.
* Remove unneeded "it" in force-updateThierry Volpiatto2017-08-21
| | | | * helm.el (helm-force-update): Do it.
* Fix reinitialization in force-update (#1843)Thierry Volpiatto2017-08-21
| | | | | * helm.el (helm-force-update): No need to check for source which will be nil when helm-buffer is empty.
* 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.