On 2017-05-23, Ben Finney <ben+pyt...@benfinney.id.au> wrote: > Grant Edwards <grant.b.edwa...@gmail.com> writes: > >> On 2017-05-23, Michael Torrie <torr...@gmail.com> wrote: >> > Sometimes things get longer than a page (like a class definition). >> >> A nice folding mode works nicely for that sort of thing. I normally >> use emacs, but it doesn't seem to have a folding mode built-in, and >> the add-on one's I've tried didn't seem to work in a very useful way. > > The ‘set-selective-display’ command will collapse the current buffer's > text to lines indented to the specified number of columns; the same > command with no argument will expand the buffer to normal again. The > command is bound to ‘C-x $’ in default Emacs.
Thanks for the tip! I'd been looking at folding modes, and never ran across that. -- Grant Edwards grant.b.edwards Yow! I own seven-eighths of at all the artists in downtown gmail.com Burbank! -- https://mail.python.org/mailman/listinfo/python-list