[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 107/117: Make sure the read-input-keymap has M-O and M-[. Possibl
From: |
Matthew Fidler |
Subject: |
[elpa] 107/117: Make sure the read-input-keymap has M-O and M-[. Possibly fix Issue #280 |
Date: |
Fri, 25 Jul 2014 13:24:38 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit f30be4ba1f3336725089b948de2e0c2106a05be9
Author: Matthew L. Fidler <address@hidden>
Date: Thu Jul 24 09:33:44 2014 -0500
Make sure the read-input-keymap has M-O and M-[. Possibly fix Issue #280
---
ergoemacs-theme-engine.el | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/ergoemacs-theme-engine.el b/ergoemacs-theme-engine.el
index a8a5821..b9b470e 100644
--- a/ergoemacs-theme-engine.el
+++ b/ergoemacs-theme-engine.el
@@ -1702,6 +1702,10 @@ The actual keymap changes are included in
`ergoemacs-emulation-mode-map-alist'."
(set-default 'ergoemacs-no-shortcut-keys nil)
(set-default 'ergoemacs-read-input-keys (not remove-p))
(set-default 'ergoemacs-unbind-keys (not remove-p))
+ ;; Add M-O M-[ to read-keys for terminal compatibility
+ (when (ignore-errors (keymapp final-read-map))
+ (define-key final-read-map (read-kbd-macro "M-O" t)
'ergoemacs-read-key-default)
+ (define-key final-read-map (read-kbd-macro "M-[" t)
'ergoemacs-read-key-default))
(setq ergoemacs-mode (not remove-p)
ergoemacs-keymap final-map
ergoemacs-shortcut-keys (not remove-p)
@@ -2190,6 +2194,7 @@ DONT-COLLAPSE doesn't collapse empty keymaps"
(declare-function ergoemacs-global-changed-p "ergoemacs-unbind.el")
(declare-function ergoemacs-shuffle-keys "ergoemacs-mode.el")
+(declare-function ergoemacs-pretty-key "ergoemacs-translate.el")
(defvar ergoemacs-ignore-advice)
(defun ergoemacs-theme-component--ignore-globally-defined-key (key &optional
reset)
"Adds KEY to `ergoemacs-global-override-rm-keys' and
`ergoemacs-global-override-map' if globally redefined."
- [elpa] 99/117: Don't save so much. Just save once., (continued)
- [elpa] 99/117: Don't save so much. Just save once., Matthew Fidler, 2014/07/25
- [elpa] 100/117: Do not reset ergoemacs-command-shortcuts-hash, Matthew Fidler, 2014/07/25
- [elpa] 101/117: Add DEL as known key binding, Matthew Fidler, 2014/07/25
- [elpa] 102/117: Tell user that the global keys are overriding ergoemacs-keys, Matthew Fidler, 2014/07/25
- [elpa] 103/117: Only complain when initially changing the key, Matthew Fidler, 2014/07/25
- [elpa] 98/117: Don't remove things from the shortcut hash, Matthew Fidler, 2014/07/25
- [elpa] 106/117: Add apropos, Matthew Fidler, 2014/07/25
- [elpa] 105/117: Add C-d test, Matthew Fidler, 2014/07/25
- [elpa] 108/117: Move ergoemacs-translation-assoc declaration, Matthew Fidler, 2014/07/25
- [elpa] 104/117: Respect global keys only if true global map, Matthew Fidler, 2014/07/25
- [elpa] 107/117: Make sure the read-input-keymap has M-O and M-[. Possibly fix Issue #280,
Matthew Fidler <=
- [elpa] 109/117: Fix extracting of prefixes, Matthew Fidler, 2014/07/25
- [elpa] 110/117: Add partial support of customize-set-variable, Matthew Fidler, 2014/07/25
- [elpa] 112/117: Add deferred keys for emulation-maps, Matthew Fidler, 2014/07/25
- [elpa] 111/117: Make sure ergoemacs-menus is loaded for any easymenu changes, Matthew Fidler, 2014/07/25
- [elpa] 114/117: Remap save-buffer to commit in log-edit-mode, Matthew Fidler, 2014/07/25
- [elpa] 116/117: Fix some undo bindings., Matthew Fidler, 2014/07/25
- [elpa] 115/117: Deferred keys now work for maps that are not modified, Matthew Fidler, 2014/07/25
- [elpa] 117/117: v5.14.7.3 - Fixed some undo key bindings to work better with undo-tree - Now deferred key bindings work: When a function is undefined, it isn't added to the keymap until it becomes defined - Settings called within an ergoemacs-mode theme component block now will use customize-set-variable when they are a customizable variable. - Added some more globally defined keys to better characterize what is globally changed. - When saving settings, only save to the customize file once. - Turn off ergoemacs-mode and turn on ergoemacs-ini-mode before saving the settings. This allows ergoemacs-mode to be called when the initialization file calls it, hopefully taking care of some issues with keys changing if ergoemacs-mode is loaded before it resets the globally bound keymaps. - Added visual-line-mode support to the smart functions - Ergoemacs-mode no longer uses composed keymaps as final keymaps, so it is possible to extend to emacs 23 (will require interim composed maps so this function will need to be back-ported). - Allow ergoemacs-mode line to be turned off - Most of ergoemacs-mode has been changed to lexical scoping - Added partial support of guide-key-mode - Ergoemacs keyboard quit now looks up functions based on major mode, nd if "Q" and "C-g" are bound to something interesting, Matthew Fidler, 2014/07/25
- [elpa] 113/117: Only check for globally defined keys when setting up ergoemacs-mode keymaps, Matthew Fidler, 2014/07/25