help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to fold any text as I want?


From: Bastien
Subject: Re: How to fold any text as I want?
Date: Fri, 02 Nov 2007 11:13:52 +0000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.0 (gnu/linux)

Magicloud Magiclouds <magicloud.magiclouds@gmail.com> writes:

>    Now emacs provides outline and hs modes for folding, I think. But
> they both need some "text hint" to do the hide/show. May I do the
> hide/show by line number? Like "M-x hs-hide-ln 10, 20".

I can't speak for hs, which I don't know.  But for outline-mode, folding
is done along the *structure* of the document.  So it doesn't make sense
to fold according to a range of lines.  Actually, I think this would be
quite confusing... How would you know what lines are folded ?

-- 
Bastien




reply via email to

[Prev in Thread] Current Thread [Next in Thread]