From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: dynamic-completion-table Date: Wed, 25 Jun 2003 15:53:15 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <16113.51538.619271.508717@tfkp07.physik.uni-erlangen.de> <16120.23570.881095.34919@tfkp07.physik.uni-erlangen.de> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1056573328 9085 80.91.224.249 (25 Jun 2003 20:35:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2003 20:35:28 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed Jun 25 22:35:26 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19VGzG-0002MN-00 for ; Wed, 25 Jun 2003 22:35:26 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 19VH3S-0001I6-00 for ; Wed, 25 Jun 2003 22:39:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VGv6-00016Z-DH for emacs-devel@quimby.gnus.org; Wed, 25 Jun 2003 16:31:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19VGa2-0004LU-FP for emacs-devel@gnu.org; Wed, 25 Jun 2003 16:09:22 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19VGZK-00048a-UG for emacs-devel@gnu.org; Wed, 25 Jun 2003 16:08:41 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VGKS-0000NA-4o for emacs-devel@gnu.org; Wed, 25 Jun 2003 15:53:16 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.20) id 19VGKR-0000GM-LP; Wed, 25 Jun 2003 15:53:15 -0400 Original-To: Roland Winkler In-reply-to: <16120.23570.881095.34919@tfkp07.physik.uni-erlangen.de> (message from Roland Winkler on Tue, 24 Jun 2003 16:11:30 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:15250 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:15250 "Use function FUN as a dynamic completion table. FUN is called with one argument, the string for which completion is required, and it should return an alist containing all the intended possible completions. Is FUN required to return only the possible completions of that string, or can it ignore the string and always return the full list of possibilities? Looking at the code, I think it can ignore the string. The doc string should say so. Both macros seem useful--you can install them. Don't forget to mention them in etc/NEWS.