emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to 'undo' filter
@ 2011-07-12 22:01 Jim Burton
  2011-07-13  5:28 ` Noorul Islam
  0 siblings, 1 reply; 5+ messages in thread
From: Jim Burton @ 2011-07-12 22:01 UTC (permalink / raw)
  To: emacs-orgmode

Hi, after filtering an org document, I'd like to be able to go back to
the previous visibility. The closest I can get at the moment is to make
everything visible with S-TAB, but I'd like whatever was
expanded/collapsed before the filter to be as it was. How is this done?

Thanks,

-- 
J Burton
jim@sdf-eu.org

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

* Re: How to 'undo' filter
  2011-07-12 22:01 How to 'undo' filter Jim Burton
@ 2011-07-13  5:28 ` Noorul Islam
  2011-07-13 10:44   ` jim
  0 siblings, 1 reply; 5+ messages in thread
From: Noorul Islam @ 2011-07-13  5:28 UTC (permalink / raw)
  To: Jim Burton; +Cc: emacs-orgmode

On Wed, Jul 13, 2011 at 3:31 AM, Jim Burton <jim@sdf-eu.org> wrote:
> Hi, after filtering an org document, I'd like to be able to go back to
> the previous visibility. The closest I can get at the moment is to make
> everything visible with S-TAB, but I'd like whatever was
> expanded/collapsed before the filter to be as it was. How is this done?
>

Which filtering are you talking about?

agenda?
narrow-to-block?
narrow-to-subtree?

Thanks and Regards
Noorul

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

* Re: How to 'undo' filter
  2011-07-13  5:28 ` Noorul Islam
@ 2011-07-13 10:44   ` jim
  2011-07-13 11:13     ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: jim @ 2011-07-13 10:44 UTC (permalink / raw)
  To: Noorul Islam; +Cc: emacs-orgmode, Jim Burton

> On Wed, Jul 13, 2011 at 3:31 AM, Jim Burton <jim@sdf-eu.org> wrote:
>> Hi, after filtering an org document, I'd like to be able to go back to
>> the previous visibility. The closest I can get at the moment is to make
>> everything visible with S-TAB, but I'd like whatever was
>> expanded/collapsed before the filter to be as it was. How is this done?
>>
>
> Which filtering are you talking about?
>
> agenda?
> narrow-to-block?
> narrow-to-subtree?
>
Hi Noorul, I'm talking about  constructing a sparse tree, e.g. by a
property or tag. Sorry if I used the wrong term. Something like

C-c / p MYPROP <RET> MYVAL <RET>

Then, after looking at the filtered document, go back to previous visibility.

Thanks,

Jim
> Thanks and Regards
> Noorul
>

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

* Re: How to 'undo' filter
  2011-07-13 10:44   ` jim
@ 2011-07-13 11:13     ` Bastien
  2011-07-13 11:24       ` jim
  0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2011-07-13 11:13 UTC (permalink / raw)
  To: jim; +Cc: emacs-orgmode, Noorul Islam

Hi Jim,

jim@SDF-EU.ORG writes:

> Hi Noorul, I'm talking about  constructing a sparse tree, e.g. by a
> property or tag. Sorry if I used the wrong term. Something like
>
> C-c / p MYPROP <RET> MYVAL <RET>
>
> Then, after looking at the filtered document, go back to previous
> visibility.

You cannot.  Storing and retrieving the folded state of a document is a
longstanding wish... and issue.  I believe there are a few hacks though
on Worg and elsewhere.

What you can do is C-c C-c on setup lines to remove overlays from 
the buffer.

Sorry that I cannot help further,

-- 
 Bastien

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

* Re: How to 'undo' filter
  2011-07-13 11:13     ` Bastien
@ 2011-07-13 11:24       ` jim
  0 siblings, 0 replies; 5+ messages in thread
From: jim @ 2011-07-13 11:24 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

> Hi Jim,
>
> jim@SDF-EU.ORG writes:
>
>> Hi Noorul, I'm talking about  constructing a sparse tree, e.g. by a
>> property or tag. Sorry if I used the wrong term. Something like
>>
>> C-c / p MYPROP <RET> MYVAL <RET>
>>
>> Then, after looking at the filtered document, go back to previous
>> visibility.
>
> You cannot.  Storing and retrieving the folded state of a document is a
> longstanding wish... and issue.  I believe there are a few hacks though
> on Worg and elsewhere.

Thanks for the clarification Bastien.

Jim
>
> What you can do is C-c C-c on setup lines to remove overlays from
> the buffer.
>
> Sorry that I cannot help further,
>
> --
>  Bastien
>

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

end of thread, other threads:[~2011-07-13 11:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-12 22:01 How to 'undo' filter Jim Burton
2011-07-13  5:28 ` Noorul Islam
2011-07-13 10:44   ` jim
2011-07-13 11:13     ` Bastien
2011-07-13 11:24       ` jim

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