Last active
February 18, 2022 22:57
-
-
Save seanhagen/36ff71356ce20b79966774149baf0549 to your computer and use it in GitHub Desktop.
Example Org Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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) | |
(with-current-buffer | |
(url-retrieve-synchronously | |
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el" | |
'silent 'inhibit-cookies) | |
(goto-char (point-max)) | |
(eval-print-last-sexp))) | |
(load bootstrap-file nil 'nomessage)) | |
(straight-use-package 'use-package) | |
(require 'package) | |
(setq package-archives | |
'( | |
("gnu" . "http://elpa.gnu.org/packages/") | |
("melpa" . "http://stable.melpa.org/packages/") | |
("marmalade" . "http://marmalade-repo.org/packages/") | |
("org" . "http://orgmode.org/elpa/"))) | |
(use-package doct | |
:ensure t) | |
(use-package org | |
:ensure t | |
:config | |
;; 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" | |
org-capture-templates | |
(doct '(("Meeting" :keys "m" :type entry :empty-lines 0 | |
:datetree t :olp ("Meetings") :time-prompt t | |
:file "~/test/meetings-test.org" | |
:template-file "~/test/meeting.txt"))))) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* TODO %^{Meeting Title} | |
%? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment