From: William Xu <william.xwl@gmail.com>
To: emacs-devel@gnu.org
Subject: [gmane.emacs.help] Info-mode and ido
Date: Thu, 27 Mar 2008 12:26:40 +0900 [thread overview]
Message-ID: <m2ej9wq233.fsf@gmail.com> (raw)
[-- 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
next reply other threads:[~2008-03-27 3:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-27 3:26 William Xu [this message]
2008-03-30 19:42 ` [gmane.emacs.help] Info-mode and ido 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2ej9wq233.fsf@gmail.com \
--to=william.xwl@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).