From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: using org-refile to sort research notes? Date: Tue, 06 May 2014 19:05:47 -0400 Message-ID: <87zjiupkxg.fsf@kyleam.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhoQt-00078E-Ck for emacs-orgmode@gnu.org; Tue, 06 May 2014 19:05:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhoQo-0004Xu-Q5 for emacs-orgmode@gnu.org; Tue, 06 May 2014 19:05:55 -0400 Received: from mail-qc0-f172.google.com ([209.85.216.172]:41382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhoQo-0004Xj-M6 for emacs-orgmode@gnu.org; Tue, 06 May 2014 19:05:50 -0400 Received: by mail-qc0-f172.google.com with SMTP id l6so221091qcy.3 for ; Tue, 06 May 2014 16:05:49 -0700 (PDT) In-Reply-To: (Jay Dixit's message of "Sun, 27 Apr 2014 18:25:24 -0400") 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: Jay Dixit Cc: org-mode Hi Jay, Jay Dixit wrote: [...] > 2. What's the best way to do this? Should I add all of my chapter.org files > to the agenda using org-agenda-file-to-front? I ask because these are not > TODO headings, just headings with notes and quotes, so I'm not sure if > using org-agenda functionality is appropriate. > 3. I am also learning to use org-agenda, so I do have a work.org file that > has my TODO tasks in it. Is there a way to temporarily remove my > work.orgTODO headings from the refile targets for when I'm sorting my > book notes? Here are a couple other approaches you can consider. As mentioned in other responses, the best way depends on your preference for structuring your Org files. I prefer to keep project-specific files separate from my general agenda files. If I capture something in my agenda files that I want to refile to a non-agenda file, I use a few functions [1] for temporarily setting `org-refile-targets'. If you are repeatedly refiling to certain targets (but still want to keep them separate from you're global refiling targets), you can define a function that overrides `org-refile-targets' and then bind it to a key. Another solution, if you are only refiling between files within your book chapter directory, is to use a .dir-locals.el file in your book directory and set `org-refile-targets' there. ((org-mode . ((org-refile-targets . (... project settings ...))))) [1] https://github.com/kyleam/emacs.d/blob/b15ba9f8250c433b621da023f7607cbf29c25581/lisp/init-org.el#L221-L254 -- Kyle