From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Wrong results in agenda text search Date: Wed, 15 Oct 2014 20:02:41 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XebKu-0004hR-Tl for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 23:02:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XebKt-00029l-PD for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 23:02:44 -0400 Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:34879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XebKt-000254-IJ for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 23:02:43 -0400 Received: by mail-la0-f51.google.com with SMTP id ge10so2124882lab.38 for ; Wed, 15 Oct 2014 20:02:41 -0700 (PDT) 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 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.