unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bastien <bzg@altern.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to fold any text as I want?
Date: Fri, 02 Nov 2007 11:13:52 +0000	[thread overview]
Message-ID: <87tzo4aoi7.fsf@bzg.ath.cx> (raw)
In-Reply-To: <472A7D59.7050207@gmail.com> (Magicloud Magiclouds's message of "Fri, 02 Nov 2007 09:28:57 +0800")

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	other threads:[~2007-11-02 11:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-02  1:28 How to fold any text as I want? Magicloud Magiclouds
2007-11-02 11:13 ` Bastien [this message]
     [not found] <mailman.2868.1193966938.18990.help-gnu-emacs@gnu.org>
2007-11-02 13:53 ` Mathias Dahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tzo4aoi7.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).