From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21644: 24.4; completing-read acts differently on functional collection Date: Fri, 16 Oct 2015 12:45:04 +0300 Message-ID: <837fmn6tb3.fsf@gnu.org> References: <5615A2EA.4@thompsonclan.org> <87vbahmzwd.fsf@gmail.com> <561C5D0B.9070303@yandex.ru> <561C5FB0.6030105@thompsonclan.org> <561C6C12.20803@yandex.ru> <561D54AF.7090701@thompsonclan.org> <561F35AD.8000803@yandex.ru> <561FC52F.1010606@yandex.ru> <4fe19dae-4269-401b-82bd-10f9d368a921@default> <561FDC63.6010609@yandex.ru> <917e38a9-d74b-4e41-bc7b-90aeee69584c@default> <5620159C.3060401@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1444988784 20688 80.91.229.3 (16 Oct 2015 09:46:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Oct 2015 09:46:24 +0000 (UTC) Cc: 21644@debbugs.gnu.org, rct@thompsonclan.org, ohwoeowho@gmail.com To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 16 11:46:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zn1aV-000750-QD for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Oct 2015 11:46:12 +0200 Original-Received: from localhost ([::1]:52273 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn1aU-0004Sg-Qz for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Oct 2015 05:46:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn1aR-0004SJ-Bt for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2015 05:46:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zn1aM-00079u-Ah for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2015 05:46:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zn1aM-00079q-7B for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2015 05:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zn1aM-0005yJ-12 for bug-gnu-emacs@gnu.org; Fri, 16 Oct 2015 05:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Oct 2015 09:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21644 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21644-submit@debbugs.gnu.org id=B21644.144498870822893 (code B ref 21644); Fri, 16 Oct 2015 09:46:01 +0000 Original-Received: (at 21644) by debbugs.gnu.org; 16 Oct 2015 09:45:08 +0000 Original-Received: from localhost ([127.0.0.1]:53115 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn1ZT-0005xA-AX for submit@debbugs.gnu.org; Fri, 16 Oct 2015 05:45:07 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:35365) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zn1ZQ-0005x0-8R for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 05:45:05 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NWB00F0044HH700@mtaout25.012.net.il> for 21644@debbugs.gnu.org; Fri, 16 Oct 2015 12:42:37 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NWB0051H4B1GI90@mtaout25.012.net.il>; Fri, 16 Oct 2015 12:42:37 +0300 (IDT) In-reply-to: <5620159C.3060401@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107672 Archived-At: > From: Dmitry Gutov > Date: Fri, 16 Oct 2015 00:07:40 +0300 > Cc: 21644@debbugs.gnu.org > > On 10/15/2015 11:28 PM, Drew Adams wrote: > > > No one has said anything that would introduce another bug. > > It's about fixing this bug, by getting users to the information > > about function-valued COLLECTION. And that info is in node > > `Programmed Completion'. > > > > No one has said that users should not consult `Basic Completion' > > for info about `all-completions', `try-completion', and > > `test-completion'. > > The current sentence that refers to the Info node would become wrong. > But I suppose an alternative wording might escape that problem. > > Patch welcome. Done. > > Really what should be done is to link from the `completing-read' > > doc string only to node `Minibuffer Completion', which is the > > node that documents `completing-read'. > > I don't know about that: that page basically re-tells the docstring of > completing-read. Sending to it from that docstring seems redundant. I agree. > > It is a bug (IMHO) that the node that documents `completing-read' > > does not specify parameter COLLECTION - which is arguably the > > *most important* parameter. > > You're probably right. Please send a patch. Done. I also re-added the references to the completion functions into the doc string of completing-read (and added 2 more functions to that list). While referencing the manual is good, especially for complex topics, I feel that the absolute minimum of usage information, including the arguments with which callbacks can be called, should be available from the doc strings.