--- 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 ---