emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Darlan Cavalcante Moreira <darcamo@gmail.com>
To: Marvin Doyley <marvinpas@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Searching linked files
Date: Wed, 20 Jun 2012 13:24:37 -0300	[thread overview]
Message-ID: <4fe1f948.a274ec0a.047f.2d1e@mx.google.com> (raw)
In-Reply-To: <CALQvLVrhNa0u7SR8LeuDiw7YrGEvtjFrfHaPSy+H9rdJuC5j=w@mail.gmail.com>


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 <marvinpas@gmail.com> 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

  reply	other threads:[~2012-06-20 16:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-20 13:16 Searching linked files Marvin Doyley
2012-06-20 16:24 ` Darlan Cavalcante Moreira [this message]
2012-06-20 17:45   ` Marvin Doyley
2012-06-20 18:51     ` suvayu ali
2012-06-20 20:58       ` Marvin Doyley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4fe1f948.a274ec0a.047f.2d1e@mx.google.com \
    --to=darcamo@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=marvinpas@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).