[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/dslide 63d93ec6bf 028/230: Dead code on slide
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/dslide 63d93ec6bf 028/230: Dead code on slide |
Date: |
Sun, 7 Jul 2024 19:00:11 -0400 (EDT) |
branch: elpa/dslide
commit 63d93ec6bf2740deae28b66254fa240e897d2f3a
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>
Dead code on slide
Somewhere along the way, this simplified out. Anyway, moving the element
stuff
to slide actions
Signed-off-by: Psionik K <73710933+psionic-k@users.noreply.github.com>
---
macro-slides.el | 39 ---------------------------------------
1 file changed, 39 deletions(-)
diff --git a/macro-slides.el b/macro-slides.el
index c5108193f6..c01ed45130 100644
--- a/macro-slides.el
+++ b/macro-slides.el
@@ -1266,49 +1266,10 @@ heading and stores actions and their states.")
heading filter)))
(ms--make-slide previous-heading (oref obj parent))))
-;; ** Slide Methods for Writing Actions
-;; TODO A lot of the slide methods belong on actions. Actions should just
store
-;; a marker to the heading and work with the heading directly. They rarely
need
-;; to look into the actual slide object to see what other sequences might be in
-;; flight.
-
-(cl-defmethod ms-first-child ((obj ms-slide))
- "Return first child heading element."
- (ms--last-child
- (ms-heading obj)))
-
-(cl-defmethod ms-last-child ((obj ms-slide))
- "Return last child heading element."
- (ms--last-child
- (ms-heading obj)))
-
(cl-defmethod ms-heading ((obj ms-slide))
"Return the slide's heading element."
(org-element-at-point (oref obj begin)))
-(cl-defmethod ms-goto-section ((obj ms-slide))
- "Move point to the beginning of the slide's heading."
- (when-let ((beg (ms-section-begin obj)))
- (goto-char beg)))
-
-(cl-defmethod ms-section-begin ((obj ms-slide))
- "Return the beginning location of the slide's section.
-Always return a point, even for empty headings."
- (let ((heading (ms-heading obj)))
- (ms--section-begin heading)))
-
-(cl-defmethod ms-section-end ((obj ms-slide))
- "Return the end location of the slide's section.
-Always return a point, even for empty headings."
- (let ((heading (ms-heading obj)))
- (ms--section-end heading)))
-
-(cl-defmethod ms-in-section-p ((obj ms-slide) point)
- "Check if POINT is within the section before child headings."
- (let ((heading (ms-heading obj)))
- (and (>= point (ms--section-begin heading))
- (< point (ms--section-end heading)))))
-
(cl-defmethod ms-section-map
((obj ms-slide) type fun &optional info first-match no-recursion)
"Map FUN over TYPE elements in SLIDE section.
- [nongnu] elpa/dslide 39a9045682 011/230: Simplify blank-lines expression using make-string, (continued)
- [nongnu] elpa/dslide 39a9045682 011/230: Simplify blank-lines expression using make-string, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 0316764255 006/230: moving a comment, automatic formatting, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 3969814eb4 015/230: rearrangement, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide a0460d4070 012/230: Return early by user-error when not in org-tree-slide-mode, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 0732479ac8 019/230: rearrange, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 393985506a 021/230: After-narrow-hook, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide dddbc58e20 020/230: The repackaging. org-tree-slide -> macro-slides, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 10ee601187 007/230: enable lexical binding, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide b9219d205c 023/230: typos, comments, line-noise, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 1dbbed70f8 025/230: missing custom group & type, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 63d93ec6bf 028/230: Dead code on slide,
ELPA Syncer <=
- [nongnu] elpa/dslide 9a67bc2f3e 026/230: line noise, compiler warnings, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 3e7ceb0845 024/230: missing deps, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 1d8041aba1 027/230: Sequence (slide) callbacks, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide da4e8dd412 016/230: user error instead of silent failure, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 018b39cfa5 030/230: Remove some coupling between actions and slides, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide b26e0155d8 043/230: base action is abstract, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 027ae16365 046/230: cleaning up some line noise, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide e100759664 042/230: remove extraneous slot-bound checks, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide 2fcaadcf52 040/230: whitespace and comments, ELPA Syncer, 2024/07/07
- [nongnu] elpa/dslide ea60e6e53e 035/230: prevent animation timer reference from being lost, ELPA Syncer, 2024/07/07