summaryrefslogtreecommitdiff
path: root/helm-ring.el
Commit message (Collapse)AuthorAge
* Merge pull request #2057 from tttuuu888/work-macroThierry Volpiatto2018-06-14
|\ | | | | Add edit option for helm-execute-kmacro
| * Add edit option for helm-execute-kmacroSeungKi Kim2018-06-14
| |
* | Fix delete macro from helm-execute-kmacro.SeungKi Kim2018-06-14
|/
* Prevent inserting and saving highlighted items in kill ringThierry Volpiatto2018-05-04
| | | | * helm-ring.el (helm-kill-ring-action-yank-1):
* Fix error when macro is a vector (#1970)Thierry Volpiatto2018-02-16
| | | | * helm-ring.el (helm-kbd-macro-concat-macros): Do it.
* Update copyrightsThierry Volpiatto2018-01-08
|
* Add new var helm-kill-ring-separator (#1934)Thierry Volpiatto2017-12-22
| | | | | * helm-ring.el (helm-kill-ring-separator): New. (helm-kill-ring-action-yank): Use it.
* Allow using marked in default kill-ring action (#1934)Thierry Volpiatto2017-12-21
| | | | | | | | | | | Append action have been removed * helm-ring.el (helm-kill-ring-actions): Remove append. (helm-kill-ring-map): Same. (helm-kill-ring-action-yank): Handle marked. (helm-kill-ring-action-yank-1): Same as before but renamed to be used internally, now specify prefix arg to '(4) to be sure mark and point are not reversed when using separator prompt.
* Don't bind yank fn to helm-current-bufferThierry Volpiatto2017-12-21
| | | | * helm-ring.el (helm-kill-ring-action-yank): Do it.
* Honor mark and point in yank-popThierry Volpiatto2017-12-20
| | | | * helm-ring.el (helm-kill-ring-action-yank): Do it.
* Change message when no kmacro definedThierry Volpiatto2017-12-07
| | | | * helm-ring.el (helm-execute-kmacro): Use same message as with f4.
* Don't start helm when no macros definedThierry Volpiatto2017-12-06
| | | | * helm-ring.el (helm-execute-kmacro): Bind helm-quit-if-no-candidate.
* Change action title (#1913)Thierry Volpiatto2017-12-05
| | | | * helm-ring.el (helm-execute-kmacro): Do it.
* Fix warning in previous commit (#1913)Thierry Volpiatto2017-12-05
|
* Add new actions to kmacros (#1913)Thierry Volpiatto2017-12-05
| | | | | | | | * helm-ring.el (helm-execute-kmacro): Do it, Move lambdas in functions. (helm-kbd-macro-execute): New. (helm-kbd-macro-concat-macros): New. (helm-kbd-macro-delete-macro): New.
* Add an error message for unreferenced markers (#1891)Thierry Volpiatto2017-11-02
| | | | * helm-ring.el (helm-mark-ring-default-action): Do it.
* Delete dereferenced marker if some (#1891)Thierry Volpiatto2017-11-02
| | | | | | * helm-ring.el (helm-mark-ring-default-action): Check if marker point to a buffer, if so jump to it, calling hook etc.. otherwise remove this marker from mark-ring.
* Don't push but cons current mark (#1891)Thierry Volpiatto2017-10-28
| | | | | | Same as originally. * helm-ring.el (helm-mark-ring-get-candidates): Do it.
* Ensure to always collect current mark (#1891)Thierry Volpiatto2017-10-28
| | | | | | | even if mark-ring is not empty. * helm-ring.el (helm-mark-ring-get-candidates): Do it and don't copy mark to avoid dups.
* 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.
* [incompatible change] Remove helm-push-mark-modeThierry Volpiatto2017-09-06
| | | | * helm-ring.el: Do it.
* Allow using a prefix arg when yanking.Thierry Volpiatto2017-08-16
| | | | * helm-ring.el (helm-kill-ring-action-yank): Do it.
* Reenable timers in kill-ring actionThierry Volpiatto2017-08-16
| | | | | | | to allow detecting mark and point in the previous minibuffer, otherwise point is left at beginning of inserted string. * helm-ring.el (helm-kill-ring-action-yank): Do it.
* Start adding group in some sources.Thierry Volpiatto2017-05-24
| | | | | | | | | | | | | | | | | | | | | | | * helm-files.el (helm-source-ffiles): Do it. * helm-types.el (helm--setup-source): Do it. * helm-dabbrev.el (helm-dabbrev): Do it. * helm-elisp-package.el (helm-list-el-package-source): Do it. * helm-grep.el (helm-grep-class): Do it. (helm-grep-ag-class): Do it. * helm-imenu.el (helm-imenu-source): Do it. * helm-locate.el (helm-locate-source): Do it. (helm-locate-subdirs-source): Do it. * helm-man.el (helm-source-man-pages): Do it. * helm-org.el (helm-org-headings-class): Do it. * helm-regexp.el (helm-source-regexp): Do it. (helm-source-multi-occur): Do it. * helm-ring.el (helm-source-kill-ring): Do it. (helm-source-mark-ring): Do it. (helm-source-global-mark-ring): Do it. (helm-source-register): Do it. (helm-execute-kmacro): Do it. * helm-sys.el (helm-source-top): Do it. * helm-tags.el (helm-etags-build-source): Do it.
* Save current position to mark-ring when switching with it (#1770).Thierry Volpiatto2017-05-13
| | | | | * helm-ring.el (helm-mark-ring-default-action): Do it, save helm-yank-point as well and maybe cleanup overlays.
* Use markers in mark-ring sources (#1770).Thierry Volpiatto2017-05-13
| | | | | | | | * helm-ring.el (helm-mark-ring-get-candidates): Real is now a marker. (helm-mark-ring-default-action): New. (helm-source-mark-ring): Use it. (helm-source-global-mark-ring): Use it. (helm-global-mark-ring-get-candidates): Real is now a marker.
* Remove read-only property in *mark-ring (#1697).Thierry Volpiatto2017-02-25
| | | | | * helm-ring.el (helm-mark-ring-line-string-at-pos): Do it. (helm-global-mark-ring-format-buffer): Do it.
* Add new action to kill-ring.Thierry Volpiatto2017-02-24
| | | | | | | | * helm-help.el (helm-kill-ring-help-message): Document it. * helm-ring.el (helm-kill-ring-actions): Add it. (helm-kill-ring-map): Bind it. (helm-kill-ring-append): New action. (helm-kill-ring-run-append): New run action command.
* Ensure we don't loose candidate when insertion fails with kill-ring.Thierry Volpiatto2017-02-23
| | | | * helm-ring.el (helm-kill-ring-action-yank): Do it.
* Reset multiline attr at startup in kill-ring.Thierry Volpiatto2017-02-09
| | | | * helm-ring.el (helm-source-kill-ring): Do it.
* Remove unneeded binding in helm-register-action-transformer loop.Thierry Volpiatto2017-02-09
| | | | * helm-ring.el (helm-register-action-transformer): Do it.
* Simplify loop in helm-register.Thierry Volpiatto2017-02-09
| | | | * helm-ring.el (helm-register-action-transformer): Do it.
* Allow a numeric value for :multiline slot (#1686).Thierry Volpiatto2017-02-09
| | | | | | | | | | | | | | | | | | | | Move and rename kill-ring fns to helm-lib. * helm-lib.el (helm-multiline-transformer): The transformer to truncate multiline candidates, moved and renamed from kill-ring. Handle symbol as value for multiline and ensure it is a number. (helm--multiline-get-truncated-candidate): The function to truncate multiline candidates, moved and renamed from kill-ring. * helm-ring.el (helm-source-kill-ring): Use numeric value for :multiline. (helm-kill-ring-transformer): Only remove read-only props. (helm-kill-ring-toggle-truncated): Set multiline attr. (helm-kill-ring-max-offset): Fix docstring and use t and not nil to disable. * helm-source.el (helm--setup-source): Handle numeric value for multiline and symbol as value for multiline. (helm-source): Allow bollean and integer types and fix docstring for multiline slot.
* Always kill the real value of candidate in kill-ring.Thierry Volpiatto2017-01-26
| | | | | | | * helm-help.el: Document kill-ring. * helm-ring.el (helm-kill-ring-map): Bind `helm-kill-ring-kill-selection`. (helm-source-kill-ring): Add help-message. (helm-kill-ring-kill-selection): New.
* Simplify helm-kill-ring-toggle-truncated.Thierry Volpiatto2017-01-18
| | | | * helm-ring.el (helm-kill-ring-toggle-truncated): Do it.
* Add comment no code change.Thierry Volpiatto2017-01-18
|
* Fix helm-kill-ring-max-offset docstring (#1664).Thierry Volpiatto2017-01-18
| | | | * helm-ring.el (helm-kill-ring-max-offset): Do it.
* Reinitialize helm-kill-ring--truncated-flag on startup.Thierry Volpiatto2017-01-18
| | | | * helm-ring.el (helm-show-kill-ring): Do it.
* Handle nil value for helm-kill-ring-max-offset (#1664).Thierry Volpiatto2017-01-18
| | | | * helm-ring.el (helm-kill-ring--get-truncated-candidate): Do it.
* Truncate kill-ring candidate using offset instead of lines (#1664).Thierry Volpiatto2017-01-18
| | | | | | | | | | | | | | | Incompatible changes. Introduce helm-kill-ring-toggle-truncated. * helm-ring.el (helm-kill-ring-max-offset): New, replace helm-kill-ring-max-lines-number. (helm-kill-ring-map): Bind toggle fn. (helm-kill-ring-transformer): Use it. (helm-kill-ring--truncated-flag): New internal flag. (helm-kill-ring--preselect-fn): New. (helm-kill-ring-toggle-truncated): New. (helm-kill-ring--get-truncated-candidate): New, use it in transformer.
* Fix persistent action in mark-ring with one-window layout.Thierry Volpiatto2017-01-17
| | | | | | * helm-ring.el (helm-source-mark-ring): Ensure switching to buffer. No need to call helm-highlight-current-line twice. (helm-source-global-mark-ring): Same.
* Rename `helm-kill-ring-action` to `helm-kill-ring-action-yank`Tianxiang Xiong2017-01-15
|
* Add `M-D` binding to delete elements for `helm-show-kill-ring`Tianxiang Xiong2017-01-15
|
* Update copyrights.Thierry Volpiatto2017-01-01
|
* Remove now unneeded local settings of (not cl-lib) warnings.Thierry Volpiatto2016-11-13
| | | | Done according to helm-bbdb syohei commit (thanks).
* Remove uneeded lambda.Thierry Volpiatto2016-11-08
| | | | * helm-ring.el (helm-source-kill-ring): Do it.
* Remove last obsoletes defadvices.Thierry Volpiatto2016-09-08
| | | | | | | * helm-ring.el (helm-push-mark-mode): Use advice-add. * helm.el (helm-internal): Same. (cua-delete-region--advice): New, replace old defadvices. (copy-region-as-kill--advice): New replace old defadvices.
* Fix helm-kill-ring-action when delete-selection-mode is enabled (#1520).Thierry Volpiatto2016-05-28
| | | | * helm-ring.el (helm-kill-ring-action): Do it.
* Fix copyrights.Thierry Volpiatto2016-03-05
|
* Fix undo-tree action in registers.Thierry Volpiatto2016-02-04
| | | | * helm-ring.el (helm-register-action-transformer): The action should be a cons.