Commit Graph

236 Commits

Author SHA1 Message Date
024f383a08 lang/org: add full link at point display to eldoc 2019-02-24 13:47:53 -05:00
c13fd6eddc lang/org: fix C/s-RET keybinds for evil users 2019-02-11 14:11:52 -05:00
b461c99d86 lang/org: fix C-RET/s-RET in org-mode #1146 2019-02-03 18:51:55 -05:00
a337c1bd4e lang/org: generalize newline keys
To make them available to both emacs/evil users.
2019-01-22 19:29:13 -05:00
6e57350277 lang/org: restore meta return keybinds 2018-12-31 15:57:06 -05:00
448f2e55e5 lang/org: update localleader keybinds
To better suit the new map!
2018-12-25 02:32:53 -05:00
70a4db49d1 lang/org: fix C-S-return & S-s-return keybinds 2018-12-24 02:43:32 -05:00
f9b72545b7 Replace def-org-file-link! with function
A macro is overkill for this.
2018-12-23 23:55:14 -05:00
3f195614d9 Normalize :leader/:localleader keybinds
Evil states no longer apply to them. Also removes x-alt-keysym.
2018-12-23 23:54:27 -05:00
936f13744b lang/org: improve error handling for remote image previews 2018-10-18 12:54:37 -04:00
b2927955e7 lang/org: move org-yt out of +attach in config.el 2018-10-18 12:51:35 -04:00
ecaa8fc7cd lang/org: move custom links into new hook function 2018-10-18 12:50:39 -04:00
b1f249afab lang/org: lazyload & refactor org-pdfview 2018-10-15 00:14:27 -04:00
251e9c0244 When :tools pdf is enabled, open org links to pdfs with pdf-view-mode 2018-10-10 22:00:30 +02:00
cdf745e72a map!: remove buffer-local :desc properties
which-key labels are registered globally, and will not work for
buffer-local keybinds. Until general is brought in, we'll have to suffer
label-less localleader keybinds.
2018-10-07 21:34:24 -04:00
f416e28857 lang/org: refactor default org-todo-keyword-faces
To ensure consistency
2018-10-06 20:57:43 -04:00
649b0795de fix org/config typo
In toplevel form:
../modules/lang/org/config.el:380:1:Warning: Unused lexical variable
    ‘seperator’

Signed-off-by: Edwin Török <edwin@etorok.net>
2018-10-04 00:38:05 +01:00
05160a6526 lang/org: default org-agenda-files to org-directory 2018-09-30 15:14:01 -04:00
078e3028a6 Minor, general comment revision 2018-09-28 21:02:59 -04:00
01dde97776 lang/org: tweak org-todo-keywords{,-faces} 2018-09-26 20:44:54 -04:00
736bdeb205 lang/org: fix variable font-size for agenda paths
When you hover your cursor over agenda items, the path to that headline
is displayed in the minibuffer. If org-level-N have unusual :height
values, they'll cause the minibuffer to grow.

This removes any variable font sizes from this display.
2018-09-22 01:37:47 -04:00
9726a982d1 lang/org: revise org-modules & revise load order
Improves the startup performance of org-mode by disabling modules I
don't think are commonly used (it's easy to add back however).
2018-09-21 22:42:26 -04:00
5ef94de541 Minor refactor, reformat & comment revision 2018-09-18 21:39:54 -04:00
b7be38b2a9 New incremental lazy-loading at startup
This is for loading large packages (like org and magit) quietly in the
background during idle time. It is already set up to incrementally load
org and magit.

