Omar Antolín Camarena
Omar Antolín Camarena
OK. Got it. Will do. I'll call that new non-Emacs Lisp symbol type `identifier`, which is the term `xref-find-definitions` uses.
OK, @astoff. I made the change. Now `(thing-at-point 'symbol)` is always recognized as a valid target and it is classified as either `symbol` (meaning Emacs Lisp symbol), or as `identifier`....
For identifiers the only actions you get are, as you suggested, `xref-find-definitions` and that lovely function `display-local-help` which is used to print the message "No local help at point". 😛
Do you mean you want to be able to run `find-file`, maybe navigate to some directory, and then run `embark-act` but instead of choosing one of the actions in the...
> Thank @oantolin, That is possible, right. I just suggest adding this action to the package if you think it is useful for everyone. I will build it for me....
Oh, maybe I misunderstood you, @TxGVNN! Do you want the action to use the target just to set the default directory and **not** to pass the target to the command...
Ah, good! Sorry for the initial misunderstanding. By the way, I would *not* recommend the `M-x` binding for that, because you'd loose the ability to use `M-x` to pick an...
> kill-buffer support would be great @sheijk You can run `kill-buffer` as an action in any command that offers completion of buffer names, such as `switch-to-buffer` or `kill-buffer` itself. As...
Ah, when will I learn to always test with Selectrum? It works with default completion, icomplete and embark collect live or completions. Selectrum is more static, I forget it only...
The snippet is not in embark.el (which indeed, does not try to automatically refresh completion UIs at all), just on the wiki. And I remember it used to work with...