all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ergus <spacibba@aol.com>
To: Juri Linkov <juri@linkov.net>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>
Subject: Re: vertical fido-mode
Date: Thu, 20 Aug 2020 12:37:46 +0200	[thread overview]
Message-ID: <20200820103746.6n5op7dtz563k7qm@Ergus> (raw)
In-Reply-To: <87pn7mdqbe.fsf@mail.linkov.net>

On Thu, Aug 20, 2020 at 03:35:57AM +0300, Juri Linkov wrote:
>
>But zsh doesn't jump to completions - the cursor remains on the command line
>(the minibuffer in Emacs).  Something like this would be more preferable
>where navigation keys will insert completions from the *Completions* buffer
>to the minibuffer - without leaving the minibuffer.

Hi Jury:

This is why I said zsh-like. The problem with this is that in
*Completions* some letters like q or z are bind to something and
changing that will modify too much the actual user experience.

While in the minibuffer the horizontal arrows are used to
move-forward/backward and the vertical to search in history.

Do you have any alternative?

OTOH this is the simplest I could implement making minimal changes with
the hope of making some of this enabled by default in the "near" future
without too many old users complains.

Otherwise we will implement just-another new mode that will be off by
default and probably nobody will use as there is ido/fido/icomplete/ivy
and so on.

So far there are some details in the actual user experience with
*Completes* I didn't change intentionally.

1) Completions are only shown on demand (TAB)

2) When completions are shown TAB tries to scroll the completions buffer
if not all of them are visible (actual behavior)

3) The completions are updated on demand (TAB) only (unlike zsh that they are
updated automatically on input)

4) Arrows and navigation keys keep their current meaning either in
minibuffer and *Completions* buffer.

So far this doesn't changes the current experience at all, so old users
won't complain and we could enable this by default.

The only addition was the jump to completions with a TAB when all
completions are shown.

And exit completions with C-g like in zsh.

Do you think it worth doing a stronger change?




  reply	other threads:[~2020-08-20 10:37 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1704199899.1577092.1591806438580.ref@mail.yahoo.com>
2020-06-10 16:27 ` vertical fido-mode Ergus
2020-06-10 16:53   ` Stefan Monnier
2020-06-10 19:01     ` Dmitry Gutov
2020-06-10 19:45       ` Basil L. Contovounesios
2020-06-10 21:54       ` Ergus
2020-06-10 22:00         ` Dmitry Gutov
2020-06-10 23:08           ` Juri Linkov
2020-06-10 23:23             ` Dmitry Gutov
2020-06-11 13:22               ` Ergus
2020-06-11 13:28                 ` Noam Postavsky
2020-06-11 13:40                   ` Ergus
2020-06-11 15:49                     ` Protesilaos Stavrou
2020-06-11 15:52                       ` Omar Antolín Camarena
2020-06-11 17:37                       ` Basil L. Contovounesios
2020-06-17 21:50                 ` Juri Linkov
2020-06-17 21:57                   ` Dmitry Gutov
2020-06-17 22:17                     ` João Távora
2020-06-17 22:31                       ` Drew Adams
2020-06-17 22:40                         ` João Távora
2020-06-17 22:56                           ` Drew Adams
2020-06-17 22:52                         ` Juri Linkov
2020-06-17 23:20                           ` Drew Adams
2020-06-17 22:22                     ` Juri Linkov
2020-06-17 22:52                       ` Dmitry Gutov
2020-06-17 22:57                         ` Dmitry Gutov
2020-06-17 22:58                           ` Drew Adams
2020-06-17 23:15                         ` Drew Adams
2020-06-18 21:54                         ` Juri Linkov
2020-06-18 22:41                           ` João Távora
2020-06-18 22:51                             ` Juri Linkov
2020-06-19  8:53                               ` João Távora
2020-06-18  8:22                     ` Kévin Le Gouguec
2020-06-18 10:19                       ` Ergus
2020-06-11 13:10             ` Ergus
2020-08-19 12:17             ` Ergus via Emacs development discussions.
2020-08-20  0:35               ` Juri Linkov
2020-08-20 10:37                 ` Ergus [this message]
2020-08-20 23:15                   ` Juri Linkov
2020-08-21  0:05                     ` Ergus
2020-08-23 18:45                       ` Juri Linkov
2020-08-24 19:06                         ` vertical fido-mode (new branch) Ergus via Emacs development discussions.
2020-08-25 18:55                           ` Juri Linkov
2020-08-25 23:11                             ` Ergus
2020-08-25 23:42                               ` Stefan Monnier
2020-08-26  4:34                                 ` Ergus
2020-08-26 13:30                                   ` Stefan Monnier
2020-08-28 10:09                             ` Ergus
2020-06-10 19:45     ` vertical fido-mode Basil L. Contovounesios
2020-06-11  0:55 Omar Antolín Camarena
2020-06-11 13:03 ` Ergus
2020-06-11 13:44   ` Omar Antolín Camarena
2020-06-11 14:07     ` Ergus
2020-06-11 17:29       ` Basil L. Contovounesios
2020-06-18 13:51     ` Stefan Monnier
2020-06-29 14:44       ` Ergus
     [not found] <mailman.50.1591891219.14559.emacs-devel@gnu.org>
2020-06-11 17:06 ` Andrew Schwartzmeyer

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

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

  git send-email \
    --in-reply-to=20200820103746.6n5op7dtz563k7qm@Ergus \
    --to=spacibba@aol.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.