This is still experimental, however. the idle timers may need to be
tweaked.
2018-09-18 11:42:35 -04:00
90f0765cfb lang/org: set default for org-refile-targets
So org-refile can see your agenda files and files adjacent to the
current one.
2018-09-09 09:58:22 -04:00
95fa12390d lang/org: fix unfontified remote links 2018-09-09 09:58:21 -04:00
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
a4250afb49 lang/org: Add evil-friendly calendar navigation 2018-08-27 23:55:22 +02:00
64a88385cb lang/org: make shiftab respect org-cycle-separator-lines #800 2018-08-21 02:56:54 +02:00
aa9b0a8b94 lang/org: set org-cycle-separator-lines to default
Relevant to #800
2018-08-21 02:56:54 +02:00
44472d3ee8 lang/org: use unicode separator for eldoc 2018-08-04 18:24:54 +02:00
d504c4bafe lang/org: respect inherited foreground in eldoc 2018-08-04 18:23:53 +02:00
b846a40af4 Remove unused letvar, spec 2018-07-30 23:03:34 +02:00
35e5a47e9f Rewrote indentation detection
More robust and easier to customize.
2018-07-29 19:31:32 +02:00
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
6b06cd32ac Add :autosave t :ttl nil to Org src popups
Suggested by @fuxialexander
2018-07-22 17:38:24 +02:00
41cf970c75 Autosave org capture popups
Prevents unsaved confirmation prompts when the org-capture popup is
closed.
2018-07-21 01:00:11 +02:00
c760bf7205 Open file links to /docs/ in emacs 2018-07-09 21:53:29 +02:00
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
15f66f4b52 Add doom|disable-show-paren-mode hook
For disabling show-paren-mode buffer-locally.
2018-07-06 01:06:13 +02:00
4ebbf8f056 Fix variable height org-level-N faces in eldoc
It only uses the face's :foreground, which should be enough, but it
prevents the minibuffer from being resized when eldoc displays
breadcrumbs in org-mode.
2018-07-05 13:44:34 +02:00
e8945b2142 No evil-org-special-o/O in plain lists by default
evil-org changes the behavior of o/O to create new headlines, plain list
items or table rows. I disable its new behavior in plain lists only.
This was done because:

1. It isn't uncommon to want o/O's default behavior in plain list bodies
   of text. Unlike tables, where a new line in the middle of a table
   doesn't make much sense.
2. M-RET/S-M-RET exists.
2018-07-04 13:26:43 +02:00
38414a636f Fix evil-org's o/O in nested plain lists
Thanks by @fuxialexander
2018-07-04 13:16:11 +02:00
64d4cf773d Fix oversized *Org Links* popup 2018-06-30 17:41:43 +02:00
5931d89d9d Fix oversized *Org Links* popup in org-mode
At some point, org changed how soon it popped up this window, so
+popup-shrink-to-fit would run before there was any content in the
buffer, causing it to take up way too much space.
2018-06-29 16:49:55 +02:00
75457f63fe lang/org: refactor & disable evil-org-set-key-theme
+ It's too much trouble supporting the evil-org-set-key-theme workflow.
  Perhaps I'll make it complain when you do.
+ Don't add +org|setup-ui to doom-load-theme-hook, it's unnecsesary.
+ Use faces in org-priority-faces rather than colors.
2018-06-27 02:53:18 +02:00
d9e58e36e9 Merge evil-org-agenda init with evil-org 2018-06-26 01:46:15 +02:00
14a6d7710c Prevent recursive require errors with evil-org
Caused when evil-org-set-key-theme is called too early (somehow).

Also makes evil-org-key-theme customizable, so it doesn't override a
user's changes to it.

Reported by @majorgreys
2018-06-26 01:16:01 +02:00
f6dc6ac74e Refactor out map.el usage
After some profiling, it turns out map-put and map-delete are 5-7x
slower (more on Emacs 25) than delq, setf/alist-get and add-to-list for
small lists (under 250 items), which is exactly how I've been using
them.

The only caveat is alist-get's signature is different on Emacs 25, thus
a polyfill is necessary in core-lib.
2018-06-23 19:53:54 +02:00
638ff6b0a2 Fix wrong-type-argument: sequencep from org-agenda
Caused by +org|exclude-agenda-buffers-from-workspace assuming
org-agenda-new-buffers would always be non-nil... then it wasn't.

Reported by @ar1a
2018-06-20 13:31:46 +02:00