From: Bastien <bzg@altern.org>
To: Jason Dunsmore <emacs-orgmode@dunsmor.com>
Cc: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Remove current heading from refile targets?
Date: Mon, 18 Jul 2011 22:58:58 +0200 [thread overview]
Message-ID: <87livvxq3x.fsf@gnu.org> (raw)
In-Reply-To: <878vrwk8pk.fsf@riotblast.dunsmor.com> (Jason Dunsmore's message of "Sun, 17 Jul 2011 14:28:39 -0500")
Hi Jason,
Jason Dunsmore <emacs-orgmode@dunsmor.com> writes:
> 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?
Indeed.
I've just pushed a fix for this.
> I have org-completion-use-ido set to `t', so I'm using the ido
> interface to refile.
I don't use `org-completion-use-ido' so I cannot test, but it should
work okay -- please let me know if there is any problem.
Thanks,
--
Bastien
next prev parent reply other threads:[~2011-07-18 20:58 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-17 19:28 Remove current heading from refile targets? Jason Dunsmore
2011-07-18 20:58 ` Bastien [this message]
2011-07-18 22:27 ` Jason Dunsmore
2011-07-18 22:49 ` Bastien
2011-07-19 14:31 ` Jason Dunsmore
2011-07-21 13:06 ` Bastien
2011-07-21 14:15 ` Jason Dunsmore
2011-07-21 14:52 ` Bastien
2011-07-21 15:03 ` Jason Dunsmore
2011-07-22 9:22 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87livvxq3x.fsf@gnu.org \
--to=bzg@altern.org \
--cc=emacs-orgmode@dunsmor.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).