[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/logos 60f7eaf5f7 13/25: Update Commentary with code sam
From: |
ELPA Syncer |
Subject: |
[elpa] externals/logos 60f7eaf5f7 13/25: Update Commentary with code sample for Org/Outline |
Date: |
Fri, 11 Mar 2022 08:58:01 -0500 (EST) |
branch: externals/logos
commit 60f7eaf5f7e5f56384f4b5995c91523bae735dbc
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Update Commentary with code sample for Org/Outline
---
logos.el | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/logos.el b/logos.el
index 588c45a91c..12fbae7373 100644
--- a/logos.el
+++ b/logos.el
@@ -65,6 +65,22 @@
;;
;; (add-hook 'logos-focus-mode-hook #'my-logos--olivetti-mode)
;;
+;; To automatically expand contracted Org/Outline headings, use
+;; something like:
+;;
+;; (defun my-logos--reveal ()
+;; "Reveal Org or Outline entry."
+;; (cond
+;; ((and (eq major-mode 'org-mode)
+;; (org-at-heading-p))
+;; (org-show-entry)
+;; (org-reveal t))
+;; ((or (bound-and-true-p prot-outline-minor-mode)
+;; (bound-and-true-p outline-minor-mode))
+;; (outline-show-entry))))
+;;
+;; (add-hook 'logos-page-motion-hook #'my-logos--reveal)
+;;
;; Logos is the familiar word derived from Greek (watch my presentation
;; on philosophy about Cosmos, Logos, and the living universe:
;; <https://protesilaos.com/books/2022-02-05-cosmos-logos-living-universe/>),
- [elpa] branch externals/logos created (now dc52fc3f04), ELPA Syncer, 2022/03/11
- [elpa] externals/logos 804f39e21e 03/25: Make the "focus mode" variables local, ELPA Syncer, 2022/03/11
- [elpa] externals/logos d41217e007 05/25: Tweak documentation and Commentary, ELPA Syncer, 2022/03/11
- [elpa] externals/logos c0a2074a85 01/25: Initial commit for logos.el and related, ELPA Syncer, 2022/03/11
- [elpa] externals/logos f03cf3ebd9 06/25: Fix fallback value of logos-outline-regexp-alist, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 7f5010f3a0 10/25: Add Org/Outline reveal sample; update docs, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 60f7eaf5f7 13/25: Update Commentary with code sample for Org/Outline,
ELPA Syncer <=
- [elpa] externals/logos 95000cf597 04/25: Minor rewording in the Commentary, ELPA Syncer, 2022/03/11
- [elpa] externals/logos bbc89495e3 08/25: Add section with sample configuration, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 28e2d2ae27 12/25: Reword comment, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 07cd1b412f 17/25: Update sample code for outline-mode, ELPA Syncer, 2022/03/11
- [elpa] externals/logos a63d1ab315 20/25: Always reveal Org/Outline entry, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 26ecd9b72f 22/25: Update description, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 88b2a7ca61 11/25: Tweak sample code for local variables, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 69cabed870 09/25: Run hook after page motion, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 230828bd2e 16/25: Rewrite the manual, ELPA Syncer, 2022/03/11
- [elpa] externals/logos 86ec38e795 19/25: Clarify manual's wording about outline regexp, ELPA Syncer, 2022/03/11