summaryrefslogtreecommitdiff
path: root/helm-utils.el
Commit message (Collapse)AuthorAge
...
* Update copyrightsThierry Volpiatto2018-01-08
|
* Fix compatibility with emacs-24Thierry Volpiatto2017-12-24
| | | | | * helm-utils.el (helm-goto-char): outline-show-subtree doesn't exists in emacs-24.
* Outline may fail under some conditions (#1919)Thierry Volpiatto2017-11-26
| | | | * helm-utils.el (helm-goto-char): Prevent outline error.
* Fix org-reveal no more working in outline buffers (#1919)Thierry Volpiatto2017-11-25
| | | | * helm-utils.el (helm-goto-char): Use org-reveal only in org buffers.
* Add current mark to mark-ring and revert previous change (#1891)Thierry Volpiatto2017-10-27
| | | | | | | | | There is nothing to fix here as the bug with dups in mark-ring comes from `push-mark` itself, advising `push-mark` fixes the problem. * helm-ring.el (helm-mark-ring-get-candidates): Push current mark to mark-ring when it is empty, otherwise use mark-ring. * helm-utils.el (helm-save-current-pos-to-mark-ring): Revert previous.
* Fix duplicates in mark-ring (#1891)Thierry Volpiatto2017-10-26
| | | | | | | | | | | and remove obsolete prefix args for mark in grep/occur actions fns. * helm-grep.el (helm-grep-action): Do it, signature have changed. (helm-grep-persistent-action): Fix call to helm-grep-action. * helm-regexp.el (helm-moccur-action): Same as helm-grep-action. (helm-moccur-goto-line): Remove prefix arg usage. (helm-moccur-goto-line-ow): Remove prefix arg usage. (helm-moccur-goto-line-of): Remove prefix arg usage.
* Rename helm-split-window-in-side-p (#1902)Thierry Volpiatto2017-10-20
| | | | | | | | | | to helm-split-window-inside-p. * helm-elisp.el (with-helm-show-completion): Use new name. * helm-utils.el (with-helm-display-marked-candidates): Use new name. * helm.el (helm-split-window-default-side): Use new name. (helm-split-window-inside-p): Renamed from helm-split-window-in-side-p. (helm-split-window-in-side-p): Now a var alias and make it obsolete.
* Merge pull request #1898 from Ambrevar/split-preferenceThierry Volpiatto2017-10-16
|\ | | | | Make alternate-split and mosaic respect horizontal split preference
| * Make alternate-split and mosaic respect helm-window-prefer-horizontal-splitPierre Neidhardt2017-10-15
| | | | | | | | | | | | Fix inaccuracies in function documentation. Mosaic can now be rectangular which makes for less weird results with, say, 5 buffers.
* | Fix helm-window-show-buffers-functionThierry Volpiatto2017-10-02
|/ | | | * helm-utils.el (helm-window-show-buffers-function): Fix defcustom.
* Fix long lines, no code changeThierry Volpiatto2017-10-02
| | | | | | * helm-utils.el (helm-window-alternate-split-fn): Do it. (helm-window-mosaic-fn): Do it. (helm-current-buffer-narrowed-p): Only reindent.
* Fix duplicate first window in helm-window-alternate-split-fnPierre Neidhardt2017-10-02
|
* Add customization choice to helm-window-show-buffers-functionPierre Neidhardt2017-10-02
|
* Refector some window- and buffer-related functionsPierre Neidhardt2017-10-02
|
* Add helm-window-mosaic-fn (a helm-switch-to-buffers-function)Pierre Neidhardt2017-09-29
|
* Suggest refactoring of helm-switch-to-buffer*Pierre Neidhardt2017-09-29
|
* Add helm-window-alternate-split-fn (a helm-switch-to-buffers-function)Pierre Neidhardt2017-09-29
|
* Remove helm-simultaneous-find-filePierre Neidhardt2017-09-29
|
* Add helm-switch-to-buffers-functionPierre Neidhardt2017-09-29
|
* helm-utils: Fix some typos and doc syntaxPierre Neidhardt2017-09-29
|
* Handle errors in helm-find-files-other-window (#1871)Thierry Volpiatto2017-09-28
| | | | | | * helm-files.el (helm-find-files-other-window): Reuse helm-find-files-other-window. * helm-utils.el (helm-simultaneous-find-file): Takes one more arg other-window.
* Allow helm guessing how to split-windows (#1860)Thierry Volpiatto2017-09-25
| | | | | | | | according to `split-width-threshold`. * helm-utils.el (helm-switch-to-buffer-ow-vertically): Allow using the symbol 'decide in addition of nil and t. (helm-switch-to-buffer-other-window): Use it.
* Allow switching-buffer-other-window vertically (#1860)Thierry Volpiatto2017-09-25
| | | | | | | | or horizontally. * helm-utils.el (helm-switch-to-buffer-ow-vertically): New Allow reversing the behavior of prefix arg. (helm-switch-to-buffer-other-window): Use it.
* Require dired where needed (#1878)Thierry Volpiatto2017-09-22
| | | | | | | * helm-files.el (helm-find-files-do-action): Do it. (helm-delete-file): Do it. * helm-utils.el (helm-format-columns-of-files): New same as dired-format-columns-of-files. (with-helm-display-marked-candidates): Use it.
* Don't create a new window when one already exists (#1874)Thierry Volpiatto2017-09-19
| | | | | | | | Modify C-c C-o in HFF and buffers listing, should affect moccur and grep as well. * helm-files.el (helm-find-files-other-window): Do it. * helm-utils.el (helm-switch-to-buffers): Do it.
* Require dired where neededThierry Volpiatto2017-09-18
| | | | * helm-utils.el (with-helm-display-marked-candidates): Do it.
* Fix long linesThierry Volpiatto2017-09-18
| | | | * helm-utils.el (helm-simultaneous-find-file): Do it.
* Don't fail when there is too much windowsThierry Volpiatto2017-09-18
| | | | | | when displaying several buffers simulteanously. * helm-utils.el (helm-switch-to-buffers): Do it.
* Add notification when opening files in backgroundThierry Volpiatto2017-09-17
| | | | * helm-utils.el (helm-simultaneous-find-file): Do it.
* Add helm-switch-to-buffer-other-window docstringThierry Volpiatto2017-09-17
| | | | * helm-utils.el (helm-switch-to-buffer-other-window): Do it.
* Rename helm-switch-to-buffers-other-windowThierry Volpiatto2017-09-17
| | | | | | | | | to helm-display-buffers-other-windows. * helm-buffers.el (helm-buffer-switch-other-window): Do it. * helm-regexp.el (helm-moccur-action): Do it. * helm-types.el (helm-type-buffer-actions): Do it. * helm-utils.el (helm-display-buffers-other-windows): Do it.
* Fix selection of initial windowThierry Volpiatto2017-09-16
| | | | | | | in `helm-simultaneous-find-file` * helm-utils.el (helm-simultaneous-find-file): save-selected-window after switching to initial buffer.
* Rename helm--switch-to-buffer-other-windowThierry Volpiatto2017-09-16
| | | | to helm-switch-to-buffer-other-window.
* Replace dired-simulteanous-find-fileThierry Volpiatto2017-09-16
| | | | | * helm-utils.el (helm-simultaneous-find-file): New. * helm-files.el (helm-find-file-or-marked): Use it.
* Switch to buffer vertically for all windowsThierry Volpiatto2017-09-16
| | | | * helm-utils.el (helm-switch-to-buffers): Don't start splitting in next-window.
* Add new function and use itThierry Volpiatto2017-09-16
| | | | | | * helm-files.el (helm-find-files-other-window): Do it. * helm-utils.el (helm-switch-to-buffers): Do it. (helm-switch-to-buffer-other-window): New fn to avoid repeating myself.
* Allow switching vertically in buffers with a pref argThierry Volpiatto2017-09-15
| | | | | * helm-help.el (helm-buffer-help-message): Document it. * helm-utils.el (helm-switch-to-buffers): Do it.
* Make several tramp related functions privateThierry Volpiatto2017-09-08
| | | | | | | | | | | | | | | | | | | | | | | | and fix their prefix. * helm-files.el (helm-ff-update-when-only-one-matched): Renamed with "helm-ff--" prefix. (helm-ff--create-tramp-name): Renamed with "helm-ff--" prefix. (helm-ff--tramp-cons-or-vector): Renamed with "helm-ff--" prefix. (helm-ff--get-tramp-methods): Renamed with "helm-ff--" prefix. (helm-ff--previous-mh-tramp-method): Renamed with "helm-ff--" prefix. (helm-ff--get-host-from-tramp-invalid-fname): Renamed with "helm-ff--" prefix. (helm-ff--tramp-hostnames): Renamed with "helm-ff--" prefix. (helm-ff--invalid-tramp-name-p): Renamed with "helm-ff--" prefix. (helm-ff--tramp-postfixed-p): Renamed with "helm-ff--" prefix. (helm-ff-before-action-hook-fn): Use new functions names. (helm-ff-set-pattern): Use new functions names. (helm-ff-filter-candidate-one-by-one): Use new functions names. (helm-find-files-get-candidates): Use new functions names. (helm-find-files-persistent-action): Use new functions names. (helm-delete-tramp-connection): Use new functions names. (helm-find-files-up-one-level): Use new functions names. (helm-find-files-down-last-level): Use new functions names. * helm-mode.el (helm-read-file-name): Use new functions names.
* Try to optimize require in several placesThierry Volpiatto2017-09-06
| | | | | | | | | | | | | * helm-elisp.el: (helm-source-advice): * helm-files.el: Avoid requiring emacs libs at run time. (helm-find-files-persistent-action): Require image-dired. (helm-find-files-toggle-to-bookmark): Require helm-bookmark. (helm-ffap-guesser): require ffap. (helm-find-files-1): require tramp. * helm-lib.el: Avoid requiring dired at run time. * helm-utils.el: Same. * helm-mode.el (helm-read-file-name): require tramp.
* Add RG to helm-sources-using-help-echo-popupThierry Volpiatto2017-08-24
| | | | * helm-utils.el (helm-sources-using-help-echo-popup): Do it.
* prevent duplicates help-echos in async sourcesThierry Volpiatto2017-07-30
| | | | | | | | | | | by calling helm-maybe-show-help-echo in sentinels * helm-grep.el (helm-grep-init): Do it. (helm-grep-ag-init): Do it. * helm-id-utils.el (helm-gid-candidates-process): Do it. * helm-utils.el (helm-maybe-show-help-echo): Renamed from helm-show-help-echo. Check for helm-popup-tip-mode before running timer. (helm-popup-tip-mode): Remove helm-maybe-show-help-echo from helm-after-update-hook.
* 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.
* Use only first line of help-echo in helm-popup-tip-mode.Thierry Volpiatto2017-04-20
| | | | * helm-utils.el (helm-show-help-echo): Do it.
* Expand file name in helm-quit-and-find-file.Thierry Volpiatto2017-03-30
| | | | * helm-utils.el (helm-quit-and-find-file): Do it.
* Split helm-pattern with helm-mm-split-pattern in many places.Thierry Volpiatto2017-03-29
| | | | | | | | | | | | | | * helm-buffers.el (helm-buffers--match-from-mjm): Do it. (helm-buffers--match-from-pat): Do it. (helm-buffers--match-from-inside): Do it. (helm-buffers--match-from-directory): Do it. * helm-grep.el (helm-grep--prepare-cmd-line): Do it. (helm-grep-ag-prepare-cmd-line): Do it. * helm-id-utils.el (helm-gid-candidates-process): Do it. * helm-locate.el (helm-locate-init): Do it. * helm-utils.el (helm-generic-sort-fn): Do it. * helm.el (helm-fuzzy-default-highlight-match): Do it. (helm-search-match-part): Do it.
* Fix highlighting matches with literal spaces.Thierry Volpiatto2017-03-29
| | | | | | * helm-multi-match.el (helm-mm-split-pattern): Remove unneeded backquotes. * helm-utils.el (helm-highlight-current-line): Split with helm-mm-split-pattern.
* Fix paren error in previous commit.Thierry Volpiatto2017-01-27
|
* Fix setting of end-match in helm-highlight-current-line.Thierry Volpiatto2017-01-27
| | | | * helm-utils.el (helm-highlight-current-line): Do it.
* Rework helm-highlight-current-line.Thierry Volpiatto2017-01-27
| | | | * helm-utils.el (helm-highlight-current-line): Do it.
* Fix issue when jumping from grep-mode moccur-mode buffers.Thierry Volpiatto2017-01-26
| | | | | | | | | | * helm-grep.el (helm-grep-mode-jump): Cleanup overlays. (helm-grep-mode-jump-other-window-1): Same. (helm-grep-mode-jump-other-window): Same. * helm-regexp.el (helm-moccur-mode-goto-line): Same. (helm-moccur-mode-goto-line-ow): Same. * helm-utils.el (helm-highlight-current-line): Ensure helm is alive before checking for helm-buffer and source.