From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Dunsmore Subject: Remove current heading from refile targets? Date: Sun, 17 Jul 2011 14:28:39 -0500 Message-ID: <878vrwk8pk.fsf@riotblast.dunsmor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiX1A-0007wE-7r for emacs-orgmode@gnu.org; Sun, 17 Jul 2011 15:28:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QiX18-0001Dz-B4 for emacs-orgmode@gnu.org; Sun, 17 Jul 2011 15:28:43 -0400 Received: from deathroller.dunsmor.com ([98.129.169.48]:42687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QiX18-0001Ds-1C for emacs-orgmode@gnu.org; Sun, 17 Jul 2011 15:28:42 -0400 Received: from riotblast.dunsmor.com (65-36-72-143.dyn.grandenetworks.net [65.36.72.143]) by deathroller.dunsmor.com (Postfix) with ESMTP id 05D1F8C66C for ; Sun, 17 Jul 2011 14:24:46 -0500 (CDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org-mode mailing list I noticed that when I go to refile a heading, the heading that I'm refiling is listed in the refile targets. If I choose to refile the heading to itself, the following error is displayed: org-refile: Cannot refile to position inside the tree or region When I'm choosing a refile target, the current heading gets in the way. Would it make sense to remove the current heading from the refile targets? I have org-completion-use-ido set to `t', so I'm using the ido interface to refile. Regards, Jason