From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryan Newsgroups: gmane.emacs.bugs Subject: bug#21644: 24.4; completing-read acts differently on functional collection Date: Wed, 14 Oct 2015 22:17:54 -0700 Message-ID: <561F3702.2080203@thompsonclan.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1444886429 5961 80.91.229.3 (15 Oct 2015 05:20:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 05:20:29 +0000 (UTC) Cc: 21644@debbugs.gnu.org, Oleh Krehel To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 15 07:20:18 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 1Zmaxe-00084c-2N for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2015 07:20:18 +0200 Original-Received: from localhost ([::1]:45831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmaxd-0007Cc-58 for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2015 01:20:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmawV-00075m-4w for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 01:19:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmawQ-0001BR-47 for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 01:19:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmawQ-0001BF-01 for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 01:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZmawP-0003Ns-JZ for bug-gnu-emacs@gnu.org; Thu, 15 Oct 2015 01:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ryan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Oct 2015 05:19: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.144488628312932 (code B ref 21644); Thu, 15 Oct 2015 05:19:01 +0000 Original-Received: (at 21644) by debbugs.gnu.org; 15 Oct 2015 05:18:03 +0000 Original-Received: from localhost ([127.0.0.1]:51374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmavS-0003MV-Pp for submit@debbugs.gnu.org; Thu, 15 Oct 2015 01:18:03 -0400 Original-Received: from mail-pa0-f52.google.com ([209.85.220.52]:33442) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZmavR-0003M5-1c for 21644@debbugs.gnu.org; Thu, 15 Oct 2015 01:18:01 -0400 Original-Received: by pabrc13 with SMTP id rc13so76075107pab.0 for <21644@debbugs.gnu.org>; Wed, 14 Oct 2015 22:18:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Z3zfloqXT1beDtPnssLg7tGlnoTDk0HlWJkj3INp214=; b=YdDeL5rHH66A9ZaSeducv/KCy9BoYojWIkKvqxst6ILLAUZmiZZR5jdraTCodnzBvC ND8VzZHkweNYKimR60dHoiSAp8ES3RCFo0fmZVu+7ZzgIKoUMiJjGd556vpO0eVq5BQk SrL5uT8BMkVCsKZpp+eUmQNrFK2y34hPJXSdscxRv8K24LW+Jttyw+otvzDpz/+OPDIK EopoO6entjNAL5wVZuM1mfkzfwtC5CPd8YQbgWJnuSV2TzW6fWN6F6o3XhmLZSHkLkMO eI8iB/CVi71NtZxUucmyFwIdPUKhfadO2kkrRH/BeKm274A4e+vF4lwOY9LgtV71vv6w oeBQ== X-Gm-Message-State: ALoCoQleOk33y71BO0d6oQ+Psw5ZgFlFml2XMqj0fluvdBQKm1CJy72o5UtqsUcgKDRxsfEz0yKa X-Received: by 10.67.15.100 with SMTP id fn4mr8206306pad.120.1444886280431; Wed, 14 Oct 2015 22:18:00 -0700 (PDT) Original-Received: from [192.168.10.2] ([209.134.95.68]) by smtp.googlemail.com with ESMTPSA id an5sm430817pbd.45.2015.10.14.22.17.58 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 14 Oct 2015 22:17:59 -0700 (PDT) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 In-Reply-To: <561F35AD.8000803@yandex.ru> 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:107634 Archived-At: On 10/14/15 10:12 PM, Dmitry Gutov wrote: > On 10/13/2015 09:59 PM, Ryan C. Thompson wrote: > >>> (info "(elisp) Programmed Completion") or >>> (info "(elisp) Basic Completion"), probably. >> Maybe the `completing-read' docstring should link to these info nodes. > > This seems like it should suffice. Do you agree? > > diff --git a/src/minibuf.c b/src/minibuf.c > index 4e5c17d..2cde8b0 100644 > --- a/src/minibuf.c > +++ b/src/minibuf.c > @@ -1595,7 +1595,7 @@ PROMPT is a string to prompt with; normally it > ends in a colon and a space. > COLLECTION can be a list of strings, an alist, an obarray or a hash > table. > COLLECTION can also be a function to do the completion itself. > PREDICATE limits completion to a subset of COLLECTION. > -See `try-completion' and `all-completions' for more details > +See Info node `(elisp)Basic Completion' for more details > on completion, COLLECTION, and PREDICATE. > > REQUIRE-MATCH can take the following values: > Yes, I think that should be fine. That would have certainly solved the problem in my case, since I would have known to implement the `test-completion' case.