Skip to content

Instantly share code, notes, and snippets.

Last active February 18, 2022 22:57
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
Example Org Config
(setq straight-use-package-by-default t
user-emacs-directory "~/test/emacs"
straight-base-dir "~/test"
package-user-dir "~/test/elpa")
(defvar bootstrap-version)
(let ((bootstrap-file (expand-file-name "~/test/straight/repos/straight.el/bootstrap.el"))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
'silent 'inhibit-cookies)
(goto-char (point-max))
(load bootstrap-file nil 'nomessage))
(straight-use-package 'use-package)
(require 'package)
(setq package-archives
("gnu" . "")
("melpa" . "")
("marmalade" . "")
("org" . "")))
(use-package doct
:ensure t)
(use-package org
:ensure t
;; keep getting this: org-narrow-to-subtree: Symbol’s function definition is void: org-element--cache-active-p
;; so just do this:
(require 'org-element)
(setq org-directory "~/org"
(doct '(("Meeting" :keys "m" :type entry :empty-lines 0
:datetree t :olp ("Meetings") :time-prompt t
:file "~/test/"
:template-file "~/test/meeting.txt")))))
* TODO %^{Meeting Title}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment