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: Wed, 06 Jun 2018 14:09:12 -0700 Message-ID: <87k1rbvczr.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> <87d0z2qzyg.fsf@ericabrahamsen.net> <874ljzt7he.fsf@ericabrahamsen.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1528319732 26298 195.159.176.226 (6 Jun 2018 21:15:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2018 21:15:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 06 23:15:27 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 1fQfm6-0006bx-JA for ged-emacs-devel@m.gmane.org; Wed, 06 Jun 2018 23:15:22 +0200 Original-Received: from localhost ([::1]:54724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQfoD-0000tn-BG for ged-emacs-devel@m.gmane.org; Wed, 06 Jun 2018 17:17:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQfo2-0000sa-Bf for emacs-devel@gnu.org; Wed, 06 Jun 2018 17:17:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQfny-000818-BK for emacs-devel@gnu.org; Wed, 06 Jun 2018 17:17:22 -0400 Original-Received: from [195.159.176.226] (port=56160 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fQfny-00080F-40 for emacs-devel@gnu.org; Wed, 06 Jun 2018 17:17:18 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fQflo-0006IY-FO for emacs-devel@gnu.org; Wed, 06 Jun 2018 23:15:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:LDpnUTMWIKF1w08s6sMdLW+cHRs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 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:226080 Archived-At: Eric Abrahamsen writes: > Stefan Monnier writes: > >>> My next question is, how does one "extend" a completion table? >> >> Not sure what you mean, but you can combine completion tables for >> example by using completion-table-in-turn, or by doing something >> similar to what it does. > > Yes, that's what I meant. > >>> Specifically: if c-a-p expects to receive (START END COLLECTION), should >> ^^^^^^^^^^ >> BTW, this is what I call "completion table". > > Right, that much I understood. But otherwise I was very undereducated > about how completion works, and so have gone down some rabbit holes in > the course of writing the attached patch, which is underwhelming for how > long it took me. Was this too off-base? Is there any chance I could bang it into usable shape?