From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/70068 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: Fancy completion Date: Mon, 30 Aug 2010 18:43:21 +0200 Organization: Programmerer Ingebrigtsen 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 1283186624 20912 80.91.229.12 (30 Aug 2010 16:43:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 16:43:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: ding@gnus.org Original-X-From: ding-owner+M18454@lists.math.uh.edu Mon Aug 30 18:43:43 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 1Oq7SQ-0000aa-MN for ding-account@gmane.org; Mon, 30 Aug 2010 18:43:43 +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 1Oq7SL-0006hy-6b; Mon, 30 Aug 2010 11:43:37 -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 1Oq7SJ-0006hg-SR for ding@lists.math.uh.edu; Mon, 30 Aug 2010 11:43:35 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Oq7SF-0007d6-F1 for ding@lists.math.uh.edu; Mon, 30 Aug 2010 11:43:35 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Oq7SE-0006lL-00 for ; Mon, 30 Aug 2010 18:43:30 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oq7SE-0000SQ-HT for ding@gnus.org; Mon, 30 Aug 2010 18:43:30 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Aug 2010 18:43:30 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 30 Aug 2010 18:43:30 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEWUj5gCAgSzrbVXVV4b Gx+Df4igaHiuAAACTklEQVQ4jW3TS5LjIAwGYBUOB6DM7ClS3scj2IdC2RNj3f8q82On0+mpZpXw WeiBTe5Y4rzzmTtzU2u5hU4nOC/l3olUAdQpvsGJbzZQs6pKSlE/IIdGjSDW2kgH+OK8r7oQtWYJ i6M5AbmlZhoQYlweHNsBM4tIbeMcEwFzZaF1RHQINwqAQJZ9TYVkgDJL1jwyo5XkhStVcUUY/xh1 TgOqFIdwEY/zK3NlNIeFZ6RopFLECZeELPU2IPfkSwZgg1VkHoWNmKYsJQeUWwBJfJG9ouvWNKUR gQcl2wsyVWsxwZElFaZxlM90WWu9YbhjvtoPQIBXAGdMyVpCjs4rwEkSQMGoDIUxQe15wKhp573M R0Qb0nWtSr5mfQoAMwzHPtKswiQ4/Ol39wAYY1/gKo2JpLy7uRl6LQuYURXXpBfnxzE4C6O0ZwR3 dHYV2cYdxaC4K+qAyrba6eLcYwso13bOqsk9ELHULVxWtD8Com23RsnfDzAI8R2vQSBANjHxDQ1e ATYfEE1UgNmPzq81LkvFiHFQiNcbmy2dMNPU3bhmiiEQ4/LPiKVOfXKYejAjexhQLfl5qhNP7ijq WB3gp6Nzu0+Cl9acsDTdXScvfV54yTG89vGDLm7C2Nl31B0w2Bfh1sfYpQtesQ0QXiHM6wzwVjDT LehXACLWOZHz1mnvf+N7Py559S/Y6RMsr3/2L9jiuw9AeTzxig5onzDV9b5+w/dKvObyG6BcPSHv Lf4E636BgG9qGqD/wYLP7g3bT3jsA7pLu/mAK/Pt6f4BPO+9GNvCnP0AAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: Akira Rabelais's _Caduceus_: "as fingers trace around the rim of a colourless sky" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:5U2cGfDsleF248CtAKxyEwjbTVI= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:70068 gmane.emacs.devel:129433 Archived-At: 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... > It seems org-mode is doing this that way. But I wonder if that's the wrong way to do it. Wouldn't it make more sense for the user to say (ido-mode '(buffer file gnus org)) and then for Gnus to look at the ido-mode variable? This requires a change in ido-mode, of course, but doesn't it seem like a more clean way for all the various packages to integrate with ido? I've crossposted this to the Emacs list for feedback. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen