Daniel Mendler
Daniel Mendler
cc @hmelman - this is another idea to run the toc collectors from the toplevel. It may give the feature more visibility.
Related #405 ~~~ elisp (defcustom embark-consult-live-update-delay ...) (defun embark-consult-imenu-snapshot () (interactive) (let ((embark-collect-live-update-delay embark-consult-live-update-delay) (embark-candidate-collectors (list #'embark-consult-imenu-candidates))) (embark-collect-snapshot))) ~~~
Simple demo. Just dropping this here. Not sure if this can actually be made usable or if it is rather a example of how inconvenient these large menu context menus...
My recent Marginalia changes fixed the alignment but now the key bindings take a lot of space.
@oantolin What do you think about this? After we got #421 I am less concernced with this issue. My only remaining gripe is: > In our action keymaps we assume...
Right. Three different modes make sense: elisp (possibly deriving from prog), prog and text. However from a user perspective defuns in text modes don't make much sense. They are abused...
With this one ends up with: * elisp defun in elisp, which are also expressions * elisp defun in text (literate, org src blocks etc) * prog defuns (mode specific)....
@roshanshariff That would work too. Alternatively Embark could have a customizable hook variable `embark-keymap-filter-functions`. The functions are called on the finished keymap in order to perform custom filtering. But I...
@roshanshariff I see your point. My opinion is different. I think it is sometimes better to have more restrictions, think static typing vs dynamic typing. Since elisp is already excessively...