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 18:18:15 -0500 Message-ID: References: <868u41rv84.fsf@yandex.ru> <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> <184dffab-4fa4-e265-c8ef-0c088149b1b4@daniel-mendler.de> <2115dbe9-fc14-e21c-5a04-1a1c0c85ceef@yandex.ru> <7e725d20-af1e-80ee-091f-caf2faac5819@yandex.ru> 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="23932"; 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 Sat Jan 29 00:19:57 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 1nDaX6-0005zh-UT for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 29 Jan 2022 00:19:57 +0100 Original-Received: from localhost ([::1]:58500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nDaX5-0006SQ-JB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 28 Jan 2022 18:19:55 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nDaWE-0005Sj-GO for bug-gnu-emacs@gnu.org; Fri, 28 Jan 2022 18:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39585) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nDaWD-0000F6-Vw for bug-gnu-emacs@gnu.org; Fri, 28 Jan 2022 18:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nDaWD-0006iu-Py for bug-gnu-emacs@gnu.org; Fri, 28 Jan 2022 18:19:01 -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 23:19:01 +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.164341190625794 (code B ref 22324); Fri, 28 Jan 2022 23:19:01 +0000 Original-Received: (at 22324) by debbugs.gnu.org; 28 Jan 2022 23:18:26 +0000 Original-Received: from localhost ([127.0.0.1]:60721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDaVd-0006hy-Uh for submit@debbugs.gnu.org; Fri, 28 Jan 2022 18:18:26 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42481) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDaVc-0006hj-BR for 22324@debbugs.gnu.org; Fri, 28 Jan 2022 18:18:25 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 69C8380539; Fri, 28 Jan 2022 18:18:18 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 07764803B6; Fri, 28 Jan 2022 18:18:17 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1643411897; bh=6Lf2WfywO3Xq7XYkO835YvLlUAwDCcP1LY42ywj8BbM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=arwvoVUPeZY8SiWmBJ3aKYunuOV1tjGhNAIT3UnqaqqoK/b4uCpnqhZeEoK7HpiWv Zs1vKM8YqSqfZryMTfWtiCaH5lWI+TOf4ehosN0A/2+nY0wE6HKtEqC8d6/u4H7vFV V3CRTiMPOGb2QVsj0nIXFcTPjAJqVw54LRS8sDOGPgkLNZQBqBO+D57P64+pr+uDsz GzZAz5YZXpd+ovoyozhQAd/LJvm3C61ZEibFqq1aO7S07htFY9Opu4tw1jj2MBuuVH IXTVXjTWvSdq6F98TQ6aEgb/HsOQyopYOVVs4lCkqonVH5Wsnlqzg0HX0fAzBJAjMK /3JRrkGm5YSUA== Original-Received: from ceviche (76-10-138-212.dsl.teksavvy.com [76.10.138.212]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id C7C1D12059A; Fri, 28 Jan 2022 18:18:16 -0500 (EST) In-Reply-To: <7e725d20-af1e-80ee-091f-caf2faac5819@yandex.ru> (Dmitry Gutov's message of "Sat, 29 Jan 2022 00:06:21 +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:225495 Archived-At: > Trying to honor the user's customization of 'completion-styles' makes > a certain amount of sense. Though I don't know how much we honor it this > way: if the user is relatively new, they might not even know to keep typing > to see the fallback, after noting that their input does not give them the > matches they expected. Actually, I suspect it works better for new users than for old ones: new users don't yet have a clear mental model of how Emacs's completion works so they might expect something more like what you see with a web browser search where adding more data can completely change the proposed completions. In contrast old-timers may indeed "know" that there won't be any completions further down and will never reach the second style (to some extent, that's how I got Richard to accept `partial-completion` in the default). > It's more of a critique of the whole "list of styles" design, admittedly. I don't regret doing it because I don't think there was any other way to activate `partial-completion` by default, but yes it has its downsides. Stefan