unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 'Lennart Borgman' <lennart.borgman@gmail.com>, emacs-devel@gnu.org
Subject: Re: Backward completions
Date: Fri, 20 Nov 2009 11:27:47 +0200	[thread overview]
Message-ID: <87skc9bt84.fsf@mail.jurta.org> (raw)
In-Reply-To: <2C9382D7ABB64FD3890CF3482EFA3253@us.oracle.com> (Drew Adams's message of "Thu, 19 Nov 2009 10:24:46 -0800")

>> >>>> 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	other threads:[~2009-11-20  9:27 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-11 19:45 completions - remove window after use? David Reitter
2009-11-11 20:28 ` Stefan Monnier
2009-11-11 21:26   ` Štěpán Němec
2009-11-11 23:21     ` Stefan Monnier
2009-11-12  9:57       ` Vertical completions (was: completions - remove window after use?) Juri Linkov
2009-11-12 10:09         ` Deniz Dogan
2009-11-17 17:45           ` Vertical completions Juri Linkov
2009-11-18  8:11             ` martin rudalics
2009-11-18  9:59               ` Juri Linkov
2009-11-18  9:47             ` Backward completions (was: Vertical completions) Juri Linkov
2009-11-18 15:06               ` Drew Adams
2009-11-18 15:47                 ` Lennart Borgman
2009-11-18 19:02                   ` Backward completions Juri Linkov
2009-11-18 19:36                     ` Lennart Borgman
2009-11-19 17:36                       ` Juri Linkov
2009-11-19 17:58                         ` Lennart Borgman
2009-11-19 18:24                         ` Drew Adams
2009-11-20  9:27                           ` Juri Linkov [this message]
2009-11-20 17:29                           ` Juri Linkov
2009-11-20 17:49                             ` Lennart Borgman
2009-11-20 21:26                             ` Drew Adams
2009-11-18 15:45               ` Stefan Monnier
2009-11-18 19:01                 ` Juri Linkov
2009-11-18 19:50               ` Backward completions (was: Vertical completions) Dan Nicolaescu
2009-11-19 17:32                 ` Backward completions Juri Linkov
2009-11-19 18:29                   ` Dan Nicolaescu
2009-11-19 18:36                     ` Drew Adams
2009-11-19 19:26                       ` Dan Nicolaescu
2009-11-19 19:30                         ` Drew Adams
2009-11-18  9:52             ` switch-to-completions (was: Vertical completions) Juri Linkov
2009-11-18 15:48               ` switch-to-completions Stefan Monnier
2009-11-18 19:04                 ` switch-to-completions Juri Linkov
2009-11-19  1:12                   ` switch-to-completions Stefan Monnier
2009-11-12 10:29         ` Vertical completions (was: completions - remove window after use?) Štěpán Němec
2009-11-12 19:26         ` Eli Zaretskii
2009-11-12 22:00           ` Lennart Borgman
2009-11-12 13:30       ` completions - remove window after use? Lluís
2009-11-12 14:40         ` David Reitter
2009-11-12 15:15         ` Stefan Monnier
2009-11-14  0:30           ` Richard Stallman
2009-11-12  3:00 ` Xavier Maillard
2009-11-12  8:19 ` martin rudalics
2009-11-12 22:36   ` Xavier Maillard

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87skc9bt84.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman@gmail.com \
    /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.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).