From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Dunsmore Subject: Re: Remove current heading from refile targets? Date: Tue, 19 Jul 2011 09:31:24 -0500 Message-ID: <878vrue403.fsf@riotblast.dunsmor.com> References: <878vrwk8pk.fsf@riotblast.dunsmor.com> <87livvxq3x.fsf@gnu.org> <87r55ndy2w.fsf@riotblast.dunsmor.com> <871uxnxkz9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39112) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjBKd-0002sV-VA for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 10:31:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjBKZ-0004zE-8e for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 10:31:31 -0400 Received: from deathroller.dunsmor.com ([98.129.169.48]:58370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjBKY-0004z4-Lx for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 10:31:26 -0400 In-Reply-To: <871uxnxkz9.fsf@gnu.org> (Bastien's message of "Tue, 19 Jul 2011 00:49:46 +0200") 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: Bastien Cc: Org-mode mailing list Bastien writes: > Jason Dunsmore writes: > >> Hm, I don't see any change with or without org-completion-use-ido set. >> The current heading still shows up in the refile targets. > > Weird. I double-check and have the current heading filtered out of the > refile targets. Can you check again and/or send a small test file? It looks like it removes top-level headings from the refile targets, but nothing below that. For example, in the org file below, place the cursor on Subheading1 and type "M-x org-refile". The current heading will be in the list of refile targets. --8<---------------cut here---------------start------------->8--- * Heading1 ** Subheading1 * Heading2 --8<---------------cut here---------------end--------------->8---