From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.bugs Subject: bug#52202: 29.0.50; try-completion, all-completions support for a list of strings COLLECTION is not documented in their docstrings Date: Tue, 30 Nov 2021 08:59:28 -0800 Message-ID: <875ys9k2a7.fsf@rfc20.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36049"; mail-complaints-to="usenet@ciao.gmane.io" To: 52202@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 30 18:02:51 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 1ms6Wo-0009Fl-Ta for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 18:02:50 +0100 Original-Received: from localhost ([::1]:42216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms6Wn-0007ls-OY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 12:02:49 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms6U8-0006E2-3f for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 12:00:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58952) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms6U7-00079g-11 for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 12:00:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ms6U6-0004BX-RC for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 12:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Matt Armstrong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Nov 2021 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52202 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163829158316026 (code B ref -1); Tue, 30 Nov 2021 17:00:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Nov 2021 16:59:43 +0000 Original-Received: from localhost ([127.0.0.1]:42265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms6Tm-0004AQ-RL for submit@debbugs.gnu.org; Tue, 30 Nov 2021 11:59:43 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms6Tl-0004AI-GX for submit@debbugs.gnu.org; Tue, 30 Nov 2021 11:59:41 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms6Tl-0005ng-7Y for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 11:59:41 -0500 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:45169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms6Tj-00074u-5I for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 11:59:40 -0500 Original-Received: (Authenticated sender: matt@rfc20.org) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 1119F200003 for ; Tue, 30 Nov 2021 16:59:31 +0000 (UTC) Original-Received: from matt by naz with local (Exim 4.95) (envelope-from ) id 1ms6TY-000AbC-OW for bug-gnu-emacs@gnu.org; Tue, 30 Nov 2021 08:59:28 -0800 Received-SPF: pass client-ip=217.70.178.232; envelope-from=matt@rfc20.org; helo=relay12.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:221148 Archived-At: `try-completion' and `all-completions' support a completion COLLECTION of a list of strings. This is not documented in their docstrings. This is confusing because every other supported data structure is mentioned. This support was added around 20 years ago. See Stefan's commit 695deb1857 or https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=695deb1857dd95239df0139894e40719699a6cc8 I'm assuming this was just an oversight, since `test-completion' mentions "list of strings" as does the description of `try-completion' in the elisp manual.