| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
* helm-command.el (helm-M-x-read-extended-command): Elements of
history are strings.
|
|
|
|
|
|
|
| |
used in an attempt to use directly helm-M-x in kmacro.
It is not in emacs-25 anyway.
* helm-command.el (helm-M-x-execute-command): Do it.
|
|
|
|
|
|
|
| |
* helm-command.el (helm-M-x--move-selection-after-hook): New.
(helm-M-x--before-action-hook): New.
(helm-M-x-read-extended-command): Bind helm-move-selection-after-hook
with add-hook and remove it before executing action.
|
|
|
|
|
|
|
|
|
|
|
| |
and fix metatada setting in helm-dynamic-completion.
* helm-command.el (helm-M-x-class): Use the FCT without sorting.
(helm-M-x-read-extended-command): Provide sort fn through metadata
and don't sort with FCT.
* helm-lib.el (helm-dynamic-completion): Allow preventing sorting by
passing the symbol nosort in metadata, be sure also to setup metadata
to a suitable value so that the adjust metadata fn can use it.
|
|
|
|
|
|
|
| |
* helm-command.el (helm-M-x-read-extended-command): Don't do it from here.
(helm-M-x-execute-command): Set this-command-keys.
(helm-M-x--vanilla-M-x): New.
(helm-M-x): Use it.
|
|
|
|
|
|
|
|
| |
* helm-command.el (helm-M-x-read-extended-command): Takes one more
optional arg PREDICATE, remove extended-command-history let-binding
unuseful now we are using completion with predicate.
(helm-M-x-execute-command): Can now use setq as the
extended-command-history let-binding have been removed.
|
|
|
|
|
| |
* helm-command.el (helm-M-x-read-extended-command): Don't sort history.
(helm-M-x-execute-command): Set top level history.
|
|
|
|
|
|
|
|
|
| |
and remove also
helm-M-x-fuzzy-match, helm-M-x-use-completion-styles and
helm-M-x-requires-pattern.
* helm-command.el (helm-M-x-read-extended-command): Do it.
(helm-M-x): No need to handle helm-M-x-use-completion-styles.
|
|
|
|
| |
* helm-command.el (helm-M-x-class): Do it.
|
|
|
|
|
|
|
| |
* helm-command.el (helm-M-x-class): New inherit from helm-type-command.
(helm-M-x-read-extended-command): Use it.
(helm-M-x-execute-command): New.
(helm-M-x): Use it.
|
|
|
|
| |
* helm-command.el (helm-M-x-use-completion-styles): Do it.
|
|
|
|
|
|
|
|
|
|
|
| |
when exiting helm-mode.
Remove helm-mode--disable-completion-styles.
* helm-command.el (helm-M-x-read-extended-command): No need to check
for helm-mode.
* helm-lib.el (helm-dynamic-completion): May be setup
completion-styles-alist if not already done by helm-mode.
* helm-mode.el (helm-mode): Don't modify completion-styles-alist
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
helm-completion-styles-alist when needed.
* helm-command.el (helm-M-x-read-extended-command): Don't use
completion-styles per mode by using NOMODE arg.
* helm-lib.el (helm-dynamic-completion): Takes now one mode arg NOMODE.
* helm-mode.el (helm-completion-styles-alist): Docstring.
(helm-completing-read-default-2): Use NOMODE.
(helm-completion-in-region--set-completion-styles): Takes now one mode arg NOMODE.
(helm--completion-in-region): Fix setting helm-completion-style
through helm-completion-styles-alist.
|
|
|
|
|
|
|
|
|
|
| |
* helm-mode.el (helm-mode-fuzzy-match): Docstring only.
(helm-completion-styles-alist): Docstring allow using sexp as value.
(helm-completion-in-region--set-completion-styles): Handle
helm-completion-styles-alist and simplify.
* helm-lib.el (helm-dynamic-completion): Do it.
* helm-command.el (helm-M-x-read-extended-command): Disable specific
mode settings for completion-styles.
|
|
|
|
| |
helm-M-x-transformer-no-sort.
|
| |
|
|
|
|
| |
* helm-command.el (helm-M-x-read-extended-command): Do it.
|
|
|
|
|
|
| |
and styles are not found (error otherwise).
* helm-command.el (helm-M-x-read-extended-command): Do it.
|
|
|
|
|
|
|
|
|
|
|
| |
* helm-command.el (helm-M-x-read-extended-command): Use must-match in
dynamic sources.
* helm-mode.el (helm-comp-read): Use new slot :must-match in sources.
(helm-read-file-name): Same.
* helm-source.el (helm-source): Add must-match.
(helm--setup-source): Setup must-match-map when :must-match is specified.
* helm.el (helm-confirm-and-exit-minibuffer): Add cond clause to exit
with pattern as cand.
|
| |
|
| |
|
|
|
|
|
| |
* helm-command.el (helm-M-x-persistent-action): New.
(helm-M-x-read-extended-command): Use it.
|
|
|
|
| |
* helm-command.el (helm-M-x-read-extended-command): Do it.
|
|
|
|
|
|
|
|
| |
* helm-command.el (helm-M-x-use-completion-styles):
(helm-M-x-default-sort-fn): Docstring only.
(helm-M-x-fuzzy-match): Docstring only.
(helm-M-x-read-extended-command): Use helm-M-x-use-completion-styles
and let bind prompt.
|
| |
|
|
|
|
|
| |
* helm-lib.el (helm-dynamic-completion): New.
* helm-command.el (helm-M-x-read-extended-command): Use it.
|
|
|
|
| |
* helm-command.el (helm-M-x): Ensure command-name is a string.
|
| |
|
| |
|
| |
|
|
|
|
| |
* helm-command.el (helm-M-x-get-major-mode-command-alist): Fix it.
|
| |
|
| |
|
|
|
|
| |
* helm-command.el (helm-M-x): Do it.
|
|
|
|
|
|
| |
`unless` followed by `when` is confusing, and can be improved by using
`condition-case`, making it clear that `helm-M-x-always-save-history` applies
in scenarios in which an error occurs when executing the command.
|
|
|
|
| |
* helm-command.el (helm-M-x-default-sort-fn): Do it.
|
|
|
|
|
|
|
|
|
| |
* helm-command.el (helm-M-x-default-sort-fn): New user var.
(helm-M-x-fuzzy-sort-candidates): New fuzzy sort fn for *M-x.
(helm-M-x-read-extended-command): Use it.
* helm.el (helm-fuzzy-matching-default-sort-fn): No need to have a third arg
which is unused everywhere.
(helm-fuzzy-matching-sort-fn-preserve-ties-order): Same.
|
|
|
|
| |
* helm-command.el (helm-M-x): Do it.
|
| |
|
|
|
|
| |
Done according to helm-bbdb syohei commit (thanks).
|
|
|
|
|
| |
* helm-mode.el (helm-comp-read): Do it.
* helm-command.el (helm-M-x-read-extended-command): Use it.
|
|
|
|
|
| |
* helm-command.el (helm-M-x-map): Don't quote nil (typo).
(helm-M-x-universal-argument): Add docstring and helm-only prop.
|
| |
|
|
|
|
|
| |
* helm-command.el (helm-M-x): Fix also interactive-only not
supported in declare in <emacs-25.
|
|
|
|
|
|
|
|
|
|
| |
Set helm-M-x-prefix-argument within `interactive' form so it works for
keyboard macro, and before (helm-M-x-read-extended-command) so it works
for C-g too.
To avoid calling `called-interactively-p', inhibit calling helm-M-x from
lisp explicitly by declaring helm-M-x interactive-ony. Anyway, I don't
think being able to call helm-M-x from lisp is necessary.
|
| |
|
|
|
|
| |
No code change.
|
| |
|
|
|
|
|
| |
otherwise the prefix argument during *defining* keybinding macros will not
be used.
|