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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: João Távora <joaotavora <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#48073: closed (27.2; [Eglot] Don't bind `completion-styles'
 buffer locally?)
Date: Wed, 28 Apr 2021 12:04:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 28 Apr 2021 13:03:26 +0100
with message-id <87o8dyzkdt.fsf <at> gmail.com>
and subject line Re: bug#48073: 27.2; [Eglot] Don't bind `completion-styles' buffer locally?
has caused the debbugs.gnu.org bug report #48073,
regarding 27.2; [Eglot] Don't bind `completion-styles' buffer locally?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
48073: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48073
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Augusto Stoffel <arstoffel <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.2; [Eglot] Don't bind `completion-styles' buffer locally?
Date: Tue, 27 Apr 2021 21:20:17 +0200
Binding `completion-styles' buffer locally can lead to problems on
alternative completion UIs, say if the minibuffer is involved (this used
to happen with Consult's compeltion in region until recently).

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.


[Message part 3 (message/rfc822, inline)]
From: João Távora <joaotavora <at> gmail.com>
To: Augusto Stoffel <arstoffel <at> gmail.com>, 48073-done <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#48073: 27.2; [Eglot] Don't bind `completion-styles' buffer
 locally?
Date: Wed, 28 Apr 2021 13:03:26 +0100
Augusto Stoffel <arstoffel <at> gmail.com> writes:

> Here is a patch setting `completion-category-defaults'.
>
> From e9d877c9c7203ce999a935cdbc36c619255cf63c Mon Sep 17 00:00:00 2001
> From: Augusto Stoffel <arstoffel <at> gmail.com>
> Date: Wed, 28 Apr 2021 08:50:10 +0200
> Subject: [PATCH] Add a completion-category-defaults entry

Thanks. Pushed to Eglot's upstream.  Closing this bug report.

João


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.