unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org,  Juri Linkov <juri@linkov.net>
Subject: Re: master 15ac51e0fd: Merge branch 'feature/completions-customs'
Date: Wed, 23 Mar 2022 09:00:49 +0800	[thread overview]
Message-ID: <87tubpcwji.fsf@yahoo.com> (raw)
In-Reply-To: <87ils6m7oo.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 22 Mar 2022 14:35:19 +0100")

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Po Lu <luangruo@yahoo.com> writes:
>
>> IHMO this should be off by default.  It wastes a line of space in the
>> completions buffer for no real gain, and it's distracting.
>
> It used to be:
>
> ----
> Click on a completion to select it.
> In this buffer, type RET to select the completion near point.
>
> Possible completions are:
> ----
>
> And now it's:
>
> ----
> Click on a completion to select it.
> In this buffer, type RET to select the completion near point.
>
> 134 possible completions:
> ----
>
> So it doesn't waste any space, and it provides more information.

Hmm.  It's odd how I never noticed the first.

> I'd rather do something about the first three lines, though.  Either
> remove them completely (it's pretty self-evident that that's what you
> do in that buffer, and especially now that you get mouse/point
> highlights, indicating that things are "buttons").  Perhaps it might
> make sense to remove all four lines,

I don't think that highlighting the item at point makes it clear that
pressing RET will select the completion in question.

But the first line could be removed and replaced by a tooltip on the
individual completion items.

> and put the number of completions in the mode line instead.

Yes, the best place to put it would probably be the completion list
lighter on the mode line.

Thanks.



  parent reply	other threads:[~2022-03-23  1:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <164793742180.2038.4306130819331318764@vcs2.savannah.gnu.org>
     [not found] ` <20220322082342.60DC3C051F4@vcs2.savannah.gnu.org>
2022-03-22  9:28   ` master 15ac51e0fd: Merge branch 'feature/completions-customs' Po Lu
2022-03-22 13:35     ` Lars Ingebrigtsen
2022-03-22 15:52       ` [External] : " Drew Adams
2022-03-23  1:00       ` Po Lu [this message]
2022-03-22 17:05     ` Ergus
2022-03-23  1:02       ` Po Lu

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=87tubpcwji.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    --cc=larsi@gnus.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).