From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emilio Lopes Newsgroups: gmane.emacs.devel Subject: Re: patch for woman (woman-topic-at-point) Date: Sat, 27 Aug 2005 20:57:37 +0200 Organization: private Message-ID: References: <38wtm926pt.fsf@tiscali.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1125173407 30531 80.91.229.2 (27 Aug 2005 20:10:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Aug 2005 20:10:07 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 27 22:09:57 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E96zP-0000fW-9w for ged-emacs-devel@m.gmane.org; Sat, 27 Aug 2005 22:09:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E973D-00005I-0S for ged-emacs-devel@m.gmane.org; Sat, 27 Aug 2005 16:13:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E971O-00085W-24 for emacs-devel@gnu.org; Sat, 27 Aug 2005 16:11:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E971E-0007xb-3h for emacs-devel@gnu.org; Sat, 27 Aug 2005 16:11:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E971D-0007wJ-DC for emacs-devel@gnu.org; Sat, 27 Aug 2005 16:11:11 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1E96xO-00018D-57 for emacs-devel@gnu.org; Sat, 27 Aug 2005 16:07:14 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1E95tn-00038B-Ei for emacs-devel@gnu.org; Sat, 27 Aug 2005 20:59:27 +0200 Original-Received: from p62.246.21.209.tisdip.tiscali.de ([62.246.21.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Aug 2005 20:59:27 +0200 Original-Received: from eclig by p62.246.21.209.tisdip.tiscali.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Aug 2005 20:59:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 16 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: p62.246.21.209.tisdip.tiscali.de User-Agent: Emacs Gnus Cancel-Lock: sha1:fBpBsvYVU8vvfltRxIH/iuU40Hw= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42450 Archived-At: Stefan Monnier writes: > Instead of assoc, I'd recommend you use test-completion. It's > probably equivalent given the current code, but it makes the > intention much more clear and will work if the completion table is > ever changed to some other format. Thanks for the suggestion. I changed my local copy and will send a new version of the patch if there's interest on the changes. BTW, is there a more elegant way of writing the following? I have the feeling I'm missing obvious something here... (and word-at-point (test-completion word-at-point woman-topic-all-completions) word-at-point)