On 2005-05-25, Tuomo Valkonen <[EMAIL PROTECTED]> wrote:
> but I recently started working
> on C-side support for auto-show-completions. It's mostly working
> (completions automatically shown as the text is modified, tab cycles through
> completions), but the last few days I've been busy with looking for a flat
> in another town (and will likely be for some time with that and related
> matters) and haven't yet decided how directories and full command lines
> should be handled. Currently options for file completion are:
>
>  1. Require manual Control+Tab (for example) to show completions within a
>     directory after a directory was selected from list of completions.
>  2. Do not complete trailing slash for directories, and require it to be
>     typed.
>
> I also haven't decided how command line completion cycling should be
> handled. (Everything I know that has auto-show-completions or
> auto-completion only works on simple lists of possible completions.) Any
> input on these is welcome. An experimental patch can be found at
><http://iki.fi/tuomov/auto-show-completions.darcs>. I do not like
> auto-completion as defined above, btw.


There's now slightly improved auto-show-completions code in the Ion3
darcs repository <http://iki.fi/tuomov/repos/>. The behaviour by
default is that in auto-show-completions mode (which is now the default)

        Tab forward-cycles through completions 
        Shift+Tab backward-cycles through completions
        Control+Tab forces new completion evaluation

In normal completion mode both Tab and Control+Tab complete as before, and
Shift+Tab can also be used fo backward-cycle. (There's also
WEdln.next_completion that could in be bound somewhere, but isn't by
default.)

Completion behaviour mode to use controlled by mod_query.set:

mod_query.set{
        -- auto-show-completions mode
        autoshowcompl = true,
        -- 250ms delay before calling completor after latest
        -- keypress/modification
        autoshowcompl_delay = 250,
}

-- 
Tuomo

Reply via email to