From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Thanks Carsten!! Date: Mon, 10 Nov 2008 09:26:18 -0500 Message-ID: <874p2fr71x.fsf@gollum.intra.norang.ca> 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 1KzXim-0005aN-4r for emacs-orgmode@gnu.org; Mon, 10 Nov 2008 09:26:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KzXik-0005ZH-4X for emacs-orgmode@gnu.org; Mon, 10 Nov 2008 09:26:27 -0500 Received: from [199.232.76.173] (port=44233 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KzXik-0005ZC-0P for emacs-orgmode@gnu.org; Mon, 10 Nov 2008 09:26:26 -0500 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:54050) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KzXij-00057G-Mr for emacs-orgmode@gnu.org; Mon, 10 Nov 2008 09:26:25 -0500 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: Carsten Dominik Cc: emacs-orgmode@gnu.org Hi Carsten, You truly are awesome! :) This message started as a feature request. ------------------------------------------------------------------------ Subject: Feature Request - org refile targets adds the current file targets I was reviewing one of my archive files today which is not in my org-agenda-files and found I wanted to reorder a few archived tasks into different archive categories. org-refile (C-c C-w) does not offer the current file's targets as options for the refile. In this case I had * Research ** Some task ... * Miscellaneous ** Some Research Task and I wanted to refile the ** Some Research Task to the * Research heading but org-refile only offered Research headings from org files in my org-agenda-files list. Would it be possible to add the targets of the current file the task is in to the completion list? I ended up cutting and pasting the tasks in this case and ended up fixing some of the levels since they changed to level 1 tasks when I wasn't careful about where I pasted the content. ,----[ part of custom.el ] | (custom-set-variables | ... | '(org-refile-targets (quote ((org-agenda-files :level . 1)))) | ... | ) `---- Thanks, Bernt ------------------------------------------------------------------------ Then before sending it I took a few minutes to look up the org-refile-targets help (C-h v org-refile-targets) and what I want to do is already available. I changed my custom.el to ,----[ part of custom.el ] | (custom-set-variables | ... | '(org-refile-targets (quote ((org-agenda-files :level . 1) (nil :level . 1)))) | ... | ) `---- and it just works exactly how I want. Thanks for org-mode that continues to amaze me with its power and utility each and every day. Carsten, you get my maintainer-of-the-year and software-product-of-the-year award votes!! :) Best Regards, Bernt