[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/nano-modeline 67ad139060 15/26: Org capture mode with b
From: |
ELPA Syncer |
Subject: |
[elpa] externals/nano-modeline 67ad139060 15/26: Org capture mode with buttons |
Date: |
Fri, 2 Jun 2023 03:59:07 -0400 (EDT) |
branch: externals/nano-modeline
commit 67ad13906001f88da662909170fc43f772bb34a7
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Org capture mode with buttons
---
nano-modeline.el | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/nano-modeline.el b/nano-modeline.el
index 0e04e299c6..8eacd849ef 100644
--- a/nano-modeline.el
+++ b/nano-modeline.el
@@ -790,13 +790,15 @@ made DEFAULT."
(defun nano-modeline-org-capture-mode ()
"Nano line for org capture mode"
-
- (funcall nano-modeline-position
- '((nano-modeline-buffer-status "ORG") " "
- (nano-modeline-buffer-name "Capture") " "
- (nano-modeline-org-capture-description))
- '("Finish: C-c C-c, refile: C-c C-w, cancel: C-c C-k "
- (nano-modeline-window-dedicated))))
+
+ (let ((buttons '(("CAPTURE" . org-capture-finalize)
+ ("CANCEL" . org-capture-kill))))
+ (funcall nano-modeline-position
+ `((nano-modeline-buffer-status "ORG") " "
+ (nano-modeline-buffer-name "Capture") " "
+ (nano-modeline-org-capture-description))
+ `((nano-modeline-buttons ,buttons t) " "
+ (nano-modeline-window-dedicated)))))
(defun nano-modeline-org-agenda-mode ()
"Nano line for org capture mode"
- [elpa] externals/nano-modeline a2bf4fd073 22/26: Several group of butons are now possible, (continued)
- [elpa] externals/nano-modeline a2bf4fd073 22/26: Several group of butons are now possible, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline bead6850a1 26/26: Add usage example to documentation, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 0b47e73d04 18/26: Added possibility for dynamic buttons, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 7331307df8 03/26: Upated documentation to new implementation, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 239000d7e1 10/26: Handle case when fringes are outside margins, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 93c78fd956 12/26: Renamed faces to name/primary/secondary, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 7f5879ead9 14/26: Better org-mode, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 4e5be76d98 17/26: Message compose mode with buttons, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline e3a04505ff 05/26: Optional symbols, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 8304ce072f 06/26: Simplification of faces, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 67ad139060 15/26: Org capture mode with buttons,
ELPA Syncer <=
- [elpa] externals/nano-modeline 1fc418a2f5 19/26: Added buttons to all mu4e modes, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 3773403dbe 20/26: Added help message for buttons, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline cba074e55c 23/26: Tagged version 1.0, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 8a609b63c3 24/26: Removed old screenshots, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 60f1862b08 25/26: Typos, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline aba353af56 11/26: Added elpher mode, ELPA Syncer, 2023/06/02
- [elpa] externals/nano-modeline 892a815cc9 21/26: Added view as html button for mu4e, ELPA Syncer, 2023/06/02