From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Wrong results in agenda text search Date: Thu, 16 Oct 2014 11:35:56 +0800 Message-ID: <87y4sgwusj.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xebmd-0007iX-7p for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 23:31:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XebmV-0004q1-N0 for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 23:31:23 -0400 Received: from plane.gmane.org ([80.91.229.3]:40051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XebmV-0004pr-GX for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 23:31:15 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XebmR-0002IO-8v for emacs-orgmode@gnu.org; Thu, 16 Oct 2014 05:31:11 +0200 Received: from 114.248.10.109 ([114.248.10.109]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Oct 2014 05:31:11 +0200 Received: from eric by 114.248.10.109 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 16 Oct 2014 05:31:11 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Samuel Wales 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