You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking a bit at integration between isearch and general meow functionality and I have settled on two rather simple hooks that for the most part does what I want it to do:
The only real issue with it is in beacon-mode where the differences in how case-fold-search is handled.
In meow we explicitly set it to nil when doing searches, which for the general use case of meow would be the correct option, but the way it is set in a let today makes it so that it can't be manipulated when needed.
I propose we introduce something like a meow-case-fold-search which would be used in the meow related searches. The usual entry points we have e.g. meow-mark-* and meow-visit would set this variable to nil and get the same behavior as we have today.
We could maybe also have something like meow-toggle-case-fold or something, that toggles the variable and updates any overlays as applicable.
With something like this it should be easier to do integrations between search functionalities.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been looking a bit at integration between isearch and general meow functionality and I have settled on two rather simple hooks that for the most part does what I want it to do:
The only real issue with it is in beacon-mode where the differences in how
case-fold-search
is handled.In meow we explicitly set it to nil when doing searches, which for the general use case of meow would be the correct option, but the way it is set in a let today makes it so that it can't be manipulated when needed.
I propose we introduce something like a
meow-case-fold-search
which would be used in the meow related searches. The usual entry points we have e.g.meow-mark-*
andmeow-visit
would set this variable to nil and get the same behavior as we have today.We could maybe also have something like
meow-toggle-case-fold
or something, that toggles the variable and updates any overlays as applicable.With something like this it should be easier to do integrations between search functionalities.
Beta Was this translation helpful? Give feedback.
All reactions