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 #17 received at 48073 <at> debbugs.gnu.org (full text, mbox):

From: João Távora <joaotavora <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
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 22:10:44 +0100
[Message part 1 (text/plain, inline)]
On Tue, Apr 27, 2021 at 9:38 PM Stefan Monnier <monnier <at> 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
[Message part 2 (text/html, inline)]

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

Previous Next


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