From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#22324: 25.0.50; completion-category-defaults style doesn't override completion-styles (gets prepended instead) Date: Fri, 28 Jan 2022 11:59:14 -0500 Message-ID: References: <868u41rv84.fsf@yandex.ru> <83fuy8p8oq.fsf@gnu.org> <568FA9D0.2040609@yandex.ru> <83egdsp88n.fsf@gnu.org> <568FABFC.3000205@yandex.ru> <87tufr74of.fsf@gnus.org> <87lf0yjwpw.fsf@gnus.org> <87r1aodus0.fsf@gnus.org> <66aa873d-5f5f-9024-efb6-e6110c27ab3a@yandex.ru> <87ilvy4m94.fsf@gnus.org> <87czklnqvs.fsf@gnus.org> <3045ca8b-f5d6-c85e-d170-3fe158fec64e@yandex.ru> <87ilu94gac.fsf@gnus.org> <43725c9f-1f0a-fb43-82a2-3f284791fdf5@yandex.ru> <875yq8ypmi.fsf@gnus.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1250"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Daniel Mendler , Lars Ingebrigtsen , 22324@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 28 18:19:27 2022 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 1nDUuF-000079-3n for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Jan 2022 18:19:27 +0100 Original-Received: from localhost ([::1]:54422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDUuE-0002AN-6g for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Jan 2022 12:19:26 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51598) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDUbT-0007TG-3y for bug-gnu-emacs@gnu.org; Fri, 28 Jan 2022 12:00:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39253) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDUbS-0002nB-Mj for bug-gnu-emacs@gnu.org; Fri, 28 Jan 2022 12:00:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDUbS-0008VZ-KI for bug-gnu-emacs@gnu.org; Fri, 28 Jan 2022 12:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Jan 2022 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22324 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 22324-submit@debbugs.gnu.org id=B22324.164338916632632 (code B ref 22324); Fri, 28 Jan 2022 17:00:02 +0000 Original-Received: (at 22324) by debbugs.gnu.org; 28 Jan 2022 16:59:26 +0000 Original-Received: from localhost ([127.0.0.1]:60389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDUas-0008UG-AZ for submit@debbugs.gnu.org; Fri, 28 Jan 2022 11:59:26 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:63656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDUaq-0008U2-JY for 22324@debbugs.gnu.org; Fri, 28 Jan 2022 11:59:25 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 1D91A805F9; Fri, 28 Jan 2022 11:59:19 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id BCA79801F2; Fri, 28 Jan 2022 11:59:17 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1643389157; bh=CmGYcTZ9DEAleh9PY8M9yGNPHUdE6SH0sZ9bVwgF5n4=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fZL5sjRcwDPvUYECHf8xQJ4ewj3m7iMdVvAqcQyHIyhqq4bO0tUSJMUooTnY/4P3I OTFWFNKfVL3wKzLo6Bn6fHEfP9asTQH35WBG011A6A3V0U+WjR/IVDnu9NyvAcAH64 G2IdZ0KgRCfEyIh0TVrv8v+1G6h0vKsGuOe6SWRMsAUs2IZqO6v23I+tPtAIJD4OMP 9WbFYUWxHm0DM3IpcmTgygt/DfTiS6tNb0kFSBz/PxMRmmkEYTU3IApWPhlCK2OIt3 fQZR+2s/7kHkPLilruTuMQCpIJHzrOkmDNEtSsqucyobLdHIKsmTaMZdq8S34jydq/ CXlt1nMNtLdJw== Original-Received: from ceviche (76-10-138-212.dsl.teksavvy.com [76.10.138.212]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 896511206B6; Fri, 28 Jan 2022 11:59:17 -0500 (EST) In-Reply-To: (Dmitry Gutov's message of "Fri, 28 Jan 2022 04:37:36 +0200") 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:225481 Archived-At: Dmitry Gutov [2022-01-28 04:37:36] wrote: > On 26.01.2022 15:36, Stefan Monnier via Bug reports for GNU Emacs, the Swiss > army knife of text editors wrote: >> We can probably have our cake and eat it too by adding a `fail` >> completion style. Such a style would always take responsibility >> (i.e. would never return nil to delegate to subsequent styles), but >> would always return a "useless" value that gives no completions. > *If* we did end up adding such style, would the default value of > completion-category-defaults include 'fail' at the end of its every line? No, since the fallback was chosen specifically for `completion-category-defaults`, we'd want to keep it for the cases that are already present at least. Stefan