Emacs 25.1. I start M-x shell. And run some process that generate text to output. How can I filter this output?

  • 2
    The question risks being deleted because it is unclear, so far. Please define "filter this output by narrow". Specify just what you are looking for. – Drew Feb 7 '18 at 18:29
  • In console has 500 lines In some lines has text "hello". I want, by narrow,to show only lines that contains text "hello" – Alex Feb 7 '18 at 22:01
  • 2
    @Alex: please answer Drew's question by editing your question rather than by adding a comment. And while you're at it, please clarify why M-x occur or M-x keep-lines doesn't solve your problem. – Stefan Feb 8 '18 at 4:06
  • Of cause I can use "M-x occur". And I oftet do this. But sometimes it's ore comfortable to use narrow – user8542613 Feb 8 '18 at 9:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.