Commit graph

23 commits

Author SHA1 Message Date
Henrik Lissner
4941e327f4
General refactor for readability
+ Removes redundant/unhelpful comments
+ Renames functions, hooks and variables to be self-documenting
+ Use add-to-list to ensure idempotency (and is more performant)
2018-07-09 15:33:31 +02:00
Henrik Lissner
e973acad6f
Defer projectile config in org
Now that projectile is lazy loaded.
2018-06-17 14:52:07 +02:00
Henrik Lissner
44363cae40
General, minor refactor & revision
Across the board. All the boards.
2018-06-16 12:26:58 +02:00
Henrik Lissner
6693db48af
Mark +org-dir obsolete (use org-directory instead)
I prefer not to invent new variables when they aren't strictly
necessary. org-directory is one such variable (although the other path
variables are still necessary).
2018-06-15 01:05:22 +02:00
Henrik Lissner
e89ed0e9ae
lang/org: handle edge cases case for attachments
+ If org file isn't in +org-dir, use an absolute path to attachment
+ If org file doesn't eixst/hasn't been saved, use default-directory
2018-03-22 08:26:22 -04:00
Henrik Lissner
68fed155ad
lang/org: minor refactor 2018-03-22 08:13:23 -04:00
Henrik Lissner
747a334d54
lang/org: add completion + highlighting for attach:%s links 2018-03-22 07:31:36 -04: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
39f519cdb8
lang/org: use link abbrev for relative image attachment paths 2018-02-10 02:14:57 -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
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
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
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
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
5add3c3805 lang/org: cleanup & refactor 2017-05-19 03:29:00 +02:00
Henrik Lissner
5ae94b765c PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES 2017-04-17 02:17:10 -04:00
Henrik Lissner
4356f894fd General cleanup + refactor 2017-02-28 12:12:18 -05:00
Henrik Lissner
a0305418ae Remove f.el references 2017-02-25 02:11:24 -05:00
Henrik Lissner
33c88d4f82 Revert macros to ...! name convention (elisp doesn't like @...) 2017-02-23 00:06:12 -05:00
Henrik Lissner
302eb6f5c1 lang/org: fix headers + pin org-plus-contrib to 'org' 2017-02-20 12:01:39 -05:00
Henrik Lissner
941f3abc6f Add modules/lang/org (WIP) 2017-02-20 00:26:48 -05:00