GNU bug report logs - #48073
27.2; [Eglot] Don't bind `completion-styles' buffer locally?

Previous Next

Package: emacs;

Reported by: Augusto Stoffel <arstoffel <at> gmail.com>

Date: Tue, 27 Apr 2021 19:21:01 UTC

Severity: normal

Found in version 27.2

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #38 received at 48073 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: João Távora <joaotavora <at> gmail.com>
Cc: Augusto Stoffel <arstoffel <at> gmail.com>, 48073 <at> debbugs.gnu.org
Subject: Re: bug#48073: 27.2; [Eglot] Don't bind `completion-styles' buffer
 locally?
Date: Tue, 27 Apr 2021 19:13:42 -0400
>> 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





This bug report was last modified 4 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.