From: Michael Olson <mwolson@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: [gmane.emacs.help] Info-mode and ido
Date: Sun, 30 Mar 2008 12:42:09 -0700 [thread overview]
Message-ID: <87ej9s6lta.fsf@grepfind.mwolson.org> (raw)
In-Reply-To: m2ej9wq233.fsf@gmail.com
[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]
William Xu <william.xwl@gmail.com> writes:
> ,----[ 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.
It would be best if a new customizable option called
`Info-completing-read-function' were defined, with 'completing-read as
its default value. Then the code could just do:
(funcall Info-completing-read-function ...)
I do this in all of the Emacs Lisp code I touch which uses
completing-read.
--
| Michael Olson | FSF Associate Member #652 |
| http://mwolson.org/ | Hobbies: Lisp, HCoop |
| Projects: Emacs, Muse, ERC, EMMS, ErBot, DVC, Planner |
`-------------------------------------------------------'
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
next prev parent reply other threads:[~2008-03-30 19:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-27 3:26 [gmane.emacs.help] Info-mode and ido William Xu
2008-03-30 19:42 ` Michael Olson [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ej9s6lta.fsf@grepfind.mwolson.org \
--to=mwolson@gnu.org \
--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 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.