Johan Tibell wrote: > Anyone with strong Emacs-fu that knows how one could implement such a function? This looks like a straightforward application of outline mode. I believe it might be as simple as setting up a regex and enabling the mode, but check the LISP source for outline mode or perhaps the emacs manual. Joe Buehler