From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andrea Crotti Newsgroups: gmane.emacs.help Subject: Re: Using ido-completions in other packages Date: Sat, 05 Jun 2010 16:15:57 +0200 Message-ID: References: <87hbljqd4h.fsf@thinkpad.tsdh.de> <87r5kndmso.fsf@gmail.com> <87pr073po8.fsf@tux.homenetwork> <87eigm4ymo.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275747469 10463 80.91.229.12 (5 Jun 2010 14:17:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Jun 2010 14:17:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 05 16:17:47 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OKuBP-0004Zy-0F for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jun 2010 16:17:47 +0200 Original-Received: from localhost ([127.0.0.1]:34205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKuAs-0000Cu-6A for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jun 2010 10:16:34 -0400 Original-Received: from [140.186.70.92] (port=35893 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OKuAW-0000CO-Hg for help-gnu-emacs@gnu.org; Sat, 05 Jun 2010 10:16:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OKuAV-0001lp-9U for help-gnu-emacs@gnu.org; Sat, 05 Jun 2010 10:16:12 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:50663) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OKuAV-0001lI-4A for help-gnu-emacs@gnu.org; Sat, 05 Jun 2010 10:16:11 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OKuAR-0004Jx-3A for help-gnu-emacs@gnu.org; Sat, 05 Jun 2010 16:16:07 +0200 Original-Received: from p508a4f79.dip.t-dialin.net ([80.138.79.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jun 2010 16:16:07 +0200 Original-Received: from andrea.crotti.0 by p508a4f79.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Jun 2010 16:16:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 28 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p508a4f79.dip.t-dialin.net User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (darwin) Cancel-Lock: sha1:Y2uXJHcQSa4KAwREB3CRi/StEck= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73831 Archived-At: Thierry Volpiatto writes: > Andrea Crotti writes: > > Try that: > > copy/paste the function senator-jump in your .emacs and replace > (apply #'completing-read > by > (apply #'ido-completing-read > > That will give you ido completion, but if > (senator-completion-list in-context) return nothing (nil) > the problem come from here. > > To know that, use C-u C-M x on the function senator-jump and use it, > and then use "n" to step throught the code. > > Do you have completion with the original code?(i.e using > completing-read) Great - copy pasting - modifying - evaluating and it works, even if not perfect at all I have to say... But then I tried both the approaches you've sended me here and they don't work, so what could be the problem?