unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Carlos Pita <carlosjosepita@gmail.com>
To: 51650@debbugs.gnu.org
Subject: bug#51650: Autocomplete: first Tab should show *Completions* buffer
Date: Sun, 7 Nov 2021 01:27:44 -0300	[thread overview]
Message-ID: <CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@mail.gmail.com> (raw)

Hi all,

I might be wrong here, but I believe find-file and friends work in a
way that is a bit inconvenient as well as a bit inconsistent.

For example:

1. I press C-x C-f and get "Find file: ~/"
2. I press Tab once and get the message "Complete, but not unique"
3. I press Tab again and the *Completions* buffer appears with
candidate completions.
4. I type "Desk" and press Tab.
5. Now I'm at ~/Desktop/ and press Tab again.
6. I get the message "Complete, but not unique" but at the same time
the *Completions* buffer is displayed.

Now, this is inconvenient since the first time I have to type Tab twice
in order to get the *Completions* buffer (or ?, which is not very
handy in most keyboards). AFAICS the first Tab does nothing at all
except in the rare situation when there is a single completion, in
other cases the inference that the user could use some help seems not
too far-fetched to me.

And this also might be seen as inconsistent in that the second time
the same Tab shows both the "not unique" message and the help buffer,
which is IMO a more sensible behavior.

I think that Tab in step 2 should show the message and the list of
possible completions at the same time.

What do you think?

Best regards,
Carlos





             reply	other threads:[~2021-11-07  4:27 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07  4:27 Carlos Pita [this message]
2021-11-07  5:09 ` bug#51650: Autocomplete: first Tab should show *Completions* buffer Carlos Pita
2021-11-07  7:29   ` Eli Zaretskii
2021-11-07  8:16     ` Carlos Pita
2021-11-07  8:24       ` Eli Zaretskii
2021-11-07  8:39         ` Carlos Pita
2021-11-07 10:28           ` Eli Zaretskii
2021-11-07 18:40             ` Carlos Pita
2021-11-07 19:00               ` Eli Zaretskii
2021-11-07 19:34                 ` Carlos Pita
2021-11-07 19:55                   ` Eli Zaretskii
2021-11-07 20:27                     ` Carlos Pita
2021-11-07 20:38                       ` Eli Zaretskii
2021-11-07 21:21                         ` Lars Ingebrigtsen
2021-11-07 21:24                         ` Carlos Pita
2021-11-07 22:33                           ` Stephen Berman
2021-11-07  7:28 ` Eli Zaretskii

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='CAELgYhfXD-0kNGroaHRHd1gwMBPg=wwahnu8dSTZCbf57AucyA@mail.gmail.com' \
    --to=carlosjosepita@gmail.com \
    --cc=51650@debbugs.gnu.org \
    /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).