[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dslide bdd5fff8d6 064/230: moving some code for packaging
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dslide bdd5fff8d6 064/230: moving some code for packaging |
Date: |
Sun, 7 Jul 2024 19:00:16 -0400 (EDT) |
branch: elpa/dslide
commit bdd5fff8d64587b678b78f64388d0fa738d7a494
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>
moving some code for packaging
Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com>
---
macro-slides.el | 30 ++++++++++++++++--------------
1 file changed, 16 insertions(+), 14 deletions(-)
diff --git a/macro-slides.el b/macro-slides.el
index 6c4b2033d2..ba340d56d3 100644
--- a/macro-slides.el
+++ b/macro-slides.el
@@ -268,6 +268,17 @@ properties remain unless shadowed."
:type 'boolean
:group 'macro-slides)
+(defcustom ms-animation-duration 1.0
+ "How long slide in takes."
+ :type 'number
+ :group 'macro-slides)
+
+(defcustom ms-animation-frame-duration (/ 1.0 60.0)
+ "Length between updates.
+Increase if your so-called machine has trouble drawing."
+ :type 'number
+ :group 'macro-slides)
+
(defcustom ms-start-hook nil
"Runs after the slide buffer is created but before first slide.
Buffer is widened and fully visible."
@@ -386,6 +397,10 @@ an SLIDE_FILTER keyword."
(defvar ms--debug nil
"Set to t for logging slides and actions.")
+
+(defvar ms--animation-timer nil)
+(defvar-local ms--animation-overlay nil)
+
;; Tell the compiler that these variables exist
(defvar ms-mode)
@@ -2420,25 +2435,12 @@ assumes the buffer is restricted and that there is a
first tree."
;; * Animation
-(defvar ms--animation-timer nil)
-(defvar-local ms--animation-overlay nil)
-
-(defcustom ms-animation-duration 1.0
- "How long slide in takes."
- :type 'number
- :group 'macro-slides)
-
-(defcustom ms-animation-frame-duration (/ 1.0 60.0)
- "Length between updates.
-Increase if your so-called machine has trouble drawing."
- :type 'number
- :group 'macro-slides)
-
;; TODO move respect for animation variables into this function
;; TODO END is a redundant argument unless a virtual newline is introduced.
;; Test if an overlay can can work via after-string.
;; TODO Support non-graphical
;; TODO Inline animation fallback, uncover text character by character.
+;; TODO User-provided animation override function
(defun ms-animation-setup (beg end)
"Slide in the region from BEG to END.
Everything after BEG will be animated. The region between BEG
- [nongnu] elpa/dslide e38a7ff5ac 125/230: Introduction in demo, (continued)
- [nongnu] elpa/dslide e38a7ff5ac 125/230: Introduction in demo, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 4a85855383 133/230: remove redundant :after, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide d6f732a080 145/230: collect animation code, use the centralized error indication, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 9cc2872b4b 050/230: update readme to reflect reality, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide b8a70b893d 052/230: options for image action, include-linked, refresh, kill-buffer, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide af7169b85b 044/230: helpful package high-level comments, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 0d9518c64e 049/230: Include demo org for feedback on configuration markup, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 0016bc71aa 058/230: pushing some changes to the demo reflecting config API updates, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide d0a0678463 070/230: Removed face remapping (it was sent to master-of-ceremonies), ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 618b803f95 067/230: !refactor Telescopio, the parents now call through their children, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide bdd5fff8d6 064/230: moving some code for packaging,
ELPA Syncer <=
- [nongnu] elpa/dslide a462b0a4ba 062/230: babel blocks should only clear results when configured to do so, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide aed4afd84a 063/230: implement hiding children, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 199bb5b68b 079/230: Properties standardized to MS_ prefix, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide ada6553434 080/230: missed a few updates to property names, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide fca6e33a6c 060/230: Properly declare generic methods, reconcile documentation, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 4af0c6b990 084/230: Remove vestigal push-* code, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 0cbd0b7bab 081/230: Remove vestigal ms-slide-hook, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 1d61b6ffc1 083/230: Codify the hooks and lifecycle feedback messages, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 31fc027f52 057/230: !temporary basic composition support, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 09b9e5bc63 071/230: keep-fill implementation for hiding, ELPA Syncer, 2024/07/07