[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ergoemacs-mode 6e2383d 128/325: Put all of the non-mode
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ergoemacs-mode 6e2383d 128/325: Put all of the non-mode key bindings into regular functions |
Date: |
Sat, 23 Oct 2021 18:48:36 -0400 (EDT) |
branch: externals/ergoemacs-mode
commit 6e2383de3b2f4bb946adf3fcab37a431a0148866
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>
Put all of the non-mode key bindings into regular functions
---
ergoemacs-themes.el | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/ergoemacs-themes.el b/ergoemacs-themes.el
index f050d70..9c057a1 100644
--- a/ergoemacs-themes.el
+++ b/ergoemacs-themes.el
@@ -784,7 +784,7 @@ calling any other ergoemacs-set-* function"
(global-set-key [remap ergoemacs-print-buffer-confirm]
'pr-interface)))
-(ergoemacs-component menu-bar-file ()
+(defun ergoemacs-set-menu-bar-file ()
"File menu"
(global-set-key [menu-bar file]
(cons "File"
@@ -828,7 +828,7 @@ calling any other ergoemacs-set-* function"
(exit-emacs-menu menu-item "Quit"
save-buffers-kill-emacs)
"File"))))
-(ergoemacs-component menu-bar-edit ()
+(defun ergoemacs-set-menu-bar-edit ()
"Edit menu"
(global-set-key [menu-bar edit]
(cons "Edit"
@@ -988,7 +988,7 @@ calling any other ergoemacs-set-* function"
(props menu-item "Text Properties" facemenu-menu)
"Edit"))))
-(ergoemacs-component menu-bar-search ()
+(defun ergoemacs-set-menu-bar-search ()
"Search menu"
(global-set-key [menu-bar search]
(cons "Search"
@@ -1073,7 +1073,7 @@ calling any other ergoemacs-set-* function"
(bookmark menu-item "Bookmarks"
menu-bar-bookmark-map)
"Search"))))
-(ergoemacs-component menu-bar-view ()
+(defun ergoemacs-set-menu-bar-view ()
"View menu"
(global-set-key [menu-bar view]
(cons "View"
@@ -1127,7 +1127,7 @@ calling any other ergoemacs-set-* function"
(global-linum-mode menu-item "Show/Hide line numbers
in margin" global-linum-mode :button
(:toggle . global-linum-mode))))))
-(ergoemacs-theme-component menu-bar-help ()
+(defun ergoemacs-set-menu-bar-help ()
"Help menu"
(global-set-key [menu-bar help-menu]
(cons (if (eq system-type 'darwin) "Help" "?")
@@ -1294,7 +1294,7 @@ calling any other ergoemacs-set-* function"
describe-copying)
,(if (eq system-type 'darwin) "Help" "?")))))
-(ergoemacs-component mode-line-major-mode-switch ()
+(defun ergoemacs-set-mode-line-major-mode-switch ()
"Switch major modes by clicking mode-name."
(setq ergoemacs-swap-major-modes-when-clicking-major-mode-name t))
@@ -1324,13 +1324,6 @@ calling any other ergoemacs-set-* function"
ido-remaps
multiple-cursors-remaps
quit
- ;; Reverse menu-bar order
- menu-bar-help
- menu-bar-view
- menu-bar-search
- menu-bar-edit
- menu-bar-file
- mode-line-major-mode-switch
)
:options-menu '(("Remaps" (ido-remaps multiple-cursors-remaps icy-reclaim))
("Standard Keys" (standard-fixed fixed-bold-italic quit))
@@ -1362,6 +1355,12 @@ calling any other ergoemacs-set-* function"
(ergoemacs-set-text-transform)
(ergoemacs-set-select-items)
(ergoemacs-set-quit)
+ (ergoemacs-set-menu-bar-help)
+ (ergoemacs-set-menu-bar-view)
+ (ergoemacs-set-menu-bar-search)
+ (ergoemacs-set-menu-bar-edit)
+ (ergoemacs-set-menu-bar-file)
+ (ergoemacs-set-mode-line-major-mode-switch)
)
(add-hook 'ergoemacs-mode-startup-hook #'ergoemacs-install-standard-theme)
- [elpa] externals/ergoemacs-mode b40f209 084/325: Remove duplicate entries, (continued)
- [elpa] externals/ergoemacs-mode b40f209 084/325: Remove duplicate entries, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 655f116 085/325: Remove redundant entries in term-raw-map, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode f46b453 087/325: Remove some term bindings, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 58dc2d8 083/325: Use explicit functions for term-raw-map so byte compiling works, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 1a67e04 074/325: Remove shift translation, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 876e40e 082/325: Merge branch 'master' into ergoterm, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 5464d82 088/325: Remove dead code, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 82cba16 070/325: Remove shift selection, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 80461f6 118/325: Remove debug statements, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode dc9878c 127/325: Move a whole bunch of bindings into regular functions, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 6e2383d 128/325: Put all of the non-mode key bindings into regular functions,
Stefan Monnier <=
- [elpa] externals/ergoemacs-mode 7c07d8e 136/325: Remove bindings for icicle, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 4c27ce9 141/325: Unset keys in compilation mode, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 6bd00c1 148/325: Recent menu sort of works, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode d66bd33 162/325: Fix calc binding for undo and C-f test, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 7145e87 174/325: Fix ergoemacs-move-cursor-previous-pane and ergoemacs-cut-line-or-region, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 2f6dcd0 184/325: Remove some translation stuff, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 63f665b 153/325: Make calc-bindings work again., Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode fc84e0e 177/325: Make M-up, down global rather than override keys, so they can be overridden, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode 2798242 192/325: Remove all of the ERGOEMACS-* environment variables, Stefan Monnier, 2021/10/23
- [elpa] externals/ergoemacs-mode a671c6e 196/325: Make theme-describe sort of work, Stefan Monnier, 2021/10/23