From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Refile as top-level headlines? Date: Wed, 14 Jan 2009 09:49:04 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LN7zR-0000Nk-NU for emacs-orgmode@gnu.org; Wed, 14 Jan 2009 10:49:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LN7zQ-0000LA-I2 for emacs-orgmode@gnu.org; Wed, 14 Jan 2009 10:49:08 -0500 Received: from [199.232.76.173] (port=40657 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LN7zP-0000Ke-UL for emacs-orgmode@gnu.org; Wed, 14 Jan 2009 10:49:07 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:54974) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LN7zP-0006f0-Fy for emacs-orgmode@gnu.org; Wed, 14 Jan 2009 10:49:07 -0500 Received: from Macintosh-5.local (pool-96-248-128-134.sbndin.dsl-w.verizon.net [96.248.128.134]) by mail.messagingengine.com (Postfix) with ESMTPSA id 2676C30E83 for ; Wed, 14 Jan 2009 10:49:06 -0500 (EST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi everyone, I have a lot of org-files and use org-refile all the time as part of my normal workflow. My basic approach is to remember things to an inbox.org file and then to process the inbox GTD-style. One thing I'm having a hard time figuring out is how to refile headers as top level headlines in a target file. I've customized org-refile with the following settings: ,---- | (setq org-refile-use-outline-path 'file) | (setq org-refile-targets '((org-agenda-files :maxlevel . 1) | (nil :maxlevel . 3))) `---- (Note: the second setting in org-refile-targets gives me additional, deeper targets in whatever file I'm visiting.) What I'd like to see is for maxlevel to include the possibility of filing an item as a top-level headline (at the bottom of the file). This would make it easier to create new top-level projects directly from my inbox. Otherwise, if the item I'm refiling doesn't naturally fit under any of the existing top level headlines in the target file, I have to (1) copy it by hand or (2) create a inbox heading in the target file, which I then have to empty again as part of a separate process (tedious with many org files). Perhaps this desired behavior is already possible. Any advice would be greatly appreciated. Thanks, Matt