[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-tree-slide 78a5c46e55 049/144: Add autoload magic comm
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-tree-slide 78a5c46e55 049/144: Add autoload magic comments |
Date: |
Tue, 18 Jan 2022 08:59:17 -0500 (EST) |
branch: elpa/org-tree-slide
commit 78a5c46e55b3ccf5d972c515e00d3bec9547d270
Author: Takaaki ISHIKAWA <takaxp@ieee.org>
Commit: Takaaki ISHIKAWA <takaxp@ieee.org>
Add autoload magic comments
---
ChangeLog | 4 ++++
README.org | 17 +++++++++++++++--
org-tree-slide.el | 32 ++++++++++++++++++++++----------
3 files changed, 41 insertions(+), 12 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 2679701550..d26bbf5529 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-01-11 Takaaki ISHIKAWA <takaxp@ieee.org>
+
+ * org-tree-slide.el: Add autoload magic comments
+
2011-12-18 Takaaki ISHIKAWA <takaxp@ieee.org>
* org-tree-slide.el (org-tree-slide-move-next-tree): Fix a bug
diff --git a/README.org b/README.org
index 4c73739318..2c752fa370 100644
--- a/README.org
+++ b/README.org
@@ -2,7 +2,7 @@
#+AUTHOR: Takaaki Ishikawa
#+EMAIL: takaxp@ieee.org
#+STARTUP: content
-#+Last Update: 2011-12-18@10:58
+#+Last Update: 2012-01-11@23:02
* 1. What's this?
@@ -35,6 +35,18 @@ OR
Then open an org file, just type =<right>= and =<left>=. A presentation will
begin with a header, slide-in effect, and slide number.
+** el-get recipe
+
+If you are an [[https://github.com/dimitri/el-get][el-get]] user, please use
this recipe.
+
+#+BEGIN_SRC emacs-lisp
+(:name org-tree-slide
+ :description "A presentation tool for org-mode"
+ :type git
+ :url "git://github.com/takaxp/org-tree-slide.git"
+ :required nil)
+#+END_SRC
+
** 2.1 Requirements
- Org-mode 6.33x or higher version is required.
- This elisp doesn't require any additional packages.
@@ -91,7 +103,7 @@ Type =M-x org-tree-slide-simple-profile= while
=org-tree-slide-mode= is ON.
This profile is used as the default setting of org-tree-slide. If an org
buffer includes =#+TITLE:=, =#+EMAIL:=, and =#+AUTHOR:=, org-tree-slide
attempts to use those variables in the slide header. A date in the header will
be set with the presentation of the day. You can enjoy a slide-in effect, the
current slide number in mode line. 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 headers will be shown like a Table Of
Content. Find a heading that you want to show, and type =<right>=, 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 like a Table Of
Content. Find a heading that you want to show, and type =<right>=, 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.
@@ -203,6 +215,7 @@ see also ChangeLog
|---------+------------------+-----------------------------------------------|
| Version | Date | Description |
|---------+------------------+-----------------------------------------------|
+| v2.5.4 | 2012-01-11@23:02 | Add autoload magic comments |
| v2.5.3 | 2011-12-18@00:50 | Fix a bug for an org buffer without header |
| v2.5.2 | 2011-12-17@17:52 | Set presentation profile as the default |
| v2.5.1 | 2011-12-17@13:34 | org-tree-slide-skip-done set nil as default |
diff --git a/org-tree-slide.el b/org-tree-slide.el
index 1e83a26de6..332595015c 100644
--- a/org-tree-slide.el
+++ b/org-tree-slide.el
@@ -64,7 +64,7 @@
(require 'org-timer)
(require 'org-clock) ; org-clock-in, -out, -clocking-p
-(defconst org-tree-slide "2.5.3"
+(defconst org-tree-slide "2.5.4"
"The version number of the org-tree-slide.el")
(defgroup org-tree-slide nil
@@ -160,6 +160,8 @@
(defvar org-tree-slide-mode-hook nil)
(defvar display-tree-slide-string nil)
+
+;;;###autoload
(define-minor-mode org-tree-slide-mode
"A presentation tool for org-mode.
@@ -213,15 +215,7 @@ Profiles:
(run-hooks 'org-mode-slide-mode-hook))
(ots-abort)))
-(defvar ots-slide-number " TSlide")
-(defun ots-update-modeline ()
- (cond ((equal org-tree-slide-modeline-display 'lighter)
- (if (and (ots-active-p) (org-on-heading-p))
- (setq ots-slide-number (format " %s" (ots-count-slide (point))))
- ots-slide-number))
- ((equal org-tree-slide-modeline-display 'outside) "")
- (t " TSlide")))
-
+;;;###autoload
(defun org-tree-slide-play-with-timer ()
"Start slideshow with setting a count down timer."
(interactive)
@@ -229,6 +223,7 @@ Profiles:
(unless (ots-active-p)
(org-tree-slide-mode)))
+;;;###autoload
(defun org-tree-slide-without-init-play ()
"Start slideshow without the init play. Just enter org-tree-slide-mode."
(interactive)
@@ -237,6 +232,7 @@ Profiles:
(org-overview)
(goto-char 1))
+;;;###autoload
(defun org-tree-slide-content ()
"Change the display for viewing content of the org file during
the slide view mode is active."
@@ -248,6 +244,7 @@ Profiles:
(org-content)
(message "<< CONTENT >>")))
+;;;###autoload
(defun org-tree-slide-simple-profile ()
"Set variables for simple use.
`org-tree-slide-header' => nil
@@ -266,6 +263,7 @@ Profiles:
(setq org-tree-slide-skip-done nil)
(message "simple profile: ON"))
+;;;###autoload
(defun org-tree-slide-presentation-profile ()
"Set variables for presentation use.
`org-tree-slide-header' => t
@@ -284,6 +282,7 @@ Profiles:
(setq org-tree-slide-skip-done nil)
(message "presentation profile: ON"))
+;;;###autoload
(defun org-tree-slide-narrowing-control-profile ()
"Set variables for TODO pursuit with narrowing.
`org-tree-slide-header' => nil
@@ -302,6 +301,7 @@ Profiles:
(setq org-tree-slide-skip-done t)
(message "narrowing control profile: ON"))
+;;;###autoload
(defun org-tree-slide-display-header-toggle ()
"Toggle displaying the slide header"
(interactive)
@@ -310,18 +310,21 @@ Profiles:
(ots-hide-slide-header))
(ots-display-tree-with-narrow))
+;;;###autoload
(defun org-tree-slide-slide-in-effect-toggle ()
"Toggle using slide-in effect"
(interactive)
(setq org-tree-slide-slide-in-effect (not org-tree-slide-slide-in-effect))
(ots-display-tree-with-narrow))
+;;;###autoload
(defun org-tree-slide-heading-emphasis-toggle ()
"Toggle applying emphasis to heading"
(interactive)
(setq org-tree-slide-heading-emphasis (not org-tree-slide-heading-emphasis))
(ots-apply-custom-heading-face org-tree-slide-heading-emphasis))
+;;;###autoload
(defun org-tree-slide-skip-done-toggle ()
"Toggle show TODO item only or not"
(interactive)
@@ -375,6 +378,15 @@ Profiles:
;;; Internal functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+(defvar ots-slide-number " TSlide")
+(defun ots-update-modeline ()
+ (cond ((equal org-tree-slide-modeline-display 'lighter)
+ (if (and (ots-active-p) (org-on-heading-p))
+ (setq ots-slide-number (format " %s" (ots-count-slide (point))))
+ ots-slide-number))
+ ((equal org-tree-slide-modeline-display 'outside) "")
+ (t " TSlide")))
+
(defvar ots-header-overlay nil
"Flag to check the status of overlay for a slide header.")
- [nongnu] elpa/org-tree-slide bfbd4ddb5d 008/144: Add CONTENT view to see all the subtrees, (continued)
- [nongnu] elpa/org-tree-slide bfbd4ddb5d 008/144: Add CONTENT view to see all the subtrees, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 26269ebd8e 016/144: Support TITLE/AUTHOR/EMAIL in a header, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide f08bc4012f 019/144: Add a new profile to control narrowing status, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide be2d679c35 028/144: Add a link, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 871d75f872 055/144: Merge branch 'master' of github.com:takaxp/org-tree-slide, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide a85c6e2b9c 062/144: Added a new toggle to skip commented trees, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide b30805ac45 063/144: Fix typo, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide c9c413ba8b 064/144: Added a flag to control face setting, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 3e56b63ad1 024/144: Version 2.5.0, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 1687d83b18 046/144: Fix typo README.org, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 78a5c46e55 049/144: Add autoload magic comments,
ELPA Syncer <=
- [nongnu] elpa/org-tree-slide 8dc16ab4ed 107/144: Revise `org-tree-slide-content`, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 2ff3a05844 109/144: Removed obsoleted hooks, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide a3b46848e4 111/144: org-tree-slide-content: Return to exact point in slide presentation (#30), ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 25a0936d0c 009/144: Version 2.0.1, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 39a6039b18 023/144: Add an option to control modeline display, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 36fefc1a2f 038/144: Update README, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide faf9421439 041/144: Update README, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 5d4f714052 020/144: Change descriptions, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide e835028d43 051/144: Fix README.org, ELPA Syncer, 2022/01/18
- [nongnu] elpa/org-tree-slide 09e99877d7 045/144: Fix a bug for an org buffer without header, ELPA Syncer, 2022/01/18