How do I highlight selected lines in Emacs ?

103 views Asked by At

I have tried searching this simple question in Google. But didn't get the correct answer in the first few pages.

What I want to do is very simple: in a source file, highlight 5th line, and 15th line, and 23th line for comparison.

I believe there should be a short-cut for it. Could anybody tell me ?

Thanks!

1

There are 1 answers

0
ramsay On

I think if you just wanna compare code from different lines,narrow-to-region and indirect-buffer are your solution.Usage:Narrow-to-region-indirect for Emacs