[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: what is 'outline mode'?

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2002-10-31 18:12:25 CET

On Thu, Oct 31, 2002 at 11:41:23AM -0500, Paul Lussier wrote:
> In a message dated: Thu, 31 Oct 2002 08:33:26 PST
> Zack Brown said:
>
> >Hi folks,
> >
> >In 'IDEAS', it says to use "outline-mode format" in the file, but this
> >isn't described anywhere. My best guess is that it's an emacs thing.
>
> It is.
>
> >What should vi users do?
>
> Use Emacs :)
>
> Seriously, you should be able to view the file just fine. The only
> thing the Emacs outline-mode does is allow you to do things like
> collapse and expand the various sections.
>
> For example, you'll see things like:
>
> * Header 1
> some text
> ** Header 2
> some other text
> *** Header 3
> a bunch of text
> more text
>
> outline mode will allow you to collapse all the '***' levels if you
> want so that you only see:
> * Header 1
> some text
> ** Header 2
> some other text
> *** Header 3 ...
>
> It's just a more convenient way to write things in outline mode for
> Emacs users. The resultant file is still 100% plain ascii text, and
> doesn't look any different regardless of what editor you use. It's
> the outline-mode macro which makes things look different based on the
> '*' prefix of lines.
>
Vim6 can do the same sorts of things, only it's called folding. Try :help
folding for an idea of how to set it up.

I'd still REALLY like to start getting some vim modelines into our files.

Why should vim users be relegated to second class just because the CN folks
use emacs?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  • application/pgp-signature attachment: stored
Received on Thu Oct 31 18:13:39 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.