[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 116/117: Fix some undo bindings.
From: |
Matthew Fidler |
Subject: |
[elpa] 116/117: Fix some undo bindings. |
Date: |
Fri, 25 Jul 2014 13:24:42 +0000 |
mlf176f2 pushed a commit to branch externals/ergoemacs-mode
in repository elpa.
commit f442b3b93c77406a5f797492b4ec2fe9bd67291e
Author: Matthew L. Fidler <address@hidden>
Date: Fri Jul 25 08:01:26 2014 -0500
Fix some undo bindings.
---
ergoemacs-themes.el | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index 8417d80..36ae52d 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -227,7 +227,7 @@
;; (global-set-key (kbd "C-u") 'ergoemacs-universal-argument)
(global-set-key (kbd "<M-backspace>") '(undo-tree-undo undo))
- (global-set-key (kbd "C-z") 'undo)
+ (global-set-key (kbd "C-z") '(undo-tree-undo undo))
;; Take out undo-tree's redo bindings
(when ergoemacs-theme-hook
@@ -670,14 +670,14 @@
(global-set-key (kbd "C-_") nil)
(global-set-key (kbd "C-/") nil)
(global-set-key (kbd "C-x u") nil)
- (global-set-key (kbd "M-z") 'undo)
+ (global-set-key (kbd "M-z") '(undo-tree-undo undo))
;; Fixed Component; Note that <timeout> is the actual function.
(global-set-key (kbd "C-c <timeout>") 'ergoemacs-copy-line-or-region)
(global-set-key (kbd "C-c") 'ergoemacs-ctl-c)
(global-set-key (kbd "C-x <timeout>") 'ergoemacs-cut-line-or-region)
(global-set-key (kbd "C-x") 'ergoemacs-ctl-x)
- (global-set-key (kbd "C-z") 'undo)
+ (global-set-key (kbd "C-z") '(undo-tree-undo undo))
(global-set-key (kbd "C-S-z") '(redo undo-tree-redo ergoemacs-redo))
(global-set-key (kbd "C-y") '(redo undo-tree-redo ergoemacs-redo))
@@ -689,7 +689,8 @@
(define-key isearch-mode-map (kbd "C-v") 'isearch-yank-kill))
(define-key org-mode-map [remap ergoemacs-paste] 'ergoemacs-org-yank)
(define-key org-mode-map [remap ergoemacs-paste] 'ergoemacs-org-yank)
- (define-key browse-kill-ring-mode-map [remap undo]
'browse-kill-ring-undo-other-window))
+ (define-key browse-kill-ring-mode-map [remap undo]
'browse-kill-ring-undo-other-window)
+ (define-key browse-kill-ring-mode-map [remap undo-tree-undo]
'browse-kill-ring-undo-other-window))
(ergoemacs-theme-component search ()
"Search and Replace"
@@ -863,7 +864,7 @@
(global-set-key (kbd "<apps> v") 'ergoemacs-paste)
(global-set-key (kbd "<apps> b") '(redo undo-tree-redo ergoemacs-redo))
(global-set-key (kbd "<apps> t") 'switch-to-buffer)
- (global-set-key (kbd "<apps> z") 'undo)
+ (global-set-key (kbd "<apps> z") '(undo-tree-undo undo))
(global-set-key (kbd "<apps> r") goto-map))
(ergoemacs-theme-component apps-toggle ()
- [elpa] 106/117: Add apropos, (continued)
- [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, 2014/07/25
- [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 <=
- [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