Commit graph

908 commits

Author SHA1 Message Date
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
Akhil Wali
e60db77511 [org +gnuplot] Warn if gnuplot is not installed 2019-10-25 22:13:01 +13:00
Henrik Lissner
334c309ae7
lang/org: org-clock-out-remove-zero-time-clocks = nil
Half-reverts 29f6db6ea. Hadn't realized this setting would remove
the *entire* logbook if you clock out with sub 1m on a task.

Mentioned by @d1egoaz in 29f6db6
2019-10-24 15:04:08 -04:00
Henrik Lissner
b556fa7d3f
lang/org: explain org-babel-js-function-wrapper setting 2019-10-23 18:05:15 -04:00
Henrik Lissner
3dd09b327f
lang/org: tie evil-org to :editor evil +everywhere 2019-10-23 18:00:11 -04:00
Henrik Lissner
fb28586795
lang/org: use fork of evil-org
First step to fixing its issues.

Relevant to #1897, #1828
2019-10-23 18:00:11 -04:00
Henrik Lissner
cf2cea75cf
lang/org: remove org-babel-get-header polyfill
If packages haven't caught up by now, oh well! ob-spice hasn't, that's
for sure.
2019-10-23 13:21:47 -04:00
Henrik Lissner
20a7a1cf15
lang/org: bind gr = org-ctrl-c-ctrl-c 2019-10-22 18:52:39 -04:00
Henrik Lissner
21ac9a28ec
lang/org: evil-org-use-additional-insert = t
Bind meta + {,shift + }{h,j,k,l} keys. These substitute for the
navigation and shifting localleader keys.
2019-10-22 18:52:36 -04:00
Henrik Lissner
fa9001aacb
lang/org: refresh inline images after executing src blocks 2019-10-22 17:58:30 -04:00
Henrik Lissner
badff31ee2
lang/org: fix off-by-one coloring in eldoc breadcrumbs 2019-10-21 14:45:43 -04:00
Henrik Lissner
1694641636
lang/org: minor refactor of contrib submodules 2019-10-20 19:57:28 -04:00
Henrik Lissner
c5464f1798
lang/org: replace ox-reveal w/ org-re-reveal
ox-reveal is no longer maintained, and has been replaced with
org-re-reveal; a fork.
2019-10-20 19:57:27 -04:00
Henrik Lissner
e0469e14c0
Minor refactors & reformatting across the board 2019-10-20 19:57:27 -04:00
Henrik Lissner
7e3849be67
lang/org: remove unnecessary toc-org advice
It was initially written to avoid the cursor hopping about the buffer
when regenerating the table of contents. This isn't really an issue
anymore. Although, I would like to prevent emacs from adding adding an
undo step when it is regenerated...
2019-10-20 15:14:38 -04:00
Henrik Lissner
29f6db6ead
lang/org: org-clock-in-resume = t, org-clock-out-remove-zero-time-clocks = t 2019-10-20 15:14:38 -04:00
Henrik Lissner
043205b515
lang/org: org-html-validation-link = nil
Don't include "Validate" link in html exports.
2019-10-20 15:14:38 -04:00
Henrik Lissner
f9280bcec3
lang/org: remove redundant 0/^ evil keybinds 2019-10-19 13:58:16 -04:00
Henrik Lissner
2ec35edd14
lang/org: rethink {h,j,k,l} modifier keys
Since they are (mostly) redundant with evil-org's meta keys, I set
`C-S-{h,j,k,l}` to commands that evil-org doesn't bind.
2019-10-19 13:58:16 -04:00
Henrik Lissner
2e6754ea59
lang/org: enable more evil-org themes 2019-10-19 13:58:12 -04:00
Henrik Lissner
51973dca9b
Move auto-fill-mode to text-mode-hook 2019-10-14 18:25:02 -04:00
Andrew Whatson
285eab1ee5 Add support for org-pomodoro 2019-10-14 15:04:17 +10:00
Henrik Lissner
25acbd29d5
lang/org: fix TAB in tty Emacs #1897 2019-10-13 14:48:48 -04:00
Henrik Lissner
922b48872d
lang/org: move hugo config into +org-init-export-h
It doesn't warrant its own file under contrib.
2019-10-12 00:48:47 -04:00
Henrik Lissner
22b0b43fe1
lang/org: replace SPC m e with org-export-dispatch #1879
Let ox handle the export dispatch keybinds.
2019-10-12 00:48:47 -04:00
Łukasz Kaźmierczak
f8fe6f3a80 keybindings for org-html-export 2019-10-09 17:45:17 +02:00
Henrik Lissner
c6d5fa601e
lang/org: fix temporary agenda buffers if/when switched to 2019-10-07 23:20:23 -04:00
Henrik Lissner
de223e7398
Fix #1858, #1689: don't kill temp agenda buffers (yet)
Some commands expect temporary org agenda buffers (opened by org-agenda)
to remain open, so instead of proactively killing them we remap
org-agenda-quit and org-agenda-Quit to org-agenda-exit, which does that
for us at a more appropriate time: when closing the agenda.
2019-10-07 12:54:45 -04:00
Henrik Lissner
f6a182d69c
lang/org: clean up temp org-agenda buffers
Now auto-kills temporary agenda buffers, so long as they weren't already
opened by the user and doesn't exist in any other workspace.
2019-10-04 13:57:20 -04:00
Henrik Lissner
423a38c758
lang/org: move contrib/+hugo -> contrib/hugo
+ Refill +hugo flag's description in the README
+ Lazy load ox-hugo localleader keybinds by package, rather than by
  keymap deferral
