emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Backward completions


From: Juri Linkov
Subject: Re: Backward completions
Date: Fri, 20 Nov 2009 11:27:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (x86_64-pc-linux-gnu)

>> >>>> FWIW, C-v and M-v make more sense (yes, in the minibuffer too)
>> >>>> for scrolling completions than do TAB and <backtab>.
>> >>>
>> >>> Page Up/Down?
>> >>
>> >> <PgUp> and M-v are bound to `switch-to-completions', so
>> >> they can't be used for scrolling.
>> >
>> > But normal scrolling keys would be more convenient for scrolling,
>> > wouldn't they?
>>
>> Then you have to find a convenient key for switching to the
>> *Completions* buffer (instead of <PgUp> and M-v).
>
> FWIW, Icicles uses `C-insert' to switch back and forth between
> *Completions* and the minibuffer. (Yes, that key sequence is not
> necessarily available on a console.) "Insert" is relevant here
> (Icicles) because moving to the minibuffer inserts the completion at
> point from *Completions*.

There is a lack of the necessary command.  There is a command to accept
the completion in the *Completions* buffer (`choose-completion', `RET'),
but no command to insert the completion to the minibuffer without
accepting it.

> One possibility might be to make `C-x o' move to *Completions*.
> It currently does not do that directly, but you can usually get to
> *Completions* by repeating `C-x o'.

This is another problem.  Sometimes `C-x o' doesn't move directly to
*Completions*.  And sometimes `M-prior' in the minibuffer scrolls
the wrong buffer instead of *Completions*.  I suppose this depends
on the window order.

> In general, it makes sense to use a key for this that is typically
> associated with switching windows or buffers (e.g. `C-x o'), not a key that
> is typically associated with scrolling (e.g. `M-v' or `prior' aka `PgUp').
>
> And it makes sense to use normal scrolling keys (`C-v', `M-v') to scroll
> *Completions*.

I agree, but first we have to find a key replacement for `M-v'
to switch to *Completions*.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]