[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arbitrary folding in emacs
From: |
Stefan Monnier |
Subject: |
Re: Arbitrary folding in emacs |
Date: |
Fri, 28 Mar 2014 18:32:47 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> outline.el has outline-flag-region, but
> (i) it doens't use an ellipsis and
It does if you enable outline-minor-mode first.
> (ii) it is not interactive.
Indeed, tho you can work around that with
(defun my-hide-region (beg en)
(interactive "r")
(outline-flag-region beg end t))
But obviously, it'll be a bit crude (e.g. no commands to unhide, tho you
might be able to use reveal-mode for that).
> I think it doesn't exist because it requires to mark a portion of the
> buffer, whereas Emacs has capabilities to be smarter than that (via
> hideshow or outline and some others yet),
That wouldn't preclude us from providing the "more manual" functionality.
Stefan
- Arbitrary folding in emacs, C K Kashyap, 2014/03/28
- Re: Arbitrary folding in emacs, Eli Zaretskii, 2014/03/28
- Re: Arbitrary folding in emacs, C K Kashyap, 2014/03/28
- Re: Arbitrary folding in emacs, Eli Zaretskii, 2014/03/28
- Re: Arbitrary folding in emacs, C K Kashyap, 2014/03/28
- Re: Arbitrary folding in emacs, Tim Visher, 2014/03/28
- Re: Arbitrary folding in emacs, Nicolas Richard, 2014/03/28
- Re: Arbitrary folding in emacs,
Stefan Monnier <=
- Re: Arbitrary folding in emacs, Nicolas Richard, 2014/03/30
- Re: Arbitrary folding in emacs, Tassilo Horn, 2014/03/28
- Re: Arbitrary folding in emacs, Jai Dayal, 2014/03/28
- Re: Arbitrary folding in emacs, Jarek Czekalski, 2014/03/29
- Re: Arbitrary folding in emacs, Marcin Borkowski, 2014/03/29
- Re: Arbitrary folding in emacs, Tim Visher, 2014/03/31
Re: Arbitrary folding in emacs, Thien-Thi Nguyen, 2014/03/28
Re: Arbitrary folding in emacs, Andreas Röhler, 2014/03/31