From: Daniel Brockman <daniel@brockman.se>
Subject: Re: [PATCH] Switching from (ido-mode 'both) to (ido-mode 'buffer) doesn't work
Date: Tue, 14 Jun 2005 07:28:05 +0200 [thread overview]
Message-ID: <87ll5dtsm2.fsf@wigwam.deepwood.net> (raw)
In-Reply-To: 87acmtjicw.fsf@wigwam.deepwood.net
[-- Attachment #1: Type: text/plain, Size: 117 bytes --]
I sent this patch over three weeks ago, but didn't get any response.
Kim, could you check whether this patch is ok?
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1024 bytes --]
*** ido.el 14 Jun 2005 06:25:37 +0200 1.61
--- ido.el 14 Jun 2005 07:24:49 +0200
***************
*** 1320,1328 ****
(add-hook 'kill-emacs-hook 'ido-kill-emacs-hook)
! (unless ido-minor-mode-map-entry
! (setq ido-minor-mode-map-entry (cons 'ido-mode (make-sparse-keymap)))
! (add-to-list 'minor-mode-map-alist ido-minor-mode-map-entry))
(let ((map (cdr ido-minor-mode-map-entry)))
(when (memq ido-mode '(file both))
--- 1320,1330 ----
(add-hook 'kill-emacs-hook 'ido-kill-emacs-hook)
! ;; Rebuild the keymap each time so that old bindings are not retained.
! ;; This is necessary when switching from `both' to either `buffer' or `file'.
! (setq ido-minor-mode-map-entry (cons 'ido-mode (make-sparse-keymap)))
! (setq minor-mode-map-alist (assq-delete-all 'ido-mode minor-mode-map-alist))
! (add-to-list 'minor-mode-map-alist ido-minor-mode-map-entry)
(let ((map (cdr ido-minor-mode-map-entry)))
(when (memq ido-mode '(file both))
[-- Attachment #3: Type: text/plain, Size: 42 bytes --]
--
Daniel Brockman <daniel@brockman.se>
[-- Attachment #4: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2005-06-14 5:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-18 3:58 [PATCH] Switching from (ido-mode 'both) to (ido-mode 'buffer) doesn't work Daniel Brockman
2005-06-14 5:28 ` Daniel Brockman [this message]
2005-06-14 6:00 ` Daniel Brockman
2005-06-14 15:09 ` Kim F. Storm
2005-06-14 15:19 ` Daniel Brockman
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=87ll5dtsm2.fsf@wigwam.deepwood.net \
--to=daniel@brockman.se \
/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.