* Org Mode Searching Bug?
@ 2007-01-12 17:43 Deech
2007-01-14 15:27 ` Bastien
2007-01-15 16:23 ` Carsten Dominik
0 siblings, 2 replies; 4+ messages in thread
From: Deech @ 2007-01-12 17:43 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Org Mode Searching Bug?
2007-01-12 17:43 Org Mode Searching Bug? Deech
@ 2007-01-14 15:27 ` Bastien
2007-01-15 16:23 ` Carsten Dominik
1 sibling, 0 replies; 4+ messages in thread
From: Bastien @ 2007-01-14 15:27 UTC (permalink / raw)
To: emacs-orgmode
Deech <aditya_siram@hotmail.com> writes:
> 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
I found out i had the same problem (only tested for tags-sparse-tree).
org-tags-sparse-tree also matches the *next* headline, even if it is
not containing the specified tag. For example, org-tags-sparse-tree
on the :tag1: tag would also match the *first* :tag2: headline:
* one headline :tag1: <- displayed (correct)
* one headline :tag1: <- displayed (correct)
* one headline :tag2: <- displayed (wrong)
* one headline :tag2: <- not displayed (correct)
I tried to digg org-scan-tags further but got stuck at some point.
Hope this helps.
--
Bastien
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Org Mode Searching Bug?
2007-01-12 17:43 Org Mode Searching Bug? Deech
2007-01-14 15:27 ` Bastien
@ 2007-01-15 16:23 ` Carsten Dominik
2007-01-15 17:08 ` Aditya Siram
1 sibling, 1 reply; 4+ messages in thread
From: Carsten Dominik @ 2007-01-15 16:23 UTC (permalink / raw)
To: Deech; +Cc: emacs-orgmode
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
> Emacs-orgmode@gnu.org
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Org Mode Searching Bug?
2007-01-15 16:23 ` Carsten Dominik
@ 2007-01-15 17:08 ` Aditya Siram
0 siblings, 0 replies; 4+ messages in thread
From: Aditya Siram @ 2007-01-15 17:08 UTC (permalink / raw)
To: carsten.dominik; +Cc: emacs-orgmode
Thanks, this is exactly what I wanted.
Deech
>From: Carsten Dominik <carsten.dominik@gmail.com>
>To: Deech <aditya_siram@hotmail.com>
>CC: emacs-orgmode@gnu.org
>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
>>Emacs-orgmode@gnu.org
>>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
>
_________________________________________________________________
Your Hotmail address already works to sign into Windows Live Messenger! Get
it now
http://clk.atdmt.com/MSN/go/msnnkwme0020000001msn/direct/01/?href=http://get.live.com/messenger/overview
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-15 17:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-12 17:43 Org Mode Searching Bug? Deech
2007-01-14 15:27 ` Bastien
2007-01-15 16:23 ` Carsten Dominik
2007-01-15 17:08 ` Aditya Siram
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.