From: "João Távora" <joaotavora@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Augusto Stoffel <arstoffel@gmail.com>, 48073@debbugs.gnu.org
Subject: bug#48073: 27.2; [Eglot] Don't bind `completion-styles' buffer locally?
Date: Tue, 27 Apr 2021 22:10:44 +0100 [thread overview]
Message-ID: <CALDnm52Z0EDeSF8BRMGWDVCA2p=88fW4Sre9SWaA7+_hxPCLpw@mail.gmail.com> (raw)
In-Reply-To: <jwvk0oneaaj.fsf-monnier+emacs@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 985 bytes --]
On Tue, Apr 27, 2021 at 9:38 PM Stefan Monnier <monnier@iro.umontreal.ca>
wrote:
>
>
> >> It seems that a more appropriate way to override the completion style
> >> would be to include a category in the completion table metadata, and
add
> >> a corresponding entry to `completion-category-defaults', which can be
> >> done globally.
>
> That's right. The advantage being also that the user can additionally
> override that default style with `completion-category-overrides'.
>
>
> Stefan
Thanks. But can you confirm my hypothesis that it is possible to make
its completion table function in the `flex` style automatically, by
- having Eglot add an entry to completion-category-defaults or
completion-category-overrides (which one?)
- having Eglot point to that entry in its completion table?
I.e. I'm only getting rid of the buffer-local hack if there's a viable
alternative (I think there is, but some confirmation would be ideal).
João
[-- Attachment #2: Type: text/html, Size: 1225 bytes --]
next prev parent reply other threads:[~2021-04-27 21:10 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-27 19:20 bug#48073: 27.2; [Eglot] Don't bind `completion-styles' buffer locally? Augusto Stoffel
2021-04-27 19:31 ` João Távora
2021-04-27 20:37 ` Stefan Monnier
2021-04-27 21:10 ` João Távora [this message]
2021-04-27 22:37 ` Stefan Monnier
2021-04-27 22:42 ` João Távora
2021-04-27 23:13 ` Stefan Monnier
2021-04-28 7:00 ` Augusto Stoffel
2021-04-28 12:03 ` João Távora
2021-04-27 21:01 ` bug#48073: [External] : " Drew Adams
2021-04-27 21:53 ` João Távora
2021-04-27 22:06 ` Drew Adams
2021-04-27 22:10 ` João Távora
2021-04-27 22:12 ` João Távora
2021-04-28 16:10 ` Drew Adams
2021-04-28 16:13 ` 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='CALDnm52Z0EDeSF8BRMGWDVCA2p=88fW4Sre9SWaA7+_hxPCLpw@mail.gmail.com' \
--to=joaotavora@gmail.com \
--cc=48073@debbugs.gnu.org \
--cc=arstoffel@gmail.com \
--cc=monnier@iro.umontreal.ca \
/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).