From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alfaro-Murillo, Jorge" Subject: Re: using org-refile to sort research notes? Date: Wed, 7 May 2014 14:40:53 +0000 Message-ID: <0BA04F0419B0014DA6D62DE68C7F32507A6D31@X10-MBX10.yu.yale.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi328-00030N-0x for emacs-orgmode@gnu.org; Wed, 07 May 2014 10:41:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wi31z-0007Nf-A1 for emacs-orgmode@gnu.org; Wed, 07 May 2014 10:41:19 -0400 Received: from vm-emlprdomg-06.its.yale.edu ([130.132.50.169]:48739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wi31z-0007NO-69 for emacs-orgmode@gnu.org; Wed, 07 May 2014 10:41:11 -0400 Content-Language: en-US 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" Cc: "dixit@aya.yale.edu" Hi Jay, I keep all my notes out of the agenda, because it slows down building the a= genda (at least with previous versions of org, it might have improved recen= tly), which I do quite often. Instead I keep all those notes files in the variable org-agenda-text-search= -extra-files, so that I am able to search on them and add them as well to t= he org-refile-targets. If you keep all your notes in the directory ~/org/no= tes, then set: #+BEGIN_SRC emacs-lisp (setq org-agenda-text-search-extra-files (cddr (directory-files "~/org/notes" t nil))) (setq org-refile-targets (list '(org-agenda-files . (:maxlevel . 1)) '(org-agenda-text-search-extra-files . (:maxlevel . 1)) '(nil . (:maxlevel . 5)))) #+END_SRC Best, Jorge.