unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "João Távora" <joaotavora@gmail.com>
To: Augusto Stoffel <arstoffel@gmail.com>
Cc: 61532@debbugs.gnu.org, Theodor Thornhill <theo@thornhill.no>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#61532: 30.0.50; [PATCH]: Make completions without sortText fall to back of the list
Date: Tue, 21 Feb 2023 12:47:55 +0000	[thread overview]
Message-ID: <CALDnm51Kme75o3gEyym_DQ6o2ZfjZyngXGhLP8hOLfijNyb5kA@mail.gmail.com> (raw)
In-Reply-To: <87wn4bfmsr.fsf@gmail.com>

On Tue, Feb 21, 2023 at 8:24 AM Augusto Stoffel <arstoffel@gmail.com> wrote:
>
> On Sun, 19 Feb 2023 at 18:19, João Távora wrote:
>
> > The 'flex' completion style isn't really doing (or at shouldn't be doing)
> > what it does normally. Its purpose in Eglot is only to allow for flex-style
> > fontification of the pattern to happen. Nothing more, and that includes
> > no sorting.
>
> What happens with the “glorified TAGS” kind of servers that do no
> filtering on their side?  Apparently those exists, according to the
> Github discussion I linked in the other message.

I think these servers do some kind of filtering.  As "glorified TAGS"
servers they might not be aware of the local context but I presume
they would still _not_ provide the 'fooey' completion if point is
after the characters 'bar'. As to whether they also provide 'bias-rate'
in that case (a so-called flex-match) or just 'barbaz' (a prefix match),
it's completely up to them.

Regardless, there is nothing flex can or should do here, except --
as I mentioned -- guessing how the pattern should be painted on
the completions.

João





  reply	other threads:[~2023-02-21 12:47 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-15 14:52 bug#61532: 30.0.50; [PATCH]: Make completions without sortText fall to back of the list Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-18 22:18 ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 11:13   ` João Távora
2023-02-19 16:08     ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 18:19       ` João Távora
2023-02-19 18:43         ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 18:48           ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 22:47             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 23:39               ` João Távora
2023-02-19 23:53                 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 18:52         ` Theodor Thornhill via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-19 22:56         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-02-21  8:24           ` Augusto Stoffel
2023-02-21  8:24         ` Augusto Stoffel
2023-02-21 12:47           ` João Távora [this message]
2023-02-21 14:08             ` Augusto Stoffel
2023-02-21 14:28               ` João Távora

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=CALDnm51Kme75o3gEyym_DQ6o2ZfjZyngXGhLP8hOLfijNyb5kA@mail.gmail.com \
    --to=joaotavora@gmail.com \
    --cc=61532@debbugs.gnu.org \
    --cc=arstoffel@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    --cc=theo@thornhill.no \
    /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).