emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kyle Meyer <kyle@kyleam.com>
To: Jay Dixit <dixit@aya.yale.edu>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: using org-refile to sort research notes?
Date: Tue, 06 May 2014 19:05:47 -0400	[thread overview]
Message-ID: <87zjiupkxg.fsf@kyleam.com> (raw)
In-Reply-To: <CAGE7GqBgiXjy1hSNGoKmj2eXaYwU_UDjPrDC=DO8r7jO5dY_dQ@mail.gmail.com> (Jay Dixit's message of "Sun, 27 Apr 2014 18:25:24 -0400")

Hi Jay,

Jay Dixit <dixit@aya.yale.edu> 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

  parent reply	other threads:[~2014-05-06 23:05 UTC|newest]

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

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=87zjiupkxg.fsf@kyleam.com \
    --to=kyle@kyleam.com \
    --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).