all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* org-save-outline-visibility and isearch
@ 2011-10-27 11:14 Milan Zamazal
  2011-10-31 21:40 ` [PATCH] Create visibility overlays properly Milan Zamazal
  0 siblings, 1 reply; 5+ messages in thread
From: Milan Zamazal @ 2011-10-27 11:14 UTC (permalink / raw)
  To: emacs-orgmode

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?

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-11-15 17:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-27 11:14 org-save-outline-visibility and isearch Milan Zamazal
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

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.