emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org Mode Searching Bug?


From: Carsten Dominik
Subject: Re: [Orgmode] Org Mode Searching Bug?
Date: Mon, 15 Jan 2007 17:23:32 +0100

Hi Deech,

this is intentional, the headline following a headline that matches
the search is also shown, because it makes it easier to edit the headline
and the entry below it without accidentally changing hidden text.
If you are confident that you know outline-mode well enough,
customize the variable `org-show-following-heading'.  Get back to
us if you cannot figure out how to modify it correctly - it is
a relatively complex variable.

While you are at it: there are two more variables that give you very
fine-graned control over what exactly is displayed in sparse tree
and other commands that expose previously hidden parts of the
outline tree.

org-show-hierarchy-above
org-show-siblings

Hope this helps

- Carsten

On Jan 12, 2007, at 18:43, Deech wrote:

Hi all,
I have been using org mode for the past month and on the whole it's great. But I
am having trouble searching tags and sorting TODO items.

If this is the original file:

*PROJECTS
** TODO Take out garbage                        :home:
Today is garbage + recycling
** TODO Do the laundry                          :home:
** DONE Pay car insurance                       :bills:

Doing a 'C-c v'(to show only TODO items) also shows the DONE item, like this:

*PROJECTS
** TODO Take out garbage                        :home:
** TODO Do the laundry                          :home:
** DONE Pay car insurance                       :bills:

If I move the DONE item to the top of the list, 'C-c v' correctly shows:

*PROJECTS
** TODO Take out garbage                        :home:
** TODO Do the laundry                          :home:

A similar phenomenon occurs when I search for the tag (C-c \) 'home'. When I
query the original file, the output includes the 'bills' tag like this:

*PROJECTS
** TODO Take out garbage                        :home:
** TODO Do the laundry                          :home:
** DONE Pay car insurance                       :bills:

Similarly, if I move the headline tagged with 'bills' to the top, the search
outputs the right thing:
*PROJECTS
** TODO Take out garbage                        :home:
** TODO Do the laundry                          :home:

This is a toy example I made up, but it does the same thing on 'production' file
that I use daily.

Any thoughts?

Thanks...
Deech



_______________________________________________
Emacs-orgmode mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477





reply via email to

[Prev in Thread] Current Thread [Next in Thread]