[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-tree-slide 04b5a9dee1 131/144: Merge branch 'master' o
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-tree-slide 04b5a9dee1 131/144: Merge branch 'master' of github.com:takaxp/org-tree-slide |
Date: |
Tue, 18 Jan 2022 08:59:55 -0500 (EST) |
branch: elpa/org-tree-slide
commit 04b5a9dee1be7ecba8ada31685c3e11c668d10e6
Merge: 62da9b28c6 d6e8e91433
Author: Takaaki ISHIKAWA <takaxp@ieee.org>
Commit: Takaaki ISHIKAWA <takaxp@ieee.org>
Merge branch 'master' of github.com:takaxp/org-tree-slide
---
README.org | 2 +-
org-tree-slide.el | 9 +++++++--
2 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
index 25ae95b205..2fa18e83d7 100644
--- a/README.org
+++ b/README.org
@@ -122,7 +122,7 @@ This profile is the default setting of org-tree-slide. If
an org buffer includes
# A presentation with a count down timer is started by =M-x
org-tree-slide-play-with-timer=.
-If you want to show the content of your presentation, type =C-x s c= or =M-x
org-tree-slide-content=. All of the headings will be shown in a buffer like a
Table Of Content except some headings configured as skipping by
=org-tree-slide-slip-outline-level=. Find a heading that you want to show, and
type =C->=, the presentation will be resumed.
+If you want to show the content of your presentation, type =C-x s c= or =M-x
org-tree-slide-content=. All of the headings will be shown in a buffer like a
Table Of Content except some headings configured as skipping by
=org-tree-slide-skip-outline-level=. Find a heading that you want to show, and
type =C->=, the presentation will be resumed.
It is possible to skip slides when a heading level is higher than or equal to
a value of =org-tree-slide-skip-outline-level=. see User variables.
diff --git a/org-tree-slide.el b/org-tree-slide.el
index 2e314f3c34..f20a699697 100644
--- a/org-tree-slide.el
+++ b/org-tree-slide.el
@@ -112,6 +112,11 @@ When nil, the body of the subtrees will be revealed."
:type 'boolean
:group 'org-tree-slide)
+(defcustom org-tree-slide-content-margin-top 2
+ "Specify the margin between the slide header and its content."
+ :type 'integer
+ :group 'org-tree-slide)
+
(defcustom org-tree-slide-slide-in-effect t
"Using a visual effect of slide-in for displaying trees."
:type 'boolean
@@ -717,7 +722,7 @@ If HEADING-LEVEL is non-nil, the provided outline level is
checked."
"Apply slide in. The slide will be moved from BLANK-LINES below to top."
(let ((min-line -1))
(when org-tree-slide-header
- (setq min-line 2))
+ (setq min-line org-tree-slide-content-margin-top))
(while (< min-line blank-lines)
(org-tree-slide--set-slide-header blank-lines)
(sit-for org-tree-slide-slide-in-waiting)
@@ -851,7 +856,7 @@ Some number of BLANK-LINES will be shown below the header."
(defun org-tree-slide--show-slide-header (&optional lines)
"Show header. When LINES is nil, the default value is 2."
- (org-tree-slide--set-slide-header (or lines 2)))
+ (org-tree-slide--set-slide-header (or lines
org-tree-slide-content-margin-top)))
(defun org-tree-slide--hide-slide-header ()
"Hide header."
- [nongnu] elpa/org-tree-slide 3faa042393 144/144: Merge pull request #49 from takaxp/revert-47-allow-empty-date-author, (continued)
- [nongnu] elpa/org-tree-slide 3faa042393 144/144: Merge pull request #49 from takaxp/revert-47-allow-empty-date-author, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide a0a03e75f4 083/144: Show content after last slide, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 2571cfe03b 017/144: Version 2.2.0 (adopt minor mode), ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 68779b8fe4 092/144: Add breadcrumbs (#23), ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 3a2d3733ba 091/144: Added Version header, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 4a895dec55 074/144: Merge branch 'master' of https://github.com/takaxp/org-tree-slide, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 6608f8d43b 096/144: Refine README and add a link to Moom, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 3f1d646eb1 098/144: Support faces for org-level-1, 4, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 603a383117 110/144: Revise docstring of org-tree-slide-skip-outline-level, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 80cb1ac6f9 116/144: Merge branch 'master' of github.com:takaxp/org-tree-slide, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 04b5a9dee1 131/144: Merge branch 'master' of github.com:takaxp/org-tree-slide,
ELPA Syncer <=
- [nongnu] elpa/org-tree-slide 9d2ba1df45 134/144: Fix links in README, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide b4650edc3f 135/144: Restore state more elegantly, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 8b44ae834f 073/144: Default keymap was changed, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 3cd42fdfef 071/144: Replace ots- with org-tree-slide--, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide c01b48e7ba 067/144: Merge pull request #8 from eikek/tree-slide-content, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 8321fb1d25 088/144: Add meta comment Commentary and Code, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 1a3c400790 076/144: Merge branch 'master' of https://github.com/takaxp/org-tree-slide, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 9f1b898223 095/144: Create LICENSE (#26), ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 98fec74fcf 122/144: Now depends on emacs 24.3, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide d6e8e91433 129/144: Merge pull request #37 from KaratasFurkan/create-variable-content-margin-top, ELPA Syncer, 2022/01/18