making org bible actually kinda a thing

This commit is contained in:
Chris Cochrun 2024-01-15 15:11:21 -06:00
parent 623db76d13
commit a406b04da8
3 changed files with 18 additions and 46 deletions

19
init.el
View file

@ -3689,24 +3689,7 @@ interfere with the default `bongo-playlist-buffer'."
"v" 'chris/elfeed-bongo-insert-item
"N" 'mastodon-notifications--timeline))
(defvar bible-books '(genesis exodus leviticus numbers dueteronomy joshua judges ruth 1-samuel 2-samuel 1-kings 2-kings 1-chronicles 2-chronicles ezra nehemiah esther job psalms proverbs ecclesiastes song-of-solomon isaiah jeremiah lamentations ezekiel daniel hosea joel amos obadiah jonah micah nahum habakkuk zephaniah haggai zechariah malachi matthew mark luke john acts romans 1-corinthians 2-corinthians galatians ephesians phillipians colossians 1-thessalonians 2-thessalonians 1-timothy 2-timothy titus philemon hebrews james 1-peter 2-peter 1-john 2-john 3-john jude revelation))
(defun chris/org-get-tree (&optional file)
"Get the tree of the current org buffer or optionally a file."
(interactive)
(let ((list nil))))
(defun chris/make-chapters ()
(interactive)
(org-narrow-to-element)
(search-forward "chapter")
(beginning-of-line)
(insert "** "))
(defun chris/find-verse ()
(interactive)
(org-ql-select "/home/chris/docs/bibles/esv.org" "Jesus")
(goto-char (cdr (imenu-choose-buffer-index))))
(load (concat user-emacs-directory "bible.el"))
;; Reduce rendering/line scan work for Emacs by not rendering cursors or regions
;; in non-focused windows.