From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70071 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.gnus.general Subject: Re: Fancy completion Date: Mon, 30 Aug 2010 18:03:41 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283187834 26619 80.91.229.12 (30 Aug 2010 17:03:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 17:03:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18457@lists.math.uh.edu Mon Aug 30 19:03:53 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq7lx-0006Kc-0I for ding-account@gmane.org; Mon, 30 Aug 2010 19:03:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Oq7ls-0006uc-QA; Mon, 30 Aug 2010 12:03:48 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Oq7lr-0006uI-IU for ding@lists.math.uh.edu; Mon, 30 Aug 2010 12:03:47 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Oq7lq-0007mv-HT for ding@lists.math.uh.edu; Mon, 30 Aug 2010 12:03:47 -0500 Original-Received: from ppsw-33.csi.cam.ac.uk ([131.111.8.133]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Oq7lp-0006w4-00 for ; Mon, 30 Aug 2010 19:03:45 +0200 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from cpc1-cmbg13-0-0-cust596.5-4.cable.virginmedia.com ([86.9.122.85]:65265 helo=Victoria.local) by ppsw-33.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.159]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1Oq7lp-000782-gH (Exim 4.72) for ding@gnus.org (return-path ); Mon, 30 Aug 2010 18:03:45 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 30 Aug 2010 18:43:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4) X-Spam-Score: -4.0 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70071 Archived-At: On 2010-08-30 17:43 +0100, Lars Magne Ingebrigtsen wrote: > Julien Danjou writes: > >> Using `ido-completing-read' instead of `completing-read' if a user set >> gnus-use-ido' to t would be a good solution. > > Hm... I just tried replacing completing-read with the ido method, and > I got a backtrace. So it wants a list instead of an obarray, but that's > easily enough fixed: > > Debugger entered--Lisp error: (wrong-type-argument listp [nntp+news\.gmane\.org:gmane\.comp\... > reverse([nntp+news\.gmane\.org:gmane\.comp\.ide\.anjuta\.us/... > ido-set-matches() > ido-read-internal(list "Group: " gnus-group-history nil nil nil) > ido-completing-read("Group: " [nnt... ido-completing-read doesn't support obarray etc. The doc-string says: CHOICES is a list of strings which are the possible completions. Leo