[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/lentic a5a001f999 183/333: Lentic-mode menu corrected a
From: |
ELPA Syncer |
Subject: |
[elpa] externals/lentic a5a001f999 183/333: Lentic-mode menu corrected and extended. |
Date: |
Tue, 27 Feb 2024 13:00:33 -0500 (EST) |
branch: externals/lentic
commit a5a001f999ccb77c874367cba54660229101a048
Author: Phillip Lord <phillip.lord@newcastle.ac.uk>
Commit: Phillip Lord <phillip.lord@newcastle.ac.uk>
Lentic-mode menu corrected and extended.
The swap menu item was not working, and the short-cut key for
"right" clashed with senator. Those commands with create a new
lentic are now disabled when a lentic already exists.
---
README.md | 4 ++++
lentic-mode.el | 15 ++++++++++-----
2 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 1d5ba38490..30ab767520 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,10 @@ Previously, lentic was known as linked-buffer.
- haskell->latex support added
+#### Bug Fix
+
+- "swap" menu item now functional
+
### 0.6.1
#### Bug Fix
diff --git a/lentic-mode.el b/lentic-mode.el
index db36b622d2..c0bec9a1e2 100644
--- a/lentic-mode.el
+++ b/lentic-mode.el
@@ -143,11 +143,16 @@ A and B are the buffers."
(easy-menu-change
'("Edit")
"Lentic"
- '(["Create Here" lentic-mode-create-in-selected-window]
- ["Split Below" lentic-mode-split-window-below]
- ["Split Right" lentic-mode-split-window-right]
+ '(["Create Here" lentic-mode-create-in-selected-window
+ :active (not lentic-config)]
+ ["Split Below" lentic-mode-split-window-below
+ :active (not lentic-config)]
+ ["Split Right" lentic-mode-split-window-right
+ :active (not lentic-config)]
+ ["Insert File Local" lentic-mode-insert-file-local
+ :active (not lentic-config)]
["Move Here" lentic-mode-move-lentic-window :active lentic-config]
- ["Swap" lentic-mode-swap-buffer-windows :active lentic-config]))
+ ["Swap" lentic-mode-swap-lentic-window :active lentic-config]))
;;;###autoload
(defun lentic-mode-insert-file-local (init-function)
@@ -175,7 +180,7 @@ A and B are the buffers."
(kbd "C-c ,b") 'lentic-mode-split-window-below)
(define-key lentic-start-mode-map
- (kbd "C-c ,r") 'lentic-mode-split-window-right)
+ (kbd "C-c ,t") 'lentic-mode-split-window-right)
(define-key lentic-start-mode-map
(kbd "C-c ,f") 'lentic-mode-insert-file-local)
- [elpa] externals/lentic c0e73bda5f 170/333: Examples all updated to be self-describing., (continued)
- [elpa] externals/lentic c0e73bda5f 170/333: Examples all updated to be self-describing., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 416a9bd06b 169/333: lentic-delayed loaded during test., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 5e22d597d0 176/333: Move to MELPA-stable for release., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 30e898608d 173/333: Simple delete test., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic d9fd2c2e40 175/333: Documentation Updates., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic ec9bcd0d64 180/333: Update for 0.6.1 release., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 11a35ea3ac 181/333: Prepare for next iteration., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 4003ae1a41 194/333: Travis badge., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic d6ac74dc73 191/333: No error if m-buffer is not present., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 6587a9a0f7 198/333: Missing dev-resource added., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic a5a001f999 183/333: Lentic-mode menu corrected and extended.,
ELPA Syncer <=
- [elpa] externals/lentic 3431295354 195/333: License updates in some files., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 450de96809 187/333: Remove file on exit., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 9c60f116a8 200/333: Lentic top level documentation added., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 66a056211c 202/333: Copyright and Documentation updates., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 2e290c74e3 207/333: Multiple oset added, and factor constructors., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 71017538d7 211/333: Multiple lentic-buffers are now possible., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 0b8b94003d 214/333: Multiple buffer support for org/orgel., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 849dc0dc24 209/333: Default mode is now the same as main buffer., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 61d6ea4ac5 222/333: Save lentic buffers only when file-associated., ELPA Syncer, 2024/02/27
- [elpa] externals/lentic 28a1951c14 216/333: Use default-browser for external view., ELPA Syncer, 2024/02/27