Henrik Lissner
3dbf994871
lang/org: close agenda buffers after org-agenda
...
Experimental. Running org-agenda would leave leftover open buffers, this
hook cleans them up.
2018-01-08 20:42:43 -05:00
Henrik Lissner
6853196017
lang/org: general refactor; split init into hooks
...
lang/org's initialization process is now split up into hooks on
org-load-hook. This approach is cleaner and easier to customize. I also
removed the escape binding in org-agenda-mode-map, as the popup system
makes it redundant.
2018-01-08 20:41:56 -05:00
Henrik Lissner
35594f0729
lang/org: fix todo(t) capture target (incorrect path)
2018-01-07 22:20:11 -05:00
Henrik Lissner
c0680e6fa3
lang/org: refactor load-path mods & don't forget it
...
Previously, Doom would forget lang/org's modification of the load-path
if you call doom//reload-load-path (which is called when you do package
management with an open Emacs session).
No more!
2018-01-07 00:15:58 -05:00
Henrik Lissner
d738a8d13a
lang/org: fix unit test
2018-01-06 04:15:40 -05:00
Henrik Lissner
82abc8647a
lang/org: remove recursive require (not necessary anymore?)
2018-01-06 04:15:19 -05:00
Henrik Lissner
185bf58c9e
lang/org: add elpa org to load-path in init.el #327
...
Let's try to change the load-path sooner...
2018-01-06 04:02:05 -05:00
Henrik Lissner
b28f6ed477
General minor refactor & comment revision
2018-01-06 03:03:02 -05:00
Henrik Lissner
3cbddbfd88
Generalize +evil-esc-hook into doom-escape-hook
...
This lets vanilla Emacs users in on having a universal "escape" key.
2018-01-06 02:38:39 -05:00
Henrik Lissner
55ad843a09
lang/org: fix byte-compiler using outdated, built-in org #327
...
During runtime, the new version of org (installed via ELPA) is added to
load-path, but this doesn't happen during compile-time. Wrap it in
eval-and-compile and that changes.
2018-01-05 13:43:13 -05:00
Henrik Lissner
2598d48bba
Add org elpa archive + update lang/org #327
...
Now that the org ELPA archive has https support, we can add it to
package-archives. This fixes some 'org is unavailable' errors when
installing org packages that have declared earlier versions of org as
a dependency.
This also makes installing a newer version of org-mode much simpler.
Woo!
2018-01-04 16:16:45 -05:00
Henrik Lissner
db5910da3c
lang/org: don't error out if +org-dir doesn't exist
2018-01-03 13:15:25 -05:00
Henrik Lissner
c9a878a62f
Conform unit test macros to naming scheme
2018-01-01 16:59:30 -05:00
Henrik Lissner
dcfa05da11
lang/org: wrap smartparens config in after!
2018-01-01 16:17:02 -05:00
Henrik Lissner
8ad2666f8f
Refactor and fix unit tests, plus isolate them better
2017-12-31 14:58:45 -05:00
Henrik Lissner
c9d5d41aad
lang/org: add baseline readme
2017-12-31 00:44:57 -05:00
Henrik Lissner
f8f4885405
Don't install org-plus-contrib in Emacs 26+
...
Emacs 26+ has Org 9.1.4 built in.
2017-12-30 03:13:32 -05:00
Henrik Lissner
13111ff5c4
Set epa-{file-encrypt-to,pinentry-mode}; no authinfo for sudo via tramp
2017-12-27 20:48:06 -05:00
Henrik Lissner
06e76c8f49
lang/org: fix drag'n'drop in org-mode #307
...
Caused by references to long gone functions.
2017-12-27 01:03:20 -05:00
Henrik Lissner
b0c73c486e
lang/org: resolve +org-dir later
...
Gives users more of a chance to change +org-dir before paths are
resolved with it.
Addresses #296
2017-12-24 15:13:38 -05:00
Henrik Lissner
208fbb1726
Fix invalid-file-location when capturing to todo template #296
2017-12-24 15:08:00 -05:00
Henrik Lissner
27a229ec9b
lang/org: use emacsmirror for org-plus-contrib
2017-12-20 20:10:45 -05:00
Henrik Lissner
87fc297fea
lang/org: silence redundant pandoc compilation warnings
2017-12-17 00:03:45 -05:00
Henrik Lissner
ccaaca2d88
lang/org: replace obsolete org-match-string-no-properties
2017-12-17 00:03:45 -05:00
Henrik Lissner
a9d71630da
lang/org: defvar org-capture-templates
...
This prevents lang/org from overwriting user-defined
org-capture-templates in their init.el.
2017-12-16 12:50:36 -05:00
Henrik Lissner
7acb860cb6
lang/org: lazy-load ox-pandoc
2017-12-16 12:50:04 -05:00
Henrik Lissner
24dc5d4375
Disable show-paren-mode in org-mode
...
show-paren-mode causes flickering with indentation margins made by
org-indent-mode, so we simply turn off show-paren-mode altogether.
2017-12-16 12:45:19 -05:00
Henrik Lissner
3bc847ac6b
lang/org: QUELPA->ELPA for ob-rust
2017-12-10 16:56:30 -05:00
Henrik Lissner
76a4ae459d
Fix obsolete (when|if)-let messages in Emacs 26
2017-12-10 14:49:52 -05:00
Henrik Lissner
cd7bd7628f
lang/org: refactor org init process
...
after! org is more reliable than org-load-hook.
2017-12-09 14:42:46 -05:00
Henrik Lissner
a07c29c069
Fix lang/org unit tests
2017-12-09 14:38:51 -05:00
Henrik Lissner
efdde6961e
Fix over-aggressive smartparens in org-mode #285
2017-12-09 00:17:01 -05:00
Henrik Lissner
b111303d20
Move modules/org/* back to lang/org
2017-12-08 23:14:13 -05:00
Henrik Lissner
d2d4166b42
Move lang/org => org/*
...
Since lang/org has grown (and is expected to grow much, much more), it
has been given its own module category.
Concerns #129 , #138
2017-07-05 12:26:08 +02:00
Henrik Lissner
816df321a5
General refactor & cleanup
2017-06-14 21:15:19 +02:00
Henrik Lissner
2097498f3e
General docstring+idempotency refactor
2017-06-11 00:59:02 +02:00
Henrik Lissner
6648ad815d
lang/org: reorganize + refactor
2017-06-10 01:53:24 +02:00
Henrik Lissner
fce95eb5e3
lang/org: doom-buffer-mode => solaire-mode
2017-06-10 01:53:03 +02:00
Henrik Lissner
eff937432e
Optimize lang/org: lexical-binding = t; cl-case => pcase
2017-06-10 01:52:44 +02:00
Henrik Lissner
1906de46e8
Fix void-variable recentf-exclude
2017-06-05 16:56:13 +02:00
Henrik Lissner
d83d800de9
Switch to fork of org-bullets
...
The source repo is no longer maintained, so I forked it, fixed a couple
problems (mainly, I made it respect org-hide) and am now using it in
DOOM.
2017-06-03 12:05:43 +02:00
Henrik Lissner
d1726e4a52
show-children (obsolete) => outline-show-children
2017-06-03 12:05:43 +02:00
Henrik Lissner
5988c654e9
lang/org: add toc-org plugin
2017-05-28 17:33:16 +02:00
Henrik Lissner
b00d5edd26
Correct +org/capture function name
2017-05-28 12:23:05 +02:00
Henrik Lissner
10ea06b661
General cleanup + refactor
2017-05-25 20:12:43 +02:00
Henrik Lissner
85751c519b
Refactor +evil-esc-hook
2017-05-25 12:22:05 +02:00
Henrik Lissner
0875aab7f0
lang/org: get org-plus-contrib from git repo
...
This is insecure, but necessary if we want Org v9.0
2017-05-19 22:30:44 +02:00
Henrik Lissner
d52ee9c3be
lang/org: preserve indent on new item (M-RET)
2017-05-19 17:17:39 +02:00
Henrik Lissner
6c3c40e41e
Don't move cursor when toggling folds in org-mode
2017-05-19 17:08:49 +02:00
Henrik Lissner
9fdbfb657f
Revise org keybindings; new +org/toggle-checkbox
2017-05-19 14:01:38 +02:00