Commit Graph

1701 Commits

Author SHA1 Message Date
7cd97588e6 lang/cc: change default standard to c++1z 2018-06-04 00:11:13 +02:00
e2bf520682 Fix dwim RET keybind in evil org-mode
Accidentally removed in 1e81a354
2018-06-03 16:18:02 +02:00
32a2a2b64d General, minor refactor
+ Group hooks with add-hook!
+ Sharpquote elfeed call
+ Extract elfeed buffer detector into function and ensure idempotency of
  doom-real-buffer-functions
2018-06-03 15:51:59 +02:00
b81ac61d84 Remove unnecessary markdown-toc def-package! block
markdown-toc-generate-toc is autoloaded by the package, so we don't need
to.
2018-06-03 15:50:46 +02:00
1e81a35461 Minimize dependence on map!
This is in preparation for general.el integration coming in 2.1.1. It is
very likely that map! will change (and even more, be split into several
macros). Not much, but change none-the-less. Specifically, the state
keywords (e.g. :nvi, :n, :i) will be removed in favor of a :state
property that takes a list, e.g. (normal visual insert).

In any case, both map! and general are also relatively expensive
compared to define-key and evil-define-key* (and the new define-key!
macro), so use that when we can.

This also means changes to either API won't affect Doom's modules in the
long term.
2018-06-03 15:46:00 +02:00
3d893ea53e Update org-format-latex-options when theme changes 2018-06-03 12:23:17 +02:00
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
ae86498a41 Tie evil-org/evil-org-agenda to +everywhere flag 2018-06-03 12:20:16 +02:00
da9096acac Fix evil-org-mode keybinds on first org buffer
evil keeps track of auxiliary keymaps. This list is updated when you
switch states, but it _really_ needs to be updated when minor
modes (with keymaps) are toggled. When this isn't done, their keymaps
aren't recognized and their keys will be unavailable at first.

Since there is no global hook for enabling minor modes, we have to
manually add evil-normalize-keymaps to minor mode hooks.

This commit, specifically, fixes evil-org-mode-map. This also indirectly
fixes folding src blocks for evil users (on the first org buffer).
2018-06-03 12:08:33 +02:00
ad5713cd78 add-hook 'nose-mode-hook #'evil-normalize-keymaps
Ensures nose-mode-map keybinds work in nose-mode.
2018-06-03 11:21:32 +02:00
bcc01628a3 Remove anaconda-view-mode-map keybinds
It, with anaconda-view-mode, have been removed upstream.
2018-06-03 11:20:43 +02:00
2761e8c841 lang/org: switch to hard word wrapping
Evil's motions are gimped in soft-wrapped buffers. It also hurts
performance.
2018-06-03 01:38:51 +02:00
29ed19b612 lang/elm: wrap elm-mode config in after! block 2018-06-02 21:42:11 +02:00
385cb476ba Fix redundant minor mode entries in elisp imenu 2018-06-02 15:22:41 +02:00
e5a4415d58 General, minor reformatting/refactor 2018-06-02 13:58:04 +02:00
c747bc46e3 Optimize lang/qt #642 2018-06-02 02:53:54 +02:00
83232ac9aa Add basic qt support 2018-06-01 18:23:35 -04:00
cb4b94cc12 Conditionally install anaconda-mode dependencies 2018-06-01 17:14:17 +02:00
48ee4ff71e lang/markdown: markdown-enable-math = nil
Not a common necessity when writing markdown, and slows down modes with
markdown submode regions (like magithub, when initializing issue/PR
bodies).

