Emacs 26.1, Windows 10
If I want to show all lines content text in one line I use command occur
M-x occur
text_to_find
Nice. It's work fine.
But how I can use occur
if text to find is on 2 lines?
E.g.:
aaa bb cccc
test this text_to_find hello how I your?
result is very good
ddd eee ffff
So I need to show all lines content the next text (in 2 lines)
text_to_find
result
result
must be right after thetext_to_find
line, or do you just want to search two keywords at the same time( use\(text_to_find\|result\)
as regexp pattern in this case)? – whatacold Feb 08 '19 at 12:57elgrep-menu
where you are guided by a menu and have control over almost all options of elgrep. – Tobias Feb 08 '19 at 14:19multi-occur
. – Tobias Feb 08 '19 at 14:21