emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Alfaro-Murillo, Jorge" <jorge.alfaro-murillo@yale.edu>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Cc: "dixit@aya.yale.edu" <dixit@aya.yale.edu>
Subject: Re: using org-refile to sort research notes?
Date: Wed, 7 May 2014 14:40:53 +0000	[thread overview]
Message-ID: <0BA04F0419B0014DA6D62DE68C7F32507A6D31@X10-MBX10.yu.yale.edu> (raw)

Hi Jay,

I keep all my notes out of the agenda, because it slows down building the agenda (at least with previous versions of org, it might have improved recently), 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 the org-refile-targets. If you keep all your notes in the directory ~/org/notes, 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.

             reply	other threads:[~2014-05-07 14:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-07 14:40 Alfaro-Murillo, Jorge [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-05-05  6:17 using org-refile to sort research notes? Jay Dixit
2014-05-05  9:40 ` Leonard Avery Randall
2014-04-27 22:25 Jay Dixit
2014-04-28  0:25 ` Alan L Tyree
2014-04-28  0:54 ` Richard Lawrence
2014-05-06 23:05 ` Kyle Meyer

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=0BA04F0419B0014DA6D62DE68C7F32507A6D31@X10-MBX10.yu.yale.edu \
    --to=jorge.alfaro-murillo@yale.edu \
    --cc=dixit@aya.yale.edu \
    --cc=emacs-orgmode@gnu.org \
    /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).