From: dnquark <dnquark@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: ido breaks command-history
Date: Sat, 11 Jul 2009 17:58:15 -0700 (PDT) [thread overview]
Message-ID: <5cf19341-41c0-4046-9c38-3187d8676959@k20g2000vbp.googlegroups.com> (raw)
I am using ido to complete the M-x commands, as described on EmacsWiki
-- http://www.emacswiki.org/emacs/InteractivelyDoThings.
Unfortunately, when ido is used M-x commands are no longer recorder in
the command history. As a result, C-x z, as well as browsing history
in the minibuffer with M-p and M-n no longer works. Does anyone have
an idea of how to go about fixing thisi?.. The emacsWiki code is
below:
(setq ido-execute-command-cache nil)
(defun ido-execute-command ()
(interactive)
(call-interactively
(intern
(ido-completing-read
"M-x "
(progn
(unless ido-execute-command-cache
(mapatoms (lambda (s)
(when (commandp s)
(setq ido-execute-command-cache
(cons (format "%S" s) ido-execute-
command-cache))))))
ido-execute-command-cache)))))
(add-hook 'ido-setup-hook
(lambda ()
(setq ido-enable-flex-matching t)
(global-set-key "\M-x" 'ido-execute-command)))
next reply other threads:[~2009-07-12 0:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-12 0:58 dnquark [this message]
2009-07-13 20:40 ` ido breaks command-history muede
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=5cf19341-41c0-4046-9c38-3187d8676959@k20g2000vbp.googlegroups.com \
--to=dnquark@gmail.com \
--cc=help-gnu-emacs@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.