emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Wanrong Lin <wanrong.lin@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-refile: only works on leaves?
Date: Fri, 21 Dec 2007 14:09:04 -0500	[thread overview]
Message-ID: <476C0F50.405@gmail.com> (raw)
In-Reply-To: <20A7DCD7-0A5B-4176-B906-64B338C31013@gmail.com>


What I meant was:

Suppose I have an org file like this:

* Level 1 heading
*** Level 2 heading

With my settings (setq org-refile-targets '((org-agenda-files . 
(:maxlevel . 2)))) , when I try to refile an item, I press the TAB key, 
the auto-completion buffer will display

Level 1 heading
Level 1 heading / Level 2 heading

If I want to put the refile item under "Level 1 heading", I can not 
select "Level 1 heading" ("Level 1 heading" will show in the 
mini-buffer, but pressing RET key does not do anything, meaning org 
thinks this is an invalid target location).

Let me know if this is still not clear. Thank you very much for taking a 
look of this.

Wanrong

Carsten Dominik wrote:
> Can you please make a more detailed test case and description?
> I have trouble to gras what exactly you mean.
>
> - Carsten
>
> On Dec 20, 2007, at 6:09 PM, Wanrong Lin wrote:
>
>> Hi,
>>
>> Another thing I found out when using org-refile is, it seems the 
>> filing target can only be the leaves of the outline tree. The 
>> non-leaf target locations will be displayed in the auto-completion 
>> buffer, but can not be selected.
>>
>> I have the following settings
>>
>> (setq org-refile-targets '((org-agenda-files . (:maxlevel . 2))))
>> (setq org-refile-use-outline-path t)
>>
>> I am using the latest version (5.17a).
>>
>> Is there any option that I can set to change this behavior? Thanks 
>> for help.
>>
>> And, MERRY CHRISTMAS to all orgers....
>>
>> Wanrong
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

  reply	other threads:[~2007-12-21 19:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-20 17:09 org-refile: only works on leaves? Wanrong Lin
2007-12-21 14:41 ` Carsten Dominik
2007-12-21 19:09   ` Wanrong Lin [this message]
2008-01-03 14:03     ` Carsten Dominik
2008-01-03 15:38       ` Wanrong Lin
2008-01-15 19:29       ` Wanrong Lin
2008-01-16  9:52         ` Carsten Dominik
2008-01-16 15:27           ` Wanrong Lin

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=476C0F50.405@gmail.com \
    --to=wanrong.lin@gmail.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).