[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode e5172b8 076/325: Remove more shift trans
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ergoemacs-mode e5172b8 076/325: Remove more shift translation stuff |
Date: |
Sat, 23 Oct 2021 18:48:25 -0400 (EDT) |
branch: externals/ergoemacs-mode
commit e5172b8fcd20245237442018074c8ca4705cfe26
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>
Remove more shift translation stuff
---
ergoemacs-command-loop.el | 11 +++--------
ergoemacs-component.el | 1 -
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/ergoemacs-command-loop.el b/ergoemacs-command-loop.el
index faba8ee..f32bc40 100644
--- a/ergoemacs-command-loop.el
+++ b/ergoemacs-command-loop.el
@@ -702,9 +702,6 @@ KEYS is the keys information"
(push 'ergoemacs-timeout unread-command-events))
(setq ergoemacs-command--timeout-keys nil))))
-(defvar ergoemacs-this-command-keys-shift-translated nil
- "ergoemacs override of shift translation in command loop.")
-
(defun ergoemacs-command--echo-prefix ()
"Echos prefix keys in the ergoemacs-mode way."
(let ((keys (this-single-command-keys)))
@@ -1429,8 +1426,7 @@ needed (and resotre them to the original values)."
"Call the COMMAND interactively. Also handle mouse events (if possible.)
The RECORD-FLAG and KEYS are sent to
`ergoemacs-command-loop--grow-interactive'."
(ergoemacs-command-loop--sync-point)
- (setq ergoemacs-last-command-was-ergoemacs-ignore-p nil
- this-command-keys-shift-translated (or
ergoemacs-this-command-keys-shift-translated
this-command-keys-shift-translated))
+ (setq ergoemacs-last-command-was-ergoemacs-ignore-p nil)
(cond
((and (eventp last-command-event)
(consp last-command-event)
@@ -1447,7 +1443,7 @@ The RECORD-FLAG and KEYS are sent to
`ergoemacs-command-loop--grow-interactive'.
(ergoemacs-command-loop--grow-interactive command record-flag keys)))
(t
(ergoemacs-command-loop--grow-interactive command record-flag keys)))
- (setq ergoemacs-this-command-keys-shift-translated nil))
+ )
(defun ergoemacs-command-loop-start ()
@@ -1674,8 +1670,7 @@ Emacs versions)."
"Key sequence %s aborted by %s"
(ergoemacs-key-description last-current-key)
(ergoemacs-key-description raw-key))
- (setq quit-flag t
- ergoemacs-this-command-keys-shift-translated nil))
+ (setq quit-flag t))
;; Handle local commands.
((and (not (equal current-key raw-key))
(setq command (lookup-key local-keymap raw-key))
diff --git a/ergoemacs-component.el b/ergoemacs-component.el
index fb89e6e..aa253bd 100644
--- a/ergoemacs-component.el
+++ b/ergoemacs-component.el
@@ -376,7 +376,6 @@ Allows the component not to be calculated."
(ergoemacs-gethash (nth 1 def) ergoemacs-translation-hash)))
`(lambda(&optional arg)
(interactive "P")
- (setq ergoemacs-this-command-keys-shift-translated t)
(ergoemacs-command-loop ,(nth 0 def) ',(nth 1 def))))
((ergoemacs-keymapp (ergoemacs-sv def))
(ergoemacs-sv def))
- [elpa] externals/ergoemacs-mode ed8a7c9 191/325: Remove unused theme choice menu, (continued)
- [elpa] externals/ergoemacs-mode ed8a7c9 191/325: Remove unused theme choice menu, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 1136451 195/325: Remove all unicode-or-alt logic. Unicode all the way., Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 18f27c0 204/325: Fix SPC svg help, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode f41b18d 202/325: Remove 'apps and 'menu, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode a65ea4d 211/325: Cleanup unused declarations, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode e9259a5 210/325: Remove unused ergoemacs-component-describe, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 6bdd55b 213/325: Remove powerline stuff, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 75b9f50 221/325: More removals, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode acf3dfe 072/325: Cleanup, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 5257c0e 091/325: Remove commented code, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode e5172b8 076/325: Remove more shift translation stuff,
Stefan Monnier <=
- [elpa] externals/ergoemacs-mode e84def4 079/325: Remove unused ibuf-ext, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 45c855a 078/325: Remove ergoemacs-score, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode bd169a6 109/325: Make ergoemacs-install-standard-theme(), Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode aafc9d9 119/325: Implement many standard-fixed bindings in a regular function, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 3b10ca7 101/325: Remove ergoemacs-theme-set-version, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 7df49a1 123/325: Remove redundant tab-indents-region, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode f4e9a52 104/325: Remove more ergoemacs-theme, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 6559fb9 103/325: Remove unused declaration, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 1fb7b06 132/325: Set most org-mode bindings in a proper function. Turn off some term mapping, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode fdb9e62 139/325: Remove some C- bindings. Make M-B variable. Fix conflicts in some local modes, Stefan Monnier, 2021/10/23