From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "João Távora" <joaotavora@gmail.com>
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 19:13:42 -0400 [thread overview]
Message-ID: <jwvh7jrjpcy.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CALDnm50zczdqHUQGdcZsp1-eZvyP=TJBz9t7Ddi=O5uwTdZJTQ@mail.gmail.com> ("João Távora"'s message of "Tue, 27 Apr 2021 23:42:34 +0100")
>> There's no real notion of "point to", but it can use a completion-table
>> whose `category` says `eglot` and then use a corresponding entry in
>> `completion-category-defaults`, yes.
>
> Cool, that's exactly what I meant "point to". And should
> `completion-category-defaults` be affected globally, or buffer-locally?
> (the table will only ever be useful in Eglot-managed buffers)
I think you can just do it globally when loading Eglot (assuming you use
a category name that "belongs to Eglot").
>> And those rare users who don't like `flex` (or who want the new
>> `mind-reader` completion style instead) can override it in their
>> `completion-category-overrides`.
> Great but you forgot the patch for the mind-reader completion style.
I still have some bootstrapping problems with it, sorry.
Stefan
next prev parent reply other threads:[~2021-04-27 23:13 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
2021-04-27 22:37 ` Stefan Monnier
2021-04-27 22:42 ` João Távora
2021-04-27 23:13 ` Stefan Monnier [this message]
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=jwvh7jrjpcy.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=48073@debbugs.gnu.org \
--cc=arstoffel@gmail.com \
--cc=joaotavora@gmail.com \
/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).