2019-10-04 12:37:41 -04:00
Lorenzo Giuliani
ce6b2f8c71 move map! to the :preface section 2019-10-04 10:31:19 +02:00
Lorenzo Giuliani
4480ab0051 unquote interactive lambda macros 2019-10-03 21:32:07 +02:00
Lorenzo Giuliani
440f2cffaa move map! to the :init section of the package definition 2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
ab144f89c2 use the λ! macro 2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
22d3dbe306 use descriptions from kaushalmodi/ox-hugo@a8e0c6e
remove defun declarations, use lambdas
2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
8457d2f825 descriptions and keybindings as per ox-hugo docs
Mimicks the ox menu `C-c C-e H #`
2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
8fd3bd80da fix config.el, clean package :recipe 2019-09-30 17:29:09 +02:00
Lorenzo Giuliani
ea4fa7021d move +hugo feature to contrib/+hugo.el 2019-09-30 17:28:15 +02:00
Lorenzo Giuliani
a9e2bdf28c update package! with straight recipe
This is needed to avoid downloading the whole hugo configuration of the
repo' documentation website
2019-09-30 17:28:15 +02:00
Lorenzo Giuliani
84cd3b5bfb use package! macro :when flag
minor change to the README docs
2019-09-30 17:27:49 +02:00
Lorenzo Giuliani
ede04f705c add +hugo to init.example.el and README.org 2019-09-30 17:25:35 +02:00
Lorenzo Giuliani
f6b79d40a2 add ox-hugo to org 2019-09-30 17:23:38 +02:00
Henrik Lissner
a8e7c4fd45
Move helm-org config to completion/helm 2019-09-28 23:08:44 -04:00
Henrik Lissner
9d770546da
Merge pull request #1741 from jjzmajic/helm-org
Add helm-org (bound but not installed).
2019-09-28 23:02:25 -04:00
Henrik Lissner
87b7a8da05
lang/org: fix broken inline-image previews
For uses with imagemagick installed. Caused by
48da60f4
2019-09-26 16:04:07 -04:00
Henrik Lissner
bdd51cdee9
lang/org: fix promotion/demotion ctrl keys 2019-09-22 11:39:28 -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
4aff103770
Merge pull request #1785 from rgrinberg/org-journal-feature
lang/org: add +journal feature (org-journal)
2019-09-19 12:57:48 -04:00
Rudi Grinberg
baf9b3bc87 Use cookie for journal feature check
The :when option in the use-package clause is then removed

Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:30:26 +09:00
Rudi Grinberg
aa1d2f5d51 org-journal: defer config
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2019-09-18 13:29:51 +09:00