unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Info-mode and ido
@ 2008-03-25 11:32 William Xu
  2008-03-29 22:02 ` Drew Adams
  0 siblings, 1 reply; 13+ messages in thread
From: William Xu @ 2008-03-25 11:32 UTC (permalink / raw)
  To: help-gnu-emacs

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? 

-- 
William

http://williamxu.net9.org





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

end of thread, other threads:[~2008-03-31 17:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-25 11:32 Info-mode and ido William Xu
2008-03-29 22:02 ` Drew Adams
2008-03-30  7:49   ` William Xu
2008-03-30  9:12     ` Peter Dyballa
2008-03-30  9:18       ` William Xu
2008-03-30 16:42         ` Drew Adams
2008-03-30 16:42     ` Drew Adams
2008-03-31  0:20       ` William Xu
2008-03-31  1:29         ` Drew Adams
2008-03-31  2:40           ` William Xu
2008-03-31  3:34             ` Drew Adams
2008-03-31  4:05               ` William Xu
2008-03-31 17:29                 ` Drew Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).