emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-outline-completion-in-steps
@ 2011-10-07  9:06 Le Wang
  2011-10-07  9:15 ` org-outline-completion-in-steps Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Le Wang @ 2011-10-07  9:06 UTC (permalink / raw)
  To: Orgmode Mailing List

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

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.

-- 
Le

[-- Attachment #2: Type: text/html, Size: 1078 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-outline-completion-in-steps
  2011-10-07  9:06 org-outline-completion-in-steps Le Wang
@ 2011-10-07  9:15 ` Carsten Dominik
  2011-10-07  9:25   ` org-outline-completion-in-steps Le Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2011-10-07  9:15 UTC (permalink / raw)
  To: Le Wang; +Cc: Orgmode Mailing List


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-outline-completion-in-steps
  2011-10-07  9:15 ` org-outline-completion-in-steps Carsten Dominik
@ 2011-10-07  9:25   ` Le Wang
  2011-10-07  9:49     ` org-outline-completion-in-steps Carsten Dominik
  0 siblings, 1 reply; 5+ messages in thread
From: Le Wang @ 2011-10-07  9:25 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Orgmode Mailing List

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

On Fri, Oct 7, 2011 at 5:15 PM, Carsten Dominik
<carsten.dominik@gmail.com>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

[-- Attachment #2: Type: text/html, Size: 1115 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-outline-completion-in-steps
  2011-10-07  9:25   ` org-outline-completion-in-steps Le Wang
@ 2011-10-07  9:49     ` Carsten Dominik
  2011-10-07 17:20       ` org-outline-completion-in-steps Le Wang
  0 siblings, 1 reply; 5+ messages in thread
From: Carsten Dominik @ 2011-10-07  9:49 UTC (permalink / raw)
  To: Le Wang; +Cc: Orgmode Mailing List


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

> On Fri, Oct 7, 2011 at 5:15 PM, Carsten Dominik <carsten.dominik@gmail.com> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: org-outline-completion-in-steps
  2011-10-07  9:49     ` org-outline-completion-in-steps Carsten Dominik
@ 2011-10-07 17:20       ` Le Wang
  0 siblings, 0 replies; 5+ messages in thread
From: Le Wang @ 2011-10-07 17:20 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: Orgmode Mailing List

[-- Attachment #1: Type: text/plain, Size: 290 bytes --]

On Fri, Oct 7, 2011 at 5:49 PM, Carsten Dominik
<carsten.dominik@gmail.com>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

[-- Attachment #2: Type: text/html, Size: 634 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-10-07 17:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-07  9:06 org-outline-completion-in-steps Le Wang
2011-10-07  9:15 ` org-outline-completion-in-steps Carsten Dominik
2011-10-07  9:25   ` org-outline-completion-in-steps Le Wang
2011-10-07  9:49     ` org-outline-completion-in-steps Carsten Dominik
2011-10-07 17:20       ` org-outline-completion-in-steps Le Wang

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).