emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Milan Zamazal <pdm@zamazal.org>
To: emacs-orgmode@gnu.org
Subject: org-save-outline-visibility and isearch
Date: Thu, 27 Oct 2011 13:14:58 +0200	[thread overview]
Message-ID: <87ipna7kjx.fsf@blackbird.nest.zamazal.org> (raw)

After using org-save-outline-visibility the invisible parts of the
buffer become invisible to isearch.  I have to do something like calling
org-global-cycle to restore the buffer to its original state and allow
searching in its invisible parts again.

The problem seems to be in the functions org-outline-overlay-data and
org-set-outline-overlay-data.  They save and restore just `invisible'
overlays.  They should do the same with `isearch-open-invisible'
overlays.  Or perhaps org-set-outline-overlay-data could simply use
outline-flag-region?

What do you think?

             reply	other threads:[~2011-10-27 11:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-27 11:14 Milan Zamazal [this message]
2011-10-31 21:40 ` [PATCH] Create visibility overlays properly Milan Zamazal
2011-11-12 10:56   ` Milan Zamazal
2011-11-12 11:06     ` Bastien
2011-11-15 17:41     ` Bastien

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.orgmode.org/

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

  git send-email \
    --in-reply-to=87ipna7kjx.fsf@blackbird.nest.zamazal.org \
    --to=pdm@zamazal.org \
    --cc=emacs-orgmode@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 public inbox

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

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).