[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode dd8796f 075/325: Remove unused shift tra
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ergoemacs-mode dd8796f 075/325: Remove unused shift translation code |
Date: |
Sat, 23 Oct 2021 18:48:25 -0400 (EDT) |
branch: externals/ergoemacs-mode
commit dd8796f74ad0d0f54d75ebd7176e812c1c328151
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>
Remove unused shift translation code
---
ergoemacs-command-loop.el | 19 +------------------
ergoemacs-mode.el | 6 ------
2 files changed, 1 insertion(+), 24 deletions(-)
diff --git a/ergoemacs-command-loop.el b/ergoemacs-command-loop.el
index 4e91b05..faba8ee 100644
--- a/ergoemacs-command-loop.el
+++ b/ergoemacs-command-loop.el
@@ -173,7 +173,6 @@ ignore the post-command hooks.")
(defvar ergoemacs-command-loop-time-before-blink)
(defvar ergoemacs-command-loop-blink-character)
(defvar ergoemacs-command-loop-blink-rate)
-(defvar ergoemacs-command-loop-hide-shift-translations)
(defvar ergoemacs-mode)
(defvar ergoemacs-command-loop-type)
(defvar ergoemacs-keymap)
@@ -787,8 +786,7 @@ read."
;; Don't echo the uncommon hyper/super/alt translations (alt is
;; not the alt key...)
(dolist (tr trans)
- (unless (or (memq 'hyper (nth 0 tr)) (memq 'super (nth 0 tr)) (memq
'alt (nth 0 tr))
- (and ergoemacs-command-loop-hide-shift-translations (memq
'shift (nth 0 tr))))
+ (unless (or (memq 'hyper (nth 0 tr)) (memq 'super (nth 0 tr)) (memq
'alt (nth 0 tr)))
(if (member (list (nth 1 tr) (nth 0 tr)) trans)
(when (not (member (list (nth 1 tr) (nth 0 tr)) double))
(push tr double))
@@ -2091,22 +2089,7 @@ pressed the translated key by changing
(setq ergoemacs-command-loop--single-command-keys nil)))))
;; (ergoemacs-command-loop--spinner-end)
))
-(defun ergoemacs-command-loop--shift-timeout ()
- "This is the shift-timeout function for a key."
- (interactive)
- (let ((shift-trans (ergoemacs-translate--emacs-shift
(this-single-command-keys))))
- (setq ergoemacs-this-command-keys-shift-translated t)
- (ergoemacs-command-loop--internal shift-trans)))
-(defun ergoemacs-command-loop--shift-translate ()
- "Shift translation."
- (interactive)
- (let ((shift-trans (ergoemacs-translate--emacs-shift
(this-single-command-keys) 'ergoemacs-shift)))
- (message "%s->%s" (key-description (this-single-command-keys))
- (key-description shift-trans))
- (setq ergoemacs-this-command-keys-shift-translated t
- this-command-keys-shift-translated t)
- (ergoemacs-command-loop--call-interactively (key-binding shift-trans))))
(provide 'ergoemacs-command-loop)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; ergoemacs-command-loop.el ends here
diff --git a/ergoemacs-mode.el b/ergoemacs-mode.el
index ea98246..76534a8 100644
--- a/ergoemacs-mode.el
+++ b/ergoemacs-mode.el
@@ -941,12 +941,6 @@ Valid values are:
(const :tag "No command loop support" nil))
:group 'ergoemacs-comamnd-loop)
-(defcustom ergoemacs-command-loop-hide-shift-translations t
- "Hide shift translations in the command loop help."
- :type 'boolean
- :group 'ergoemacs-command-loop)
-
-
(defcustom ergoemacs-command-loop-echo-keystrokes 1
"The amount of time before `ergoemacs-mode' displays keystrokes."
:type 'number
- [elpa] externals/ergoemacs-mode dd59643 135/325: Modify log-edit mode in a proper function, (continued)
- [elpa] externals/ergoemacs-mode dd59643 135/325: Modify log-edit mode in a proper function, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 331a359 007/325: Directly bind a bunch of shift keys, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 25dd364 038/325: Remove ergoemacs-command-loop--modal-stack, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 96cb33d 040/325: Remove ergoemacs-command-loop--modal-p, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode ade1df9 046/325: Cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 61410ff 051/325: Fix a typo when invoking a timeout, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 6868238 058/325: Merge branch 'master' into ergoterm, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 87a332c 073/325: Merge branch 'master' into HEAD, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 9664994 093/325: Remove eshell <home> weirdness, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 7499511 080/325: Spacing fix, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode dd8796f 075/325: Remove unused shift translation code,
Stefan Monnier <=
- [elpa] externals/ergoemacs-mode 8b40059 102/325: Replace ergoemacs-theme--list with hard coded "standard", Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode a9ec5df 122/325: Remove Redo menu, make Undo show up, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 8cb01f2 100/325: Remove unused declarations, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode ad4202a 130/325: Remove unused components, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 63ba586 133/325: Get rid of undo-tree and browse-kill-ring bindings, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode ff0ec3b 140/325: Make comint and dired bindings into hooks, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 2adc6aa 146/325: Remove many C-S- bindings. Make M-C-[:; ] work. Small cleanups., Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode d198bd3 149/325: Delete dead code, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 1ca781f 145/325: Fix info mode, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 238435f 154/325: Lots of isearch fixes, with a few other minor fixes to mode maps, Stefan Monnier, 2021/10/23