unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Marius Hofert <marius.hofert@math.ethz.ch>
To: daniel <idnael@gmail.com>
Cc: Bastien <bzg@altern.org>,
	"help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: Narrow: How to hide a specific part?
Date: Mon, 10 Jun 2013 17:12:39 +0200	[thread overview]
Message-ID: <CAM3-KjY1R9ccFjMkVSP03Ud44ur3jivCE+E2jEUFSKqnnx3Ruw@mail.gmail.com> (raw)
In-Reply-To: <CABX3oxZkSVQ36VCviN01_hsW5aNaLBCkVsdL1_+3bHpg0nZ+kQ@mail.gmail.com>

Okay, thanks a lot!

Cheers,

Marius

On Mon, Jun 10, 2013 at 5:04 PM, daniel <idnael@gmail.com> wrote:
> 2013/6/10 Marius Hofert <marius.hofert@math.ethz.ch>
>>
>> Hi,
>>
>> hide-region works, unhide-region does not (no matter whether I first
>> select the 'hidden region' or not)
>
>
>
> unhide-region should make visible all the areas that are inside the current
> region
>
> Or try this:
>
> (defun unhide-all ()
>   (interactive)
>   (loop for ov in (overlays-in (point-min) (point-max))
> if (overlay-get ov 'my-overlay)
> do (delete-overlay ov)
> )
>   )
>



      reply	other threads:[~2013-06-10 15:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-10 12:03 Narrow: How to hide a specific part? Marius Hofert
2013-06-10 12:59 ` daniel
2013-06-10 13:18   ` Marius Hofert
2013-06-10 13:43     ` daniel
2013-06-10 13:48       ` Bastien
2013-06-10 14:46         ` Marius Hofert
2013-06-10 15:04           ` daniel
2013-06-10 15:12             ` Marius Hofert [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

  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=CAM3-KjY1R9ccFjMkVSP03Ud44ur3jivCE+E2jEUFSKqnnx3Ruw@mail.gmail.com \
    --to=marius.hofert@math.ethz.ch \
    --cc=bzg@altern.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=idnael@gmail.com \
    /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).