From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#22324: 25.0.50; completion-category-defaults style doesn't override completion-styles (gets prepended instead) Date: Thu, 02 Dec 2021 10:10:40 +0100 Message-ID: <87tufr74of.fsf@gnus.org> References: <868u41rv84.fsf@yandex.ru> <83fuy8p8oq.fsf@gnu.org> <568FA9D0.2040609@yandex.ru> <83egdsp88n.fsf@gnu.org> <568FABFC.3000205@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14199"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 22324@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 02 10:12: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 1msi8S-0003Vy-Eu for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Dec 2021 10:12:12 +0100 Original-Received: from localhost ([::1]:33948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msi8R-0002rL-D2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 Dec 2021 04:12:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42140) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msi8I-0002r5-9Q for bug-gnu-emacs@gnu.org; Thu, 02 Dec 2021 04:12:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34994) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msi8H-00068V-Tb for bug-gnu-emacs@gnu.org; Thu, 02 Dec 2021 04:12:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1msi8H-0006fo-Og for bug-gnu-emacs@gnu.org; Thu, 02 Dec 2021 04:12:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Dec 2021 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22324 X-GNU-PR-Package: emacs Original-Received: via spool by 22324-submit@debbugs.gnu.org id=B22324.163843626225567 (code B ref 22324); Thu, 02 Dec 2021 09:12:01 +0000 Original-Received: (at 22324) by debbugs.gnu.org; 2 Dec 2021 09:11:02 +0000 Original-Received: from localhost ([127.0.0.1]:46537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msi7A-0006dl-EV for submit@debbugs.gnu.org; Thu, 02 Dec 2021 04:11:01 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:36192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1msi78-0006dW-VL for 22324@debbugs.gnu.org; Thu, 02 Dec 2021 04:10:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6OhyrwSyuhinEFGhGmm7r5wmT+kwIefc9N6cJus+Cec=; b=VIkUO9+8bsc7h1z/+VjFWKH0e9 qKslInl1oSP37pWctCxAMfjw/a5rQrDluO9n6rPluRTBTcD5C3yu9DJWypCONukqH4Pw+slzaEkRH bgOKjkDpSZis6lidmTXKDyWCc0qkv8CL1l5Bw74P9UhDXdX+gkCIIgRXIo/AWczvk/Ao=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msi6z-0007gt-BJ; Thu, 02 Dec 2021 10:10:44 +0100 X-Now-Playing: Mega Bog's _Dolphine_: "Fwee Again" In-Reply-To: <568FABFC.3000205@yandex.ru> (Dmitry Gutov's message of "Fri, 8 Jan 2016 15:30:52 +0300") 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:221265 Archived-At: Dmitry Gutov writes: > On 01/08/2016 03:26 PM, Eli Zaretskii wrote: > >> Thanks, that wasn't clear from the problem description. Normally, >> when someone says "the documentation doesn't describe the behavior >> accurately", they mean the documentation should be updated. > > Right, sorry. Poor wording on my part. > > But if you were talking about a documentation fix, changing the list > in `(emacs) Completion Styles' to include `partial-completion' is not > a good fix semantically, because the result would still contain the > word "only". This bug report is a bit on the vague side. It looks like `partial-completion' is documented in that node? The subject mentions "doesn't override", but is that about `completion-category-overrides' instead? --- This overrides the defaults specified in `completion-category-defaults'." --- And it does indeed prepend: (defun completion--category-override (category tag) (or (assq tag (cdr (assq category completion-category-overrides))) (assq tag (cdr (assq category completion-category-defaults))))) But... I think saying that that "overrides" is fine? So it's unclear what's suggested in this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no