This is easily toggled with markdown-toggle-math anyway.
2018-06-01 17:08:48 +02:00
fd95bfee07 Fix rspec-mode activation & localleader keybinds 2018-06-01 16:59:25 +02:00
83db654058 Fix anaconda-mode loading late in python-mode #638
This would mean anaconda-mode's config wouldn't work until the second
opened python buffer (or invokation of python-mode).
2018-06-01 12:19:11 +02:00
4f4495ca2a Move ispell-dictionary default to feature/spellcheck #630
Makes more sense to be here.
2018-06-01 02:25:38 +02:00
4b0e3af424 Set default ispell-dictionary sooner #630
This makes it easier to change and won't override user's customizations.
2018-06-01 02:23:24 +02:00
3bdb3d4e5d Update uses of associate! 2018-06-01 02:20:00 +02:00
5c8ff3ada3 Fix wrong-type-arg error from #+call() in org-mode #634
By rewriting the org babel library lazy-loader.
2018-05-31 17:25:59 +02:00
1f5dae9176 Merge evil-collection-anaconda into lang/python #628
This is the first step of removing evil-collection from Doom.
2018-05-31 13:59:21 +02:00
c80baef05d lang/python: minor refactor
company-anaconda is *not* being removed, it just autoloads itself, so we
don't need its def-package! block.
2018-05-31 11:31:32 +02:00
568a6c7e2c lang/python: remove defunct advice 2018-05-31 11:27:23 +02:00
5948a52a38 Fix jumpy cursor in org tables when using evil-replace 2018-05-30 18:15:58 +02:00
ff3f18ccaf Use stock ob-ipython instead of fuxialexander's fork
By @fuxialexander's request
2018-05-30 18:15:02 +02:00
ebfc5648ef lang/org: major refactor of +ipython feature 2018-05-30 18:14:48 +02:00
98b439e3bb Refactor lang/org +babel lazy loader for src blocks
Exposes +org-babel-load-functions, which are a list of functions that
will be tried in order to load the dependencies of a src block.
2018-05-30 18:11:12 +02:00
31d34ae5f0 Merge pull request #620 from fuxialexander/ob-ipython
lang/org: +ipython
2018-05-30 11:57:14 +02:00
d5d94d0d22 Merge pull request #619 from secondwtq/develop
Fix typo in OCaml module.
2018-05-30 11:48:32 +02:00
49f16f681c lang/org: realign/recalculate tables on exit evil replace mode 2018-05-30 01:45:35 +02:00
acaba8ef3b lang/latex: fix void-variable TeX-view-program-list error 2018-05-30 00:37:38 +02:00
3b4aca6270 lang/emacs-lisp: refactor macrostep config 2018-05-29 16:00:51 +02:00
947fe345c3 Minor, general refactor
In some contexts, map-put is superior to add-to-list.
2018-05-29 15:34:13 +02:00
fbce2388ab lang/latex: general refactor & load optimization 2018-05-29 14:13:31 +02:00
f2be46d60f lang/org: only load evil-org-agenda if evil is loaded 2018-05-29 14:13:31 +02:00
734b464373 Fix: load! ipython when featurep! 2018-05-29 18:32:52 +08:00
d1812e040f Fix: packages.el: ob-ipython repo 2018-05-29 18:31:15 +08:00
21631aa8bf Add: org: +ipython +right-popup option 2018-05-29 18:31:15 +08:00
f98f7ab552 Add: org: +ipython
Add: packages
2018-05-29 18:31:15 +08:00
ee49b5ff29 Fix typo in OCaml module. 2018-05-28 11:30:17 +08:00
1a452b6842 💥 Change first arg of load! macro
load!'s first argument is no longer a symbol (that will cause
void-variable errors now) to save on unnecessary interning and simplify
compile-time logic. It accepts any valid form that evaluates to a string
now.

If you use load!, you need to change its argument to a string!

e.g. (load! +my-module) => (load! "+my-module")
2018-05-27 12:52:28 +02:00
fa17de9f19 ui/popup: refactor :popup/:popups settings
And move org popup settings to lang/org
2018-05-26 23:26:45 +02:00
80fe6aa082 Merge pull request #612 from seanpile/seanpile/go-mode-fixes
Small fixes for go-mode
2018-05-26 10:34:35 +02:00
67eb749d1e lang/go: group flycheck config & use add-hook 2018-05-26 10:33:55 +02:00
30fccbc06c Merge pull request #614 from Emiller88/patch-2
Update config.el
2018-05-26 10:17:12 +02:00