Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!caen!spool.mu.edu!rex!georgiou From: georgiou@rex.cs.tulane.edu (George Georgiou) Newsgroups: comp.text.tex Subject: Emacs-Latex: A little trick Message-ID: <7719@rex.cs.tulane.edu> Date: 1 Jun 91 07:24:07 GMT Organization: C.S. Dept, Tulane Univ., New Orleans, LA Lines: 19 Put in your .emacs file the line: (set-variable (quote page-delimiter) "^%%") %% When a comment line starting with %% (like the ones in this message) is put at the beginning, say, of every section/subsection, then the by just doing C-x p (that is narrow-to-page), one can concentrate in the section/subsection the point is in, in the narrow-to-region fashion (but without having to position the mark). To go back to normal do C-x w (that is widen). I am using it and it's a woderful little trick. %% George Georgiou georgiou@rex.cs.tulane.edu Computer Science Department +---------------------------+ Tulane University | Fiat Lux | New Orleans, LA 70118 +---------------------------+