Henrik Lissner
7db767957e
lang/org: fix C-a/C-e in org-mode
2018-02-19 20:24:57 -05:00
Henrik Lissner
a01320deeb
lang/org: redo evil integration; add evil-org package
...
lang/org has now adopted much of evil-org, which introduces better evil
integration for org-mode. More testing is required.
2018-02-18 00:32:12 -05:00
Henrik Lissner
0c459cfefd
lang/org: make backspace org-mode aware
...
This ensures backspace respects tables and doesn't break whitespace in
table cells.
2018-02-17 03:40:40 -05:00
Henrik Lissner
2b1c323dbf
💥 Redesign private sub-module system
...
~/.doom.d/modules is now a full module tree, like ~/.emacs.d/modules.
Symlinks are no longer involved.
Private modules can now shadow Doom modules. e.g.
~/.doom.d/modules/lang/org will take precendence over
~/.emacs.d/modules/lang/org.
Also, made doom--*-load-path variables public (e.g. doom--site-load-path
=> doom-site-load-path), and rearranged the load-path for a 10-15%
startup boost.
2018-02-16 02:11:10 -05:00
Henrik Lissner
d84af58f77
lang/org: refactor tab/backtab/ret keybinds to be less intrusive
...
Turns out the native TAB/Backtab/RET functionality in org already does
what I've replaced them with (somewhat).
Also, I discovered that the canonical way to modify TAB behavior was
through org-tab-first-hook. So, instead of replacing native
functionality, I've rewritten these keybinds to leverage them.
2018-02-13 18:12:40 -05:00
Henrik Lissner
169cd809bc
lang/org: add more org links & abbrevs
...
New org, doom, doom-module and doom-docs links, with completion and
non-existing file highlights.
2018-02-03 06:27:31 -05:00
Henrik Lissner
7e21d66bf7
lang/org: fix opening file links
2018-02-03 06:10:32 -05:00
Henrik Lissner
2d641bb059
lang/org: refresh ui settings when theme is changed
2018-02-02 20:47:33 -05:00
Henrik Lissner
11e2e1b55e
lang/org: toc-org-hrefify-default = org
...
gh-style links don't work in from within Emacs as well.
2018-02-02 20:47:33 -05:00
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
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
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
dcfa05da11
lang/org: wrap smartparens config in after!
2018-01-01 16:17:02 -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
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
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
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
6648ad815d
lang/org: reorganize + refactor
2017-06-10 01:53:24 +02:00
Henrik Lissner
eff937432e
Optimize lang/org: lexical-binding = t; cl-case => pcase
2017-06-10 01:52:44 +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
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
9fdbfb657f
Revise org keybindings; new +org/toggle-checkbox
2017-05-19 14:01:38 +02:00
Henrik Lissner
4bb4b5ebb9
lang/org: better font-lock reconfig
...
+ TODO/DONE tags now respect underlying faces
+ ...but still fontify a complete heading properly
+ Statistics cookies (e.g. [3/14]) now respect their underlying faces
+ ...but respect org-headlined-one more
+ Refactor other font-lock rules
2017-05-19 13:21:39 +02:00
Henrik Lissner
4cd56b46cc
Don't move cursor when realigning org tables
2017-05-19 13:10:14 +02:00
Henrik Lissner
abe9f06350
Try to fix [backtab] on GNU Emacs
2017-05-19 13:07:59 +02:00
Henrik Lissner
5add3c3805
lang/org: cleanup & refactor
2017-05-19 03:29:00 +02:00
Bryan Gilbert
fa29b5343c
only disable show-paren-mode locally for org mode buffers
2017-05-15 21:24:31 -04:00
Henrik Lissner
5fb028b49d
feature/evil: refactor
2017-05-15 20:26:32 +02:00
Henrik Lissner
200846ee35
General refactor + cleanup; update TODO.org
2017-05-14 00:26:53 +02:00
Henrik Lissner
263580b92f
lang/org: fix org-checkbox-statistics-(done|todo) not respecting underlying faces
2017-05-10 19:13:53 +02:00
Henrik Lissner
7b7c9fdf81
lang/org: refactor fontification (use org-font-lock-set-keywords-hook)
2017-05-10 18:39:28 +02:00
Henrik Lissner
e265431507
General refactor, cleanup & commenting
2017-05-10 05:28:50 +02:00
Henrik Lissner
cce294fcf6
feature/evil: refactor evil-force-normal-state advice into +evil-esc-hook
2017-05-07 19:12:48 +02:00
Henrik Lissner
85bde34f84
General cleanup & refactor
2017-05-04 10:42:30 +02:00
Henrik Lissner
694e3c4e28
lang/org: make org-bullets respect org-hide
2017-05-04 08:57:51 +02:00
Henrik Lissner
79d6938723
lang/org: fontify list items with completed cookies (e.g. [4/4])
2017-04-27 18:04:55 -04:00
Henrik Lissner
74af73afd0
lang/org: org-ellipsis = fontawesome arrow
2017-04-27 15:43:55 -04:00
Henrik Lissner
ba1c23c72f
lang/org: general refactor #2
2017-04-27 15:43:38 -04:00