1

Emacs: Open a buffer with all lines between lines X to Y from a huge file

view story
linux-howto

http://unix.stackexchange.com – In the same spirit as this other question: cat line X to line Y on a huge file: Is there a way to open from within Emacs (and show on a buffer) a given set of lines (e.g. all lines between line X and Y) from a huge text file? E.g. Open and show in a buffer all lines between lines 57890000 and 57890010 from file huge.txt Update: I am interested in a solution that at least can open the lines in read-only (just for display purposes), although it would be great if I can also edit the lines (and save to the original file). (HowTos)