Re: [O] org-outline-completion-in-steps

2011-10-07 Thread Carsten Dominik

On Oct 7, 2011, at 11:06 AM, Le Wang wrote:

> Hi all,
> 
> So I've started Emacs 23.3 with -q option, and I've got an org document open. 
>  How do I go about completing in steps?
> 
> org-outline-path-complete-in-steps is a variable defined in `org.el'.
> Its value is t
> 
> Documentation:
> Non-nil means, complete the outline path in hierarchical steps.
> When Org-mode uses the refile interface to select an outline path
> (see variable `org-refile-use-outline-path'), the completion of
> the path can be done is a single go, or if can be done in steps down
> the headline hierarchy.  Going in steps is probably the best if you
> do not use a special completion package like `ido' or `icicles'.
> However, when using these packages, going in one step can be very
> fast, while still showing the whole path to the entry.
> 
> You can customize this variable.
> 
> Maybe I'm missing something obvious, but it looks like I can only compete 
> against the top level, and when I press enter, it's selected.

To get deeper, you need to customize `org-refile-targets'.

- Carsten




Re: [O] org-outline-completion-in-steps

2011-10-07 Thread Le Wang
On Fri, Oct 7, 2011 at 5:15 PM, Carsten Dominik
wrote:

> To get deeper, you need to customize `org-refile-targets'.
>

What does "in-steps" mean here?  I thought that I'd have to complete top
level, then complete the next level, etc, etc.

I've evaled

(setq org-refile-targets '((nil :maxlevel . 3)))

Now the targets in the first 3 levels are available but all at once as bare
targets, is this expected?



> - Carsten
>
>


-- 
Le


Re: [O] org-outline-completion-in-steps

2011-10-07 Thread Carsten Dominik

On Oct 7, 2011, at 11:25 AM, Le Wang wrote:

> On Fri, Oct 7, 2011 at 5:15 PM, Carsten Dominik  
> wrote:
> To get deeper, you need to customize `org-refile-targets'.
> 
> What does "in-steps" mean here?  I thought that I'd have to complete top 
> level, then complete the next level, etc, etc.
> 
> I've evaled
> 
> (setq org-refile-targets '((nil :maxlevel . 3)))
> 
> Now the targets in the first 3 levels are available but all at once as bare 
> targets, is this expected?


Do you have (setq org-refile-use-outline-path t)

???

- Carsten


Re: [O] org-outline-completion-in-steps

2011-10-07 Thread Le Wang
On Fri, Oct 7, 2011 at 5:49 PM, Carsten Dominik
wrote:

> > (setq org-refile-targets '((nil :maxlevel . 3)))
>
> Do you have (setq org-refile-use-outline-path t)
>
> ???
>

No, I was starting from emacs -q.  I do now.  And it works as expected.

Thanks.


-- 
Le