unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: daniel <idnael@gmail.com>
To: Marius Hofert <marius.hofert@math.ethz.ch>
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 16:04:10 +0100	[thread overview]
Message-ID: <CABX3oxZkSVQ36VCviN01_hsW5aNaLBCkVsdL1_+3bHpg0nZ+kQ@mail.gmail.com> (raw)
In-Reply-To: <CAM3-KjZErnfVUqCpu+oUhNn2roNFsY2eU032zP80UFcLyr48xQ@mail.gmail.com>

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:04 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 [this message]
2013-06-10 15:12             ` Marius Hofert

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