[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 71/287: Fix isearch issues.
From: |
Matthew Fidler |
Subject: |
[elpa] 71/287: Fix isearch issues. |
Date: |
Wed, 02 Jul 2014 14:44:43 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit d9b2f499806e3a1f9c55f9300e75d775874cb893
Author: Matthew L. Fidler <address@hidden>
Date: Wed Jun 11 13:00:27 2014 -0500
Fix isearch issues.
---
ergoemacs-theme-engine.el | 22 +++++++++++++++++-----
1 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/ergoemacs-theme-engine.el b/ergoemacs-theme-engine.el
index 2fd1a39..7632158 100644
--- a/ergoemacs-theme-engine.el
+++ b/ergoemacs-theme-engine.el
@@ -1141,10 +1141,22 @@ FULL-SHORTCUT-MAP-P "
(setq n-map (copy-keymap map))
(ergoemacs-theme--install-shortcuts-list
shortcut-list n-map o-map full-map)
- (set map-name (copy-keymap
- (make-composed-keymap
- n-map
- o-map)))))
+ (cond
+ ((ignore-errors
+ (and (eq (nth 0 (nth 1 n-map)) 'keymap)
+ (not (keymap-parent n-map))))
+ (pop n-map)
+ ;; (push (make-sparse-keymap "ergoemacs-modified") n-map)
+ )
+ (t
+ ;; (setq n-map (list (make-sparse-keymap
"ergoemacs-modified") n-map))
+ ))
+ (setq n-map (copy-keymap
+ (make-composed-keymap
+ n-map
+ o-map)))
+ (define-key n-map [ergoemacs] 'ignore)
+ (set map-name n-map)))
(t ;; Maps that are not modified.
(unless remove-p
(message "Setup %s" hook)
@@ -1290,7 +1302,7 @@ The actual keymap changes are included in
`ergoemacs-emulation-mode-map-alist'."
(defun ergoemacs-get-fixed-map--composite (map-list)
(or (and map-list
(or (and (= 1 (length map-list)) (nth 0 map-list))
- (make-composed-keymap (reverse map-list))))
+ (make-composed-keymap map-list)))
(make-sparse-keymap)))
(defmethod ergoemacs-get-fixed-map ((obj ergoemacs-theme-component-map-list)
&optional keymap layout)
- [elpa] 55/287: Nicer theme debugging display, (continued)
- [elpa] 55/287: Nicer theme debugging display, Matthew Fidler, 2014/07/02
- [elpa] 56/287: Better key replacements., Matthew Fidler, 2014/07/02
- [elpa] 64/287: Replace either M-x or <execute> with M-x code., Matthew Fidler, 2014/07/02
- [elpa] 63/287: Fixed mapvar issues., Matthew Fidler, 2014/07/02
- [elpa] 47/287: Stage some components, Matthew Fidler, 2014/07/02
- [elpa] 62/287: Playing with object more., Matthew Fidler, 2014/07/02
- [elpa] 53/287: Better debug and modify keymaps fix bugs, Matthew Fidler, 2014/07/02
- [elpa] 59/287: Fix typo, Matthew Fidler, 2014/07/02
- [elpa] 61/287: Ergoemacs-mode setup with object almost complete., Matthew Fidler, 2014/07/02
- [elpa] 66/287: Make ergoemacs-clean toggle debug on error, Matthew Fidler, 2014/07/02
- [elpa] 71/287: Fix isearch issues.,
Matthew Fidler <=
- [elpa] 60/287: Ensure the object-name is a string. EIEIO seems to prefer this., Matthew Fidler, 2014/07/02
- [elpa] 69/287: Install shortcut-layer appropriately for keymaps., Matthew Fidler, 2014/07/02
- [elpa] 73/287: use remove-duplicates instead, Matthew Fidler, 2014/07/02
- [elpa] 70/287: Fix most global-set-key after issues, Matthew Fidler, 2014/07/02
- [elpa] 65/287: Add more emulation alists. Less list manipulation, Matthew Fidler, 2014/07/02
- [elpa] 74/287: Fix <apps> e t bug with object interface., Matthew Fidler, 2014/07/02
- [elpa] 75/287: Only put in shortcut-hash if not removed from keymap., Matthew Fidler, 2014/07/02
- [elpa] 68/287: Make the caching more robust, Matthew Fidler, 2014/07/02
- [elpa] 72/287: Fix copy objects to allow keymap versions., Matthew Fidler, 2014/07/02
- [elpa] 79/287: Fix final map to be a composed keymap that works with ergoemacs-rm-key, Matthew Fidler, 2014/07/02