Expandable 'thing' navigation #521
Replies: 2 comments 5 replies
-
Wow, nice! I definitely remember people wanting this... Some small feedback:
As an architecture suggestion though, to better integrate with meow we should make use of the meow thing table
in particular these may be implemented in meow--thing-parse, and then this would be extensible by the user with no extra boilerplate. It would also give you a lot of things for free, like all pairs, lines, buffer, window, etc. This way we don't need to think about selecting things (already handled by the two existing functions), and both next-inner* and next-bounds* reuse the third function and then pick either the inner-fn or bounds-fn. |
Beta Was this translation helpful? Give feedback.
-
A little bit off-topic. Do we need expand things, or we want to navigate on things with same type, just like those features implemented in objed |
Beta Was this translation helpful? Give feedback.
-
Hello,
I started trying out meow and i wanted to be able to navigate to 'things' using hints as can be done for expanding selections.
So far i have implemented navigation with hints for strings, pairs (round, curly, square, angle), defuns, paragraphs and sentences.
I don't know if it is something that could be integrated into meow or not.
If someone wants to try it you can load the code below and call the interactive functions :
There are two meow functions overridden (meow--direction-backward-p and meow--direction-forward-p), those are used to display hints by meow functions. Otherwise it should be unobtrusive.
It's the first time i write elisp beyond simple configuration for emacs, so feedback is welcome.
Beta Was this translation helpful? Give feedback.
All reactions