summaryrefslogtreecommitdiff
path: root/helm-lib.el
Commit message (Collapse)AuthorAge
* Fix minor typo in docstringManuel Uberti2020-09-05
|
* Ensure helm--prepare-completion-styles use current-bufferThierry Volpiatto2020-09-04
| | | | | Use with-helm-current-buffer only in `helm-dynamic-completion` which is called from helm, otherwise it is called before helm call from current buffer.
* Merge pull request #2376 from gcla/native-comp4Thierry Volpiatto2020-08-30
|\ | | | | Fix issues running emacs built from the native-comp branch (#2375)
| * Fix issues running emacs built from the native-comp branch (#2375)Graham Clark2020-08-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The emacs native-comp branch provides "a modified Emacs capable of compiling and running Emacs Lisp as native code in form of re-loadable elf files" (https://akrl.sdf.org/gccemacs.html). Functions that are natively-compiled do not return t to byte-code-function-p, but do return t to subr-native-elisp-p, a function that is built-in to the native-comp emacs. The problem here is that helm-symbol-name tries to call symbol-name on an object if it is not functionp OR byte-code-function-p; when running with native-comp, this now needs to include subr-native-elisp-p too. I've also modified some other functions that use a similar pattern.
* | Handle lambda's in helm-append-at-nthThierry Volpiatto2020-08-29
| |
* | Allow appending atom to seq in helm-append-at-nthThierry Volpiatto2020-08-29
|/
* Make usage of helm-config file obsoleteThierry Volpiatto2020-07-28
| | | | | | Keep it for backward compatibility, but is now does nothing apart loading the helm-autoloads.el file, still maybe useful for people not using a package manager nor use-package.
* Merge pull request #2349 from progfolio/fix/byte-compiler-warningsThierry Volpiatto2020-07-28
|\ | | | | Fix byte compiler warnings
| * Fix byte compiler warningsNicholas Vollmer2020-07-28
| |
* | Add optional arg to helm-help-define-keyThierry Volpiatto2020-07-27
| |
* | Add docstrings in help fnsThierry Volpiatto2020-07-26
| |
* | Move comment in the relevant placeThierry Volpiatto2020-07-26
| |
* | Make some help vars user varsThierry Volpiatto2020-07-26
| | | | | | | | Use defcustom.
* | Move helm-help var on top of sectionThierry Volpiatto2020-07-26
| |
* | Don't hardcode helm-help promptThierry Volpiatto2020-07-26
| |
* | Move helm-help--iter-org-state on topThierry Volpiatto2020-07-26
| |
* | Add a function to bound keys in helm-helpThierry Volpiatto2020-07-26
| | | | | | | | Same as adding an entry in helm-help-hkmap but more convenient.
* | Add new alist that serve as keymap for helpThierry Volpiatto2020-07-26
| | | | | | | | | | | | | | | | Check in new variable helm-help-hkmap if key entered by user match. If it match run its associated function. This allows no more harcoding keybindings used in helm-help. Keybindings are still limited to simple bindings though.
* | Use pcase to allow emulating more bindings in helpThierry Volpiatto2020-07-22
|/
* Revert ee0630fe "Provide an alias for non-essential and use it"Thierry Volpiatto2020-07-20
|
* Provide an alias for non-essential and use itThierry Volpiatto2020-07-18
|
* Allow specifying more than one extension in wilcardsThierry Volpiatto2020-07-11
| | | | | | | when extension is not a single letter. This feature is not supported by sh and file-expand-wildcards supports only sh style wildcards. This feature is available (among others) in bash.
* Fix multiline transformer (#2334)Thierry Volpiatto2020-07-06
| | | | Accept cons as candidates.
* Fix helm-read-answer with key sequencesThierry Volpiatto2020-06-23
| | | | Avoid a wrong-type-argument error when entering e.g. up or down.
* Fix documentationManuel Uberti2020-06-03
|
* Fix Windows path error (#2308)Thierry Volpiatto2020-05-14
| | | | * helm-lib.el (helm-boring-directory-p): Do it.
* Make :override advises innermost.Ihor Radchenko2020-04-08
| | | | Default advice depth 0 can overwrite previous user-defined advises.
* Use a simple defun for helm-take-first-elementsThierry Volpiatto2020-03-06
| | | | | | to fit with old emacs (#2282). * helm-lib.el (helm-take-first-elements): Do it.
* Small optimizationsThierry Volpiatto2020-03-02
| | | | | * helm-lib.el (helm-append-at-nth): Simplify. (helm-take-first-elements): Use a specialized method for lists.
* Fix #2272 by requiring ansi-colorThierry Volpiatto2020-01-24
| | | | * helm-lib.el (helm--ansi-color-apply): Do it.
* Fix #2268 regexp wrongly matching buffer names withThierry Volpiatto2020-01-22
| | | | | | | mb characters. Fix the regexp that should match nothing, i.e. always return nil. * helm-lib.el (helm--concat-regexps): Do it.
* Update docstring no code changeThierry Volpiatto2020-01-20
| | | | * helm-lib.el (helm--prepare-completion-styles):
* Use completion-ignore-caseThierry Volpiatto2020-01-19
| | | | | | | * helm-lib.el (helm-dynamic-completion): Do it. * helm-mode.el (helm-completing-read-default-2): Do it. (helm-flex-add-score-as-prop): Do it. (helm--completion-in-region): Do it.
* Force usage of 'emacs helm-completion-style inThierry Volpiatto2020-01-08
| | | | | | helm-dynamic-completion (#2256). * helm-lib.el (helm-dynamic-completion): Do it.
* Add hooks in helm-help (#2221)Thierry Volpiatto2019-12-22
| | | | | | * helm-lib.el (helm-help-mode-before-hook): New. (helm-help-mode-after-hook): New. (helm-help-internal): Use them.
* Allow specifying styles unconditionallyThierry Volpiatto2019-12-14
| | | | | * helm-lib.el (helm--prepare-completion-styles): Takes one more arg STYLES. (helm-dynamic-completion): Same and use it.
* Fix typoThierry Volpiatto2019-12-14
| | | | * helm-lib.el (helm-dynamic-completion): Do it.
* No sort when empty stringThierry Volpiatto2019-12-14
|
* Set metadata in helm-M-x (#2249)Thierry Volpiatto2019-12-11
| | | | | | | | | | | 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.
* Fix helm-symbolify when arg is empty stringThierry Volpiatto2019-12-09
| | | | | | returns nil in this case. * helm-lib.el (helm-symbolify): Do it.
* Remove old completion-styles when settingThierry Volpiatto2019-12-01
| | | | | | | up styles for helm. (Fix #2241) * helm-lib.el (helm-blacklist-completion-styles): New var. (helm--prepare-completion-styles): Use it.
* Be sure to be in current-bufferThierry Volpiatto2019-11-29
| | | | * helm-lib.el (helm--prepare-completion-styles): Do it.
* Ensure helm-mode is loaded when setting stylesThierry Volpiatto2019-11-28
| | | | * helm-lib.el (helm--prepare-completion-styles): Do it.
* Rename functionsThierry Volpiatto2019-11-28
| | | | | | | | * helm-lib.el (helm--setup-completion-styles-alist): Renamed from helm-mode--setup-completion-styles. (helm--prepare-completion-styles): Renamed from helm-completion-in-region--set-completion-styles. * helm.el: Use new name.
* Avoid potential recursive requireThierry Volpiatto2019-11-28
| | | | | | | | | | | | Move helm-mode--setup-completion-styles in helm-lib and setup completion-styles-alist from helm.el one time for all. Move as well helm-completion-in-region--set-completion-styles in helm-lib to make it available for helm-dynamic-completion. * helm-lib.el (helm-dynamic-completion): Don't setup completion-styles-alist from here!. * helm-mode.el (helm-mode): No need to setup completion-styles-alist from here.
* Check directly if helm style have been addedThierry Volpiatto2019-11-28
| | | | * helm-lib.el (helm-dynamic-completion): Do it.
* Don't modify completion-styles-alistThierry Volpiatto2019-11-28
| | | | | | | | | | | 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
* Allow disabling completion-styles inThierry Volpiatto2019-11-27
| | | | | | | | | | | | | 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.
* Allow setting completion-styles for specific modesThierry Volpiatto2019-11-26
| | | | | | | | | | * 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.
* Update docstring, no code changeThierry Volpiatto2019-11-25
|