Commit Graph

19 Commits

Author SHA1 Message Date
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
68fed155ad lang/org: minor refactor 2018-03-22 08:13:23 -04:00
747a334d54 lang/org: add completion + highlighting for attach:%s links 2018-03-22 07:31:36 -04:00
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
39f519cdb8 lang/org: use link abbrev for relative image attachment paths 2018-02-10 02:14:57 -05:00
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
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
cd7bd7628f lang/org: refactor org init process
after! org is more reliable than org-load-hook.
2017-12-09 14:42:46 -05:00
b111303d20 Move modules/org/* back to lang/org 2017-12-08 23:14:13 -05:00
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
eff937432e Optimize lang/org: lexical-binding = t; cl-case => pcase 2017-06-10 01:52:44 +02:00
1906de46e8 Fix void-variable recentf-exclude 2017-06-05 16:56:13 +02:00
5add3c3805 lang/org: cleanup & refactor 2017-05-19 03:29:00 +02:00
5ae94b765c PRAISE BE TO THE BYTE COMPILER FOR THY SHARP QUOTES 2017-04-17 02:17:10 -04:00
4356f894fd General cleanup + refactor 2017-02-28 12:12:18 -05:00
a0305418ae Remove f.el references 2017-02-25 02:11:24 -05:00
33c88d4f82 Revert macros to ...! name convention (elisp doesn't like @...) 2017-02-23 00:06:12 -05:00
302eb6f5c1 lang/org: fix headers + pin org-plus-contrib to 'org' 2017-02-20 12:01:39 -05:00
941f3abc6f Add modules/lang/org (WIP) 2017-02-20 00:26:48 -05:00