emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Wrong results in agenda text search
@ 2014-10-16  3:02 Samuel Wales
  2014-10-16  3:35 ` Eric Abrahamsen
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Wales @ 2014-10-16  3:02 UTC (permalink / raw)
  To: emacs-orgmode

I ran an agenda text search and was puzzled that there were
no results for a particular term.  I even copied it from the
headline to make sure it was the same word.  I checked
org-agenda-files.

Other text searches were OK.

===

Take a second to guess what could cause this.  :)

Be sure to include the second part.  :)

===

As you guessed, :) the previous day, I had run a
subtree-restricted search.  Restrictions stay in place.

There was no indication of this.

It also turns out that the files that showed up are in
org-agenda-text-search-extra-files.

===

My suggestion is to have an indication that a restriction is
in place, and to make org-agenda-text-search-extra-files
results also be restricted.

Thanks.

Samuel

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

The disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.

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

* Re: Wrong results in agenda text search
  2014-10-16  3:02 Wrong results in agenda text search Samuel Wales
@ 2014-10-16  3:35 ` Eric Abrahamsen
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Abrahamsen @ 2014-10-16  3:35 UTC (permalink / raw)
  To: emacs-orgmode

Samuel Wales <samologist@gmail.com> writes:

> I ran an agenda text search and was puzzled that there were
> no results for a particular term.  I even copied it from the
> headline to make sure it was the same word.  I checked
> org-agenda-files.
>
> Other text searches were OK.
>
> ===
>
> Take a second to guess what could cause this.  :)
>
> Be sure to include the second part.  :)
>
> ===
>
> As you guessed, :) the previous day, I had run a
> subtree-restricted search.  Restrictions stay in place.
>
> There was no indication of this.

I've also had text searches that mysterious didn't find text I knew
existed, I'll bet this was why. I think restrictions need to be reset
for each new search!

Thanks for figuring this out...

> It also turns out that the files that showed up are in
> org-agenda-text-search-extra-files.
>
> ===
>
> My suggestion is to have an indication that a restriction is
> in place, and to make org-agenda-text-search-extra-files
> results also be restricted.
>
> Thanks.
>
> Samuel

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

end of thread, other threads:[~2014-10-16  3:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-16  3:02 Wrong results in agenda text search Samuel Wales
2014-10-16  3:35 ` Eric Abrahamsen

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