[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dslide 91b8fcaf92 153/230: introducing dslide-deck-develop
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dslide 91b8fcaf92 153/230: introducing dslide-deck-develop |
Date: |
Sun, 7 Jul 2024 19:00:30 -0400 (EDT) |
branch: elpa/dslide
commit 91b8fcaf926c2719cc3a726d9f531847b09710ff
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>
introducing dslide-deck-develop
Display the base buffer and slide buffer side by side, for faster set-up
when
wanting to follow the buffer to track progress and debug the presentation
Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com>
---
dslide.el | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/dslide.el b/dslide.el
index f8edf863fc..df411b1e51 100644
--- a/dslide.el
+++ b/dslide.el
@@ -2531,6 +2531,12 @@ the caller."
(org-fold-show-all)
(dslide-begin dslide--deck))
+(defun dslide-display-develop ()
+ (dslide-display-slides)
+ (let ((base-buffer (oref dslide--deck base-buffer)))
+ (unless (get-buffer-window base-buffer)
+ (display-buffer base-buffer 'display-buffer-pop-up-window))))
+
(defun dslide--base-buffer-highlight-region (beg end &optional face)
"Pulse region between BEG and END in base buffer.
Optional FACE defaults to `dslide-highlight'."
@@ -2679,6 +2685,21 @@ video or custom actions."
#'dslide-display-slides))
(dslide-mode 1))))
+;; TODO
+;;;###autoload
+(defun dslide-deck-develop ()
+ "Show both the base and slide buffer."
+ (interactive)
+ (let ((major-mode (buffer-local-value 'major-mode (current-buffer))))
+ (unless (or (dslide-live-p)
+ (eq 'org-mode major-mode))
+ (user-error "Not an org buffer and no other live presentation"))
+ (if (dslide-live-p)
+ ;; show the correct buffers
+ (dslide-display-develop)
+ (let ((dslide-start-function #'dslide-display-develop))
+ (dslide-mode 1)))))
+
;;;###autoload
(defun dslide-deck-forward ()
"Advance slideshow forward."
- [nongnu] elpa/dslide 2aa53d8341 094/230: recenter after opening contents, (continued)
- [nongnu] elpa/dslide 2aa53d8341 094/230: recenter after opening contents, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide b57afb0da4 122/230: default breadcrumb face to inherit org-level-8, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide bf99a7df69 108/230: attr_methods -> atter_ms, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide aee6f28d4c 103/230: reasonable behavior for `ms-start-from' set to 'point, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 3547b1a1a7 107/230: rearranged demo, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 5956b98172 132/230: :results none in babel. really wish I could let-bind this, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide fe63ace5ca 144/230: empty presentation for test suite, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 92b39b410f 131/230: interesting bug in custom action, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 7f578b605a 130/230: old name left over, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 40b4bfe353 147/230: multiple animation overlays, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 91b8fcaf92 153/230: introducing dslide-deck-develop,
ELPA Syncer <=
- [nongnu] elpa/dslide 64dc89cd0f 156/230: allow explicit 'none for slide action class, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 93585c9173 158/230: slide composition order change (soon to refactor), ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 00597b9770 155/230: customization reminders in the demo, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 77126167a3 159/230: remove extraneous method qualifiers, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 2ec658ec9e 162/230: reverse-in-place for children, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide a58a915104 163/230: understand progress from org elements, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 586082e591 165/230: set overlay initial height, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 6cf49d2625 181/230: Oh yeah, seq-find doesn't return the result, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 935224a638 182/230: ! introducing peel animation, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 217ddbe03e 185/230: a bit better display behavior, ELPA Syncer, 2024/07/07