From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.ciao.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Documentation about the completion framework Date: Mon, 21 Jan 2019 22:37:04 -0500 Message-ID: References: <62c8a43a-16f4-cd86-da24-df3dcbe68537@grinta.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.org; posting-host="ciao.gmane.org:195.159.176.228"; logging-data="238551"; mail-complaints-to="usenet@ciao.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 22 04:40:32 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glmvO-000zzE-6E for ged-emacs-devel@m.gmane.org; Tue, 22 Jan 2019 04:40:30 +0100 Original-Received: from localhost ([127.0.0.1]:37877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glmvN-000316-3U for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2019 22:40:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glmuJ-00030O-29 for emacs-devel@gnu.org; Mon, 21 Jan 2019 22:39:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glmsa-0004Nj-BT for emacs-devel@gnu.org; Mon, 21 Jan 2019 22:37:37 -0500 Original-Received: from [195.159.176.228] (port=41930 helo=ciao.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1glmsY-00047D-Nx for emacs-devel@gnu.org; Mon, 21 Jan 2019 22:37:35 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.89) (envelope-from ) id 1glmsC-000xCX-HO for emacs-devel@gnu.org; Tue, 22 Jan 2019 04:37:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:E3+0/8HU0zU6M8vAKRRYnfcMCU4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.228 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:232597 Archived-At: > Trying to understand this code: how is this different from computing > candidates directly in my-completion-at-point-function and passing it down? The completion function is not always called. The completion-in-region-mode for example just calls completion-at-point-function after each command (without looking up the completion-table) just to see if we're still within the same field. Stefan