From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Searching linked files Date: Wed, 20 Jun 2012 13:24:37 -0300 Message-ID: <4fe1f948.a274ec0a.047f.2d1e@mx.google.com> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShNi2-0000MT-7d for emacs-orgmode@gnu.org; Wed, 20 Jun 2012 12:24:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ShNi0-0007UV-8r for emacs-orgmode@gnu.org; Wed, 20 Jun 2012 12:24:45 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:41922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ShNi0-0007UM-2F for emacs-orgmode@gnu.org; Wed, 20 Jun 2012 12:24:44 -0400 Received: by yhr47 with SMTP id 47so6842412yhr.0 for ; Wed, 20 Jun 2012 09:24:41 -0700 (PDT) In-Reply-To: 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: Marvin Doyley Cc: emacs-orgmode@gnu.org See the variable org-agenda-text-search-extra-files. It seems to be exactly what you want. -- Darlan Cavalcante At Wed, 20 Jun 2012 09:16:49 -0400, Marvin Doyley wrote: > > Hi there, > > Does anybody now how to search the content of a linked file ? I have a > master file that is included in org-agenda file list. This file contains > links to other research project related org files. Unfortunately, is seems > that only way to search the content of the link file is to include it in > the agenda file list, ideally I prefer not to do this. > > To illustrate the problem, lets say I have a file myfile.org, which is > included in the list of org agenda files. > > myfile.org contains the following > > * Apples > * Pears > * [[file:~/test.org][Farmers]] > > Similarly, test.org contains > > * Jack > - Cheapest supplier of Apples > - Deliver > * Joe > - Pear supplies and other vegetables > * Bill > - Potential supplier > > > Lets say I want to do a keyword search for vegetables, I would hit C-a s. > The problem is that unless I include test.org in the agenda file list, it > doesn't work. > > > I appreciate any help or suggestion. > > Cheers > M