emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gmane.emacs.help] Info-mode and ido


From: William Xu
Subject: [gmane.emacs.help] Info-mode and ido
Date: Thu, 27 Mar 2008 12:26:40 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (darwin)

--- Begin Message --- Subject: Info-mode and ido Date: Tue, 25 Mar 2008 20:32:44 +0900 User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.92 (darwin)
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? 


--- End Message ---

-- 
William

http://williamxu.net9.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]