From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.devel Subject: Re: Completion functions in message-mode Date: Sat, 14 Apr 2018 09:17:59 -0700 Message-ID: <871sfhrcco.fsf@ericabrahamsen.net> References: <20180323044822.32467.63948@vcs0.savannah.gnu.org> <20180323044823.1A70C20BDE@vcs0.savannah.gnu.org> <877eq3732w.fsf@ericabrahamsen.net> <87h8oer459.fsf_-_@ericabrahamsen.net> <87y3hqj64x.fsf@mouse.gnus.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523722571 23494 195.159.176.226 (14 Apr 2018 16:16:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2018 16:16:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 14 18:16:07 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7NqP-0005zS-JQ for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2018 18:16:05 +0200 Original-Received: from localhost ([::1]:46605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7NsW-0002pf-8s for ged-emacs-devel@m.gmane.org; Sat, 14 Apr 2018 12:18:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7NsM-0002oH-GA for emacs-devel@gnu.org; Sat, 14 Apr 2018 12:18:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7NsH-0003iu-Is for emacs-devel@gnu.org; Sat, 14 Apr 2018 12:18:06 -0400 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]:53865) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f7NsH-0003iY-En for emacs-devel@gnu.org; Sat, 14 Apr 2018 12:18:01 -0400 Original-Received: from localhost (71-35-188-108.tukw.qwest.net [71.35.188.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id 54680BF469; Sat, 14 Apr 2018 16:18:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1523722680; bh=ZtplnIaU7Bl7PLWyioCCg/csQS7JkQEkbSn0uIehzmg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=gSZ9HE5IEXICelJoFbdyzJ/s9YPHihiQ6nlVEYUnzhOzWD0IG0gY9D6OObfJcL1rH wU43T6crO7U4AgcSiE+Z3Yg5ZJA81ehKZ5IqzFy9y/lRoSAxfJlv1/uFangX0mGcT6 lcXcQYjoJ97jybld67fqtpmIUfRGeOwvZ4DQJzMc= In-Reply-To: <87y3hqj64x.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sat, 14 Apr 2018 14:59:26 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 50.56.99.223 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:224597 Archived-At: Lars Ingebrigtsen writes: > Eric Abrahamsen writes: > >> message-mode adds message-expand-group and message-tab-body-function to >> `completion-at-point-functions'. Both of these functions check if >> they're in an appropriate location, and bail if not, allowing other >> functions to do their thing. > > Does this also tie into ecomplete somehow? :-) I think the goal is that ecomplete would be one of the $contact_packages that can add themselves as sources for completions. But I'm still not sure of the exact mechanism.