From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#48073: 27.2; [Eglot] Don't bind `completion-styles' buffer locally? Date: Tue, 27 Apr 2021 19:13:42 -0400 Message-ID: References: <871rav4jri.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18371"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Augusto Stoffel , 48073@debbugs.gnu.org To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 28 01:14:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbWuC-0004fm-LA for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Apr 2021 01:14:12 +0200 Original-Received: from localhost ([::1]:35592 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbWuB-0002RO-BL for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 27 Apr 2021 19:14:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbWu2-0002RH-0u for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 19:14:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbWu1-0001zH-Q5 for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 19:14:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lbWu1-0002eM-KR for bug-gnu-emacs@gnu.org; Tue, 27 Apr 2021 19:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Apr 2021 23:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48073 X-GNU-PR-Package: emacs Original-Received: via spool by 48073-submit@debbugs.gnu.org id=B48073.161956523310163 (code B ref 48073); Tue, 27 Apr 2021 23:14:01 +0000 Original-Received: (at 48073) by debbugs.gnu.org; 27 Apr 2021 23:13:53 +0000 Original-Received: from localhost ([127.0.0.1]:51251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbWtt-0002dq-L1 for submit@debbugs.gnu.org; Tue, 27 Apr 2021 19:13:53 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:20386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lbWtq-0002dZ-LV for 48073@debbugs.gnu.org; Tue, 27 Apr 2021 19:13:52 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 1AA9544137D; Tue, 27 Apr 2021 19:13:45 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id D1201441373; Tue, 27 Apr 2021 19:13:43 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1619565223; bh=CAzPEDMYSkPHW7ZuYMJfrRdTaM4nZs4kGX/EWTG9faE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=M0UaXqks105R66oPCxqNbYh/FWrC9JvgGEvr4HRWx4JVuaAZWJGgArzQWtwiFjy8Q 8/qSN524KLhYzgAe11wbLw7XGVjAt370zEN1FKf/kdkEezCoCwApQXG8v0hm5ymkxi kTGd4ocUHg2Qr7X4jlYJQVgK+Vfu5HMOCC8ODD+kLhXoZ8MFMvntDcOBuPpebbRZt+ FWTvePexh3pwiU0N5SzCfrrippdEP3c8vMlJZoRp6ZdriHGkLqL0LKqHFPaTB1kxX5 prwIKYaWJOoTNGMZ1sCXhMSWaTetcjiC/0LYRvQT/pX4Iyn+PQNffcGjOnq7UE/5wE gcePJuIH97ulA== Original-Received: from alfajor (unknown [157.52.10.47]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 950E71201E6; Tue, 27 Apr 2021 19:13:43 -0400 (EDT) In-Reply-To: ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Tue, 27 Apr 2021 23:42:34 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:205068 Archived-At: >> 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