emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: r.zeitler@ieee.org
Cc: emacs-orgmode@gnu.org
Subject: Re: Refile to a different Org file?
Date: Mon, 06 Dec 2010 07:45:56 -0500	[thread overview]
Message-ID: <87wrnn2hob.fsf@fastmail.fm> (raw)
In-Reply-To: <JOEAKEOIFPEPKOEOJGCKKEHLDKAA.r.zeitler@ieee.org> (Raymond Zeitler's message of "Mon, 29 Nov 2010 13:49:54 -0500")

Hi Raymond,

"Raymond Zeitler" <r.zeitler@ieee.org> writes:

> Thank you Sebastien.  (Sorry about the Americanized spelling of your name.)
>
> I added (setq org-refile-use-outline-path 'file) and switched to a maxlevel
> of 2.  Now I have a working solution.  That was one "point" to my post.
>
> Org-agenda-refile still doesn't find the categories within other files.  And
> now completion is broken for categories even within the main todo file.  But
> this a viable alternative because:

>>  BTW, I use unique category names across all files using this
>> structure:
>>
>> * Tasks
>> #+CATEGORY: DM_Tasks

Could you clarify what you mean by categories in this context? Are you
expecting to find individual headlines such as "Tasks," or are you
looking for the category name ("DM_TASKS") in the prompt? AFAIK, the
latter is not possible.

(As an aside, the method of adding categories above has been deprecated.
Using the :CATEGORY: property is a safer method.)

For reference, here are my org-refile settings:

--8<---------------cut here---------------start------------->8---
(setq org-refile-allow-creating-parent-nodes 'confirm)
(setq org-outline-path-complete-in-steps t)
(setq org-completion-use-ido nil)
(setq org-refile-use-outline-path 'file)

(setq org-refile-targets '((org-agenda-files :maxlevel . 2)
			   (nil :maxlevel . 3)))
--8<---------------cut here---------------end--------------->8---

With these settings, org-refile allows completion of targets
sequentially: e.g., "file.org/" or "file.org/headling" or
"file.org/headling/subheading".

HTH,
Matt

  reply	other threads:[~2010-12-06 12:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201011251701.oAPH1gbM032630@hormel5.ieee.org>
2010-11-29 18:49 ` Refile to a different Org file? Raymond Zeitler
2010-12-06 12:45   ` Matt Lundin [this message]
2010-12-06 15:52     ` Raymond Zeitler
     [not found] <201011241714.oAOHE4bs026263@hormel5.ieee.org>
2010-11-24 21:26 ` Raymond Zeitler
2010-11-24 21:44   ` Sébastien Vauban

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=87wrnn2hob.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.zeitler@ieee.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).