all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [gmane.emacs.help] Info-mode and ido
@ 2008-03-27  3:26 William Xu
  2008-03-30 19:42 ` Michael Olson
  0 siblings, 1 reply; 6+ messages in thread
From: William Xu @ 2008-03-27  3:26 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: message/rfc822, Size: 4376 bytes --]

From: William Xu <william.xwl@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Info-mode and ido
Date: Tue, 25 Mar 2008 20:32:44 +0900
Message-ID: <m2tziv11k3.fsf@gmail.com>

Hi, 

I'm trying to make use of ido style completion in Info-mode.
Specifically, when `m'(namely, M-x Info-menu) in info buffer, I'd like
it to do completion in ido's style.  

The relevant codes seems in info.el: 

,----[ Info-menu ]
| (completing-read (if default
|                      (format "Menu item (default %s): "
|                              default)
|                    "Menu item: ")
|                  'Info-complete-menu-item nil t)
`----

I'm thinking that I need to replace completing-read with
ido-completing-read.  I have read docstring of completing-read, but
still can't figure it out how does it work when `collection' is
function, in here, 'Info-complete-menu-buffer.

Any hints? 


[-- Attachment #2: Type: text/plain, Size: 41 bytes --]



-- 
William

http://williamxu.net9.org

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-04-03 22:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-27  3:26 [gmane.emacs.help] Info-mode and ido William Xu
2008-03-30 19:42 ` Michael Olson
2008-03-30 23:06   ` Juri Linkov
2008-03-31  3:12     ` Drew Adams
2008-04-03 22:56       ` Juri Linkov
2008-03-30 23:22   ` William Xu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.