From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: completing-read return meta-information? Date: Thu, 17 Sep 2015 09:24:24 -0400 Message-ID: References: <86y4g6zcuo.fsf@stephe-leake.org> <7c37cd21-a9e0-48fa-b5a2-a32595c43dda@default> <86twquxnpa.fsf@stephe-leake.org> <86d1xhxl6j.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1442496288 1009 80.91.229.3 (17 Sep 2015 13:24:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Sep 2015 13:24:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 17 15:24:36 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZcZAx-000594-4u for ged-emacs-devel@m.gmane.org; Thu, 17 Sep 2015 15:24:35 +0200 Original-Received: from localhost ([::1]:58664 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcZAv-0000QF-U6 for ged-emacs-devel@m.gmane.org; Thu, 17 Sep 2015 09:24:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcZAs-0000Q7-QU for emacs-devel@gnu.org; Thu, 17 Sep 2015 09:24:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZcZAn-0007G5-OZ for emacs-devel@gnu.org; Thu, 17 Sep 2015 09:24:30 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:6056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZcZAn-0007Fu-KI for emacs-devel@gnu.org; Thu, 17 Sep 2015 09:24:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AxFgA731xV/2yixEVcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNBIUGA0kiDcIzyMBAQEHAgEfizqFBQeELQWfF4ZpjT+BRSOBZoIuIoJ4AQEB X-IPAS-Result: A0AxFgA731xV/2yixEVcgxCEAoVVu0CHSwQCAoE8OxIBAQEBAQEBgQpBBYNdAQEDAVYjBQsLNBIUGA0kiDcIzyMBAQEHAgEfizqFBQeELQWfF4ZpjT+BRSOBZoIuIoJ4AQEB X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="165111514" Original-Received: from 69-196-162-108.dsl.teksavvy.com (HELO ceviche.home) ([69.196.162.108]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Sep 2015 09:24:24 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 5DF5A6619A; Thu, 17 Sep 2015 09:24:24 -0400 (EDT) In-Reply-To: <86d1xhxl6j.fsf@stephe-leake.org> (Stephen Leake's message of "Thu, 17 Sep 2015 07:52:20 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:190045 Archived-At: > And I gather completing-read returns the result of > completion-try-completion. Not really, no. It returns the content of the buffer when the user hit RET, mostly (unless the completion is of kind `require-match', in which case that is indeed passed one last time to completion-try-completion). The user could hit RET without having called any completion commands. Stefan