Commit graph

107 commits

Author SHA1 Message Date
Henrik Lissner
f6d572c9fe
lang/org: fix void-symbol value error 2018-02-18 14:08:19 -05:00
Henrik Lissner
e50d8b8733
lang/org: add +org-attach/sync (attachment management)
lang/org now supports the attach:* link abbreviation. Running
+org/attach-sync will index all such links across org files in +org-dir
and delete any files in org-attach-directory that aren't referenced.

TODO: have a separate directory for attach:* attachments and vanilla
attachments?
2018-02-18 04:30:54 -05:00
Henrik Lissner
be94fc4d91
lang/org: remove unused evil autoloads 2018-02-18 03:07: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
aafa45e271
lang/org: fix insert-item tests; refactor +org/insert-item 2018-02-17 22:41:58 -05:00
Henrik Lissner
4321f20b3e
Appease byte-compiler-sama 2018-02-14 20:54:53 -05:00
Henrik Lissner
e79942de2e
lang/org: improve tab indent in src blocks
I realize org-src-tab-acts-natively exists, but it doesn't work for me.
This little fix (plus the next commit's editorconfig fix) should make
tab act much more reliably in src blocks.
2018-02-13 19:41:09 -05:00
Henrik Lissner
5b92c3d99f
lang/org: add evil insert check to +org|indent-maybe 2018-02-13 18:33:36 -05:00
Henrik Lissner
7b70aa9b7d
lang/org: reorganize autoload/org.el. Pedantry intensifies.
Library is now separated into alphabetically sorted sections. So nice
and neat!
2018-02-13 18:19:36 -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
9b76627ee0
lang/org: do org-try-structure-completion on TAB #417 2018-02-12 23:19:51 -05:00
Henrik Lissner
a43b88b18a
lang/org: refresh inline images when pressing RET on headlines 2018-02-10 02:15:23 -05:00
Henrik Lissner
04a04b2535
lang/org: remove vestigial +org-attach*link-format function 2018-02-10 02:14:57 -05:00
Henrik Lissner
39f519cdb8
lang/org: use link abbrev for relative image attachment paths 2018-02-10 02:14:57 -05:00
Henrik Lissner
69dc25ae4c
lang/org: fix external org-capture workflow
+ Fix frame-spawning when calling bin/org-capture
+ Integrate counsel-org-capture into bin/org-capture workflow
+ Ensure frame is closed if counsel-org-capture is cancelled
+ Ensure org-capture buffer closes the associated frame
+ Add transient frame property for org-capture frames

If you are using a tiling window manager, you'll need to add a rule for
a window named "org-capture" in order to make a floating window.
2018-02-07 01:08:33 -05:00
Henrik Lissner
d714be0a16
lang/org: +org/insert-item: unhide if point lands in invisible region 2018-02-02 23:57:26 -05:00
Henrik Lissner
5cb75da7e0
lang/org: fix +org/insert-item single-line buffer edge-case 2018-02-02 02:34:46 -05:00
Henrik Lissner
97d0ff0966
lang/org: fix cursor placement after M-RET in tables 2018-02-02 02:25:49 -05:00
Henrik Lissner
53b7297c6d
lang/org: fix M-RET not adjusting number bullets #390 2018-02-02 02:25:49 -05:00
Henrik Lissner
0e392372df
lang/org: fix relative file attachments #370
Affected non-image files having one-too-many ../ in its path.
2018-01-24 02:20:31 -05:00
Henrik Lissner
b28f6ed477
General minor refactor & comment revision 2018-01-06 03:03:02 -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
ccaaca2d88
lang/org: replace obsolete org-match-string-no-properties 2017-12-17 00:03:45 -05:00
Henrik Lissner
76a4ae459d
Fix obsolete (when|if)-let messages in Emacs 26 2017-12-10 14:49:52 -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
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
b00d5edd26 Correct +org/capture function name 2017-05-28 12:23:05 +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
Henrik Lissner
5add3c3805 lang/org: cleanup & refactor 2017-05-19 03:29:00 +02:00
Henrik Lissner
5a162e0dc9 +org/dwim-at-point: cycle checkboxes (#63) 2017-05-17 22:55:43 +02:00
Henrik Lissner
d8e3d853a9 ui/doom: centralize doom-buffer-mode activation 2017-05-16 18:05:39 +02:00
Henrik Lissner
6dc0afe934 lang/org: don't move window on +org/toggle-fold 2017-04-27 18:04:17 -04:00
Henrik Lissner
05b01a431d Add bin/org-capture script 2017-04-22 01:49:44 -04:00
Henrik Lissner
e204df3c05 Replace obsolete functions/commands 2017-04-17 02:19:20 -04:00
Henrik Lissner
78eb9b888c lang/org: general clean up + fix Tab in src blocks 2017-04-11 08:30:09 -04:00
Henrik Lissner
68e5140d4a lang/org: add +org/edit-special-same-window 2017-04-11 08:29:09 -04:00
Henrik Lissner
0e4652c2fe lang/org: fix +org:capture 2017-04-10 02:53:53 -04:00
Henrik Lissner
3800d976a1 lang/org: +org/toggle-fold removes babel result blocks 2017-04-10 01:11:02 -04:00
Henrik Lissner
5402521647 lang/org: make TAB keybind dwim; including yas-expand 2017-04-10 01:10:42 -04:00
Henrik Lissner
673761d4d8 General comment updates 2017-04-08 01:36:11 -04:00
Henrik Lissner
4372293c42 lang/org: add +notebook submodule (quick access to project/major-mode notes) 2017-04-05 14:29:47 -04:00
Henrik Lissner
903eb92f36 lang/org: update for org 9 2017-03-08 14:39:55 -05:00
Henrik Lissner
b87aeb1522 lang/org: fix +org/dwim-at-point, +org/insert-item & +org/toggle-checkbox 2017-03-02 19:49:19 -05:00