[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/org-present 03b23602d3 26/47: document hide/show of cursor
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/org-present 03b23602d3 26/47: document hide/show of cursor |
Date: |
Sat, 8 Jan 2022 13:58:30 -0500 (EST) |
branch: elpa/org-present
commit 03b23602d3bdff0b4bc6cef663dd97a15cc3ef50
Author: Richard Lister <ric@burton-2.home>
Commit: Richard Lister <ric@burton-2.home>
document hide/show of cursor
---
README.md | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/README.md b/README.md
index aafea5268f..22bb68da37 100644
--- a/README.md
+++ b/README.md
@@ -18,16 +18,27 @@ Add something like this to your emacs config:
```lisp
(add-to-list 'load-path "~/path/to/org-present")
(autoload 'org-present "org-present" nil t)
+```
-(add-hook 'org-present-mode-hook
- (lambda ()
- (org-present-big)
- (org-display-inline-images)))
+Precise behaviour of org-present during start and quit is controlled
+from hooks. The following will enlarge text, show images, hide the
+cursor and make the buffer read-only:
-(add-hook 'org-present-mode-quit-hook
- (lambda ()
- (org-present-small)
- (org-remove-inline-images)))
+```lisp
+(eval-after-load "org-present"
+ '(progn
+ (add-hook 'org-present-mode-hook
+ (lambda ()
+ (org-present-big)
+ (org-display-inline-images)
+ (org-present-hide-cursor)
+ (org-present-read-only)))
+ (add-hook 'org-present-mode-quit-hook
+ (lambda ()
+ (org-present-small)
+ (org-remove-inline-images)
+ (org-present-show-cursor)
+ (org-present-read-write)))))
```
Then start the minor mode with:
- [nongnu] elpa/org-present 71486291da 12/47: Merge pull request #3 from purcell/patch-1, (continued)
- [nongnu] elpa/org-present 71486291da 12/47: Merge pull request #3 from purcell/patch-1, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 194262bdb0 09/47: provide feature, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present ef8dfc974c 16/47: Exit read-only mode before exiting the minor mode, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present c16b846434 21/47: update key list and add beginning/end, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present fca3bcdd2c 20/47: add functions to jump to beginning and end of presentation, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 96dfce3254 28/47: Add org-present-after-navigate-functions abnormal hook, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 75ac0cab2a 44/47: Add "Version: 0.1" header, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 7e56ab02b4 47/47: Merge pull request #41 from skangas/add-version, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 9ed67fd539 30/47: while presenting, also hide verbatim markers (i.e. '~' and '=') in addition to emphasis markers, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 5010b90fd0 37/47: Merge pull request #31 from alwyn/inline-images, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 03b23602d3 26/47: document hide/show of cursor,
ELPA Syncer <=
- [nongnu] elpa/org-present 14f9288674 23/47: update copyright, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 2cc76b5b2b 25/47: add hide/show for cursor, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present d13acd70ef 29/47: Merge pull request #13 from duncan-bayne/add-hooks, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 68aeae2132 31/47: fix: Needless hiding of emphasis markers already hidden by Org, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 9709ca2d04 34/47: Merge pull request #25 from Kazark/emphasis-markers, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present b5f5d5f351 04/47: add overlay for author/title pragmas, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 1b519cfd5a 27/47: Merge pull request #5 from fred-o/master, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 614eb997c5 33/47: Merge branch 'master' into emphasis-markers, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present f63302a21a 40/47: Merge pull request #35 from komem3/hide-cursor, ELPA Syncer, 2022/01/08
- [nongnu] elpa/org-present 0ccf354d73 43/47: Add .gitignore, ELPA Syncer, 2022/01/08