hi everyone,
I am working in IT support, and occur
(and even more multi-occur-in-matching-buffer
) ist my tool of choice.
But I would like it to do more (because why not?) I would like to be able to ignore matches, if terms (let’s name them excludees) are found in the next 5 lines from the search string match or within a number of lines defined by a variable.
It would allow to save excludees as a list, and ignore certain matches when for instance the “ERROR” relates to a known bug, and we do not want to see it in occur searches any longer.
Ideally, this could be triggered by a keymap in occur-mode-map, (toggle-ignore-excludees), so that it is up to the user to activate it or not.
is there already a similar function that does it? How would you proceed to achieve this?
thanks for your feedback