all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Arbitrary folding in emacs
Date: Mon, 31 Mar 2014 10:02:27 +0200	[thread overview]
Message-ID: <53392113.5090909@easy-emacs.de> (raw)
In-Reply-To: <CAGdT1grg+k5zkoA3sksFtfvJLD-hAXm5f1MiyiFXwn-LMzqsvA@mail.gmail.com>

Am 28.03.2014 10:06, schrieb C K Kashyap:
> I am trying to go-over a huge c++ file. In vim, I can collapse a huge set
> of lines by simply highlighting it an then doing a zf. I was wondering if I
> can do something similar in emacs - rather how I can do it in emacs.
>
> I tried hs-minor-mode but it appears to have pre-defined notions of
> "foldable" blocks.
>
> Regards,
> Kashyap
>

If hs-minor-mode is on,
you could use ar-hide-region-atpt, which is provided here:

https://launchpad.net/s-x-emacs-werkstatt

Load

thingatpt-utils-base.el
thing-at-point-utils.el







      parent reply	other threads:[~2014-03-31  8:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28  9:06 Arbitrary folding in emacs C K Kashyap
2014-03-28  9:12 ` Eli Zaretskii
2014-03-28  9:25   ` C K Kashyap
2014-03-28  9:37     ` Eli Zaretskii
2014-03-28  9:50       ` C K Kashyap
2014-03-28 11:45         ` Tim Visher
2014-03-28 12:26           ` Nicolas Richard
2014-03-28 22:32             ` Stefan Monnier
2014-03-30 10:19               ` Nicolas Richard
2014-03-28 14:17           ` Tassilo Horn
2014-03-28 14:28             ` Jai Dayal
2014-03-29 20:29               ` Jarek Czekalski
2014-03-29  6:42           ` Marcin Borkowski
2014-03-31 15:15             ` Tim Visher
2014-03-28 20:00 ` Thien-Thi Nguyen
2014-03-28 19:58   ` Jai Dayal
2014-03-31  8:02 ` Andreas Röhler [this message]

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

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

  git send-email \
    --in-reply-to=53392113.5090909@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.