Commit graph

18 commits

Author SHA1 Message Date
Henrik Lissner
14cf97e594
lang/org: use org-attach instead of custom system
- Adds more keys under `<localleader> a`
- Reconfigures org-download to use org-attach system
- Make org-id-track-globally = t a global default now (not just for
  org-brain)
- Renamed +org-init-centralized-attachments-h to +org-init-attachments-h
- org-attach-store-link-p = t (stores a link to an attachment when it is
  attached)
- org-attach-use-inheritance = t (inherit attachment properties from
  parent nodes)
2019-12-29 16:31:25 -05:00
Henrik Lissner
5f00db871e
lang/org: major refactor & add org-fancy-priorities package
- Fixes an issue where evil bindings weren't working in org-mode
- Significantly slims down on unnecessary keybinds
- Remove +org-init-keybinds-for-evil-h hook and reli more on our new
  evil-org fork, which has upstreamed some of our changes.
- Documents undocumented functions, remove unnused ones, and reorganize
  org's autoload libraries by convention.
- Adds org-fancy-priorities for more elegant (and subtle) priority
  display than ugly [#A] tags.
2019-10-25 20:25:20 -04:00
Henrik Lissner
e10cd8cf2e
Insult byte-compiler's mom
Yeah, that shut him up.
2019-09-20 23:10:53 -04:00
Henrik Lissner
468e630110
lang/org: refactor contrib modules
- Fix #1546
- Ensure contrib modules aren't included in byte-compilation/autoload
  generation if their requisite flags aren't enabled
2019-07-09 22:44:51 +02:00
Henrik Lissner
11bfb17894
lang/org: major refactor
The motivation for this change was to rethink lang/org's flags. Many of
its former flags represented non-features. Therefore, its flags have
been reduced to five: +dragndrop, +ipython, +pandoc, +gnuplot and
+present. Everything else is included as org-load-hooks and treated as
reasonable defaults.

Other changes:
- Fixes #1502: don't autopair certain pairs when in a math region
- Fixes #1483: broken localleader in org-agenda
- Adds gnuplot support #1108
- Doom's org submodules have been moved into lang/org/contrib/, because
  I expect there will be *many* more to come, and I don't want to
  pollute the moudle's root.
2019-06-28 17:28:28 +02:00
Henrik Lissner
7d3ffdff06
Remove third line in section headers
This is truly important stuff. We've saved many lives with this update.
2018-09-09 09:58:19 -04: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
ae031928af
lang/org: fix attachments getting double-url-encoded when exported 2018-03-22 08:14:03 -04:00
Henrik Lissner
318f51cfff
lang/org: report deleted files after +org-attach/sync 2018-03-22 08:13:46 -04:00
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
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
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
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
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
Renamed from modules/org/org-attach/autoload/org-attach.el (Browse further)