[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dslide 76ff3c1b06 151/230: - dumping off some minor cleanu
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dslide 76ff3c1b06 151/230: - dumping off some minor cleanup line noise |
Date: |
Sun, 7 Jul 2024 19:00:29 -0400 (EDT) |
branch: elpa/dslide
commit 76ff3c1b069791d07d925836f0c24dc8348f35cb
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>
- dumping off some minor cleanup line noise
Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com>
---
dslide.el | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/dslide.el b/dslide.el
index fe34bb0dd5..f4e616e452 100644
--- a/dslide.el
+++ b/dslide.el
@@ -225,7 +225,7 @@ Turn off by setting to nil. Plist keys and where they are
used:
(defcustom dslide-breadcrumb-face '(:inherit org-level-8)
"Face added to the list of faces for breadcrumbs.
-This can be a face name symbol or an anonymous font spec. It
+This can be a face name symbol or an anonymous face spec. It
will be added to the face list, meaning it the original face's
properties remain unless shadowed."
:type 'face
@@ -2185,8 +2185,6 @@ assumes the buffer is restricted and that there is a
first tree."
;; * Animation
;; 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
@@ -2200,6 +2198,7 @@ and the value of `point-max' should contain a newline
somewhere."
dslide-animation-duration))
(newline-region (save-match-data
(save-excursion
+ ;; TODO invalid search range (point in wrong
place)
(goto-char beg)
(if (re-search-forward "\n" end t)
(list (match-beginning 0)
@@ -2255,13 +2254,15 @@ and the value of `point-max' should contain a newline
somewhere."
(marker-position (oref slide begin))
(save-restriction
(widen)
- (buffer-substring headline-begin (1- headline-end)))))))
+ (buffer-substring-no-properties
+ headline-begin (1- headline-end)))))))
(defun dslide--cleanup-state ()
"Clean up states between contents and slides."
(dslide--delete-header)
(dslide--delete-overlays)
(dslide--animation-cleanup)
+ ;; TODO oref & oset outside of class
(mapc (lambda (f) (funcall f nil))
(oref dslide--deck step-callbacks))
(oset dslide--deck step-callbacks nil)
@@ -2516,7 +2517,6 @@ the caller."
dslide--deck
(dslide-deck-live-p dslide--deck)))
-;; TODO rename these functions to `switch-to'?
(defun dslide-display-slides ()
(dslide--ensure-slide-buffer t)
(dslide--cleanup-state)
@@ -2557,7 +2557,8 @@ Optional FACE defaults to `dslide-highlight'."
(defun dslide--follow (progress)
"Set the base buffer window point to PROGRESS.
-PROGRESS must be an integer buffer location, not a marker."
+PROGRESS is a slide object, marker, buffer position, or
+boolean (which will be ingored)."
(unless (dslide-live-p)
(error "Live deck not found"))
(let ((pos (cond ((integerp progress) progress)
- [nongnu] elpa/dslide 1d61b6ffc1 083/230: Codify the hooks and lifecycle feedback messages, (continued)
- [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
- [nongnu] elpa/dslide 2c515e58d0 127/230: remove redundant actions in demo, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 5cf6e1d521 102/230: option to hide mode line when displaying images, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 0087bce96f 082/230: Finished some incomplete parts of the README, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 7e0cf003b0 092/230: don't log feedback messages to the message log, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 1472ac4601 137/230: package lint, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide d33205f260 138/230: soft-require hide-mode-line, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide c131653996 139/230: Remove extraneous +1, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 76ff3c1b06 151/230: - dumping off some minor cleanup line noise,
ELPA Syncer <=
- [nongnu] elpa/dslide bdc16a2b5d 148/230: multiple animation timers, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide ccb8064891 152/230: ensure-slide-buffer only displays when not already displayed, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide cd785d24b3 160/230: Override default dbase-end implementation for image action, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 24253f64c0 157/230: introducing reverse-in-place, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide dbcf00d38d 161/230: allow inclusive matching in section mapping, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide df1fca1b87 167/230: animations are set up without restriction, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 659a5d1429 169/230: inline child action overhaul. much better, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 90f9ff272d 175/230: correcting some mininformation, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 0f123e3638 177/230: Rename DSLIDE_SECTION_ACTIONS -> DSLIDE_ACTIONS, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide fd7acfa477 186/230: fix item reveal progress indication (broken a bit in recent rewrite), ELPA Syncer, 2024/07/07