emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Refile to a different Org file?


From: Matt Lundin
Subject: [Orgmode] Re: Refile to a different Org file?
Date: Mon, 06 Dec 2010 07:45:56 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

Hi Raymond,

"Raymond Zeitler" <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]