Commit graph

98 commits

Author SHA1 Message Date
Henrik Lissner
7c82cb6002
org-capture: remove window-system frame parameter
Hopefully, `make-frame` can figure out which window-system to use.
2018-08-16 12:32:13 +02:00
Henrik Lissner
5663778e36
Make TAB respect org-cycle-separator-lines #800
outline-toggle-children and org-cycle-hide-drawers didn't respect
org-cycle-separator-lines.
2018-08-13 21:47:55 +02:00
Henrik Lissner
60f6418db2
lang/org: Rename +org-capture-window-params
These are frame parameters; it is incorrect to call them window
parameters.
2018-08-08 23:37:29 +02:00
Henrik Lissner
e30ca73dc4
Autoload +org-capture-window-params 2018-08-08 20:44:03 +02:00
Henrik Lissner
c935f3e4da
lang/org: fix backtab not outdenting items/headers 2018-07-30 04:06:00 +02:00
Henrik Lissner
ebd3b0223e
Fix followed org links not recentering correctly
Links like `file:test.cpp::45` would open file.cpp, but end up somewhere
else than line 45. Same with links like `file:test.cpp::int main()`.
2018-07-24 20:01:42 +02:00
Henrik Lissner
e7b252f442
TAB should respect org-cycle-open-archived-trees
And shouldn't cycle visibility of archived trees by default.
2018-07-12 20:39:39 +02:00
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
c9ffa063e7
Fix +org/insert-item in nested plain lists
Would prepend new list items in the middle of plain lists, rather than
before them.
2018-07-04 14:19:22 +02:00
Henrik Lissner
38414a636f
Fix evil-org's o/O in nested plain lists
Thanks by @fuxialexander
2018-07-04 13:16:11 +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
84c17b0413
Add docstring to +org-pretty-mode 2018-06-04 21:17:49 +02:00
Henrik Lissner
23bd9d3efa
Add FILE support to +org-get-property & optimize
Can now be used to grab properties from remote org files. Also only
reads the first 2048 bytes of the document by default, for performance
reasons.
2018-06-04 21:17:49 +02:00
Henrik Lissner
f7a6089956
Restore vim zr, zR, zm, & zM folding in org-mode
For evil users.
2018-06-04 21:17:49 +02:00
Henrik Lissner
f9be8887fb
lang/org: minor refactor/reformatting
Also reduce internal use of map! (toward eventual switch to general)
2018-06-03 12:22:39 +02:00
Henrik Lissner
5948a52a38
Fix jumpy cursor in org tables when using evil-replace 2018-05-30 18:15:58 +02:00
Henrik Lissner
ebfc5648ef
lang/org: major refactor of +ipython feature 2018-05-30 18:14:48 +02:00
Henrik Lissner
31d34ae5f0
Merge pull request #620 from fuxialexander/ob-ipython
lang/org: +ipython
2018-05-30 11:57:14 +02:00
Henrik Lissner
49f16f681c
lang/org: realign/recalculate tables on exit evil replace mode 2018-05-30 01:45:35 +02:00
fuxialexander
f98f7ab552 Add: org: +ipython
Add: packages
2018-05-29 18:31:15 +08:00
Henrik Lissner
c46bd978fc
lang/org: fix tab not folding src blocks 2018-05-17 23:05:35 +02:00
Henrik Lissner
9e141cd01b
lang/org: fix newline-and-indent behavior in src blocks 2018-05-08 15:36:42 +02:00
Henrik Lissner
f3d54af5dc
lang/org: fix +org/insert-item moving cursor into invisible region 2018-05-08 15:24:43 +02:00
Henrik Lissner
7dd5c12b44
lang/org: disable make-frame hooks in +org-capture/open-frame 2018-04-23 17:50:24 -04:00
Henrik Lissner
460461ef54
tools/magit: clean up after magit more intelligently #506
Ensures magit buffers are cleaned up after magit-status is closed. Will
defer cleanup on process buffers, until the processes have finished.

Also fixes issue where quitting magit will leave leftover windows.
2018-04-08 20:44:40 -04:00
Henrik Lissner
b7577f1e26
lang/org: fix org-shifttab only toggling current fold 2018-04-05 17:28:46 -04:00
Henrik Lissner
bc91c55acc
lang/org: augment org-cycle, rather than replace it
This removes +org/toggle-fold in favor of a more compatible alternative:
a org-tab-first-hook function that forces org-cycle only to toggle the
current subtree, and not cycle through all visibility states.
2018-04-04 06:56:59 -04:00
Henrik Lissner
b47ccab4a5
lang/org: fix TAB not toggle folds on some headlines 2018-03-26 06:41:10 -04:00
Henrik Lissner
5eba949550
lang/org: delete-char backward in org|delete-backward-char #472 2018-03-23 15:19:44 -04:00
Henrik Lissner
1b9c5befb4
lang/org: refactor +org|realign-table-maybe 2018-03-22 14:41:48 -04:00
Henrik Lissner
48f5811e0d
lang/org: fix void-variable error upon backspace in tables #472 2018-03-22 14:41:27 -04: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
80aa086680
APPEASE THE GREAT BYTE-COMPILER-SAMA 2018-03-20 21:20:45 -04:00
Henrik Lissner
e929f831f6
lang/org: fix default TAB behavior for non-evil org users 2018-03-20 16:46:41 -04:00
Henrik Lissner
c0e5152b8f
lang/org: replace +org-capture/open with org-capture 2018-03-14 17:25:25 -04:00
Henrik Lissner
8d11682e99
lang/org: make doom/delete-backward-char respect tables #457
With or without evil.
2018-03-12 17:09:36 -04:00
Henrik Lissner
8976d1ad5a
lang/org: fix org/insert-item in continued indented lines 2018-03-12 13:32:01 -04:00
Henrik Lissner
d563d133ff
lang/org: fix evil coupling #457
And use fix backspace not keeping tables aligned.
2018-03-12 13:32:00 -04:00
Henrik Lissner
fa6459bb00
lang/org: improve footnote support for +org/dwim-at-point 2018-03-06 18:39:34 -05:00
Henrik Lissner
5c9ef4ee38
Replace doom-hide-modeline-mode w/ hide-mode-line-mode #423 2018-03-02 19:14:44 -05: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
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