Commit graph

792 commits

Author SHA1 Message Date
Henrik Lissner
4024437cfb
lang/latex: don't forcibly hide modeline 2018-01-07 00:35:59 -05:00
Henrik Lissner
c0680e6fa3
lang/org: refactor load-path mods & don't forget it
Previously, Doom would forget lang/org's modification of the load-path
if you call doom//reload-load-path (which is called when you do package
management with an open Emacs session).

No more!
2018-01-07 00:15:58 -05:00
Henrik Lissner
31a4244686
Rethink what Doom loads at startup and manually
Better to simply load what we need, when we need it, rather than set up
autoloads for every litte thing.
2018-01-07 00:15:57 -05:00
Henrik Lissner
d738a8d13a
lang/org: fix unit test 2018-01-06 04:15:40 -05:00
Henrik Lissner
82abc8647a
lang/org: remove recursive require (not necessary anymore?) 2018-01-06 04:15:19 -05:00
Henrik Lissner
185bf58c9e
lang/org: add elpa org to load-path in init.el #327
Let's try to change the load-path sooner...
2018-01-06 04:02:05 -05:00
Henrik Lissner
b28f6ed477
General minor refactor & comment revision 2018-01-06 03:03:02 -05:00
Henrik Lissner
08b479b06f
Rename popup parameter escape-quit => quit 2018-01-06 02:42:53 -05:00
Henrik Lissner
3cbddbfd88
Generalize +evil-esc-hook into doom-escape-hook
This lets vanilla Emacs users in on having a universal "escape" key.
2018-01-06 02:38:39 -05:00
Henrik Lissner
91357a3e5d
💥 Replace core-popup with new feature/popup module
This is a breaking change! Update your :popup settings. Old ones will
throw errors!

Doom's new popup management system casts off its shackles (hur hur) and
replaces them with the monster that is `display-buffer-alist`, and
window parameters.

However, this is highly experimental! Expect edge cases.  Particularly
with org-mode and magit (or anything that does its own window
management).

Relevant to #261, #263, #325
2018-01-06 02:17:43 -05:00
Henrik Lissner
42cee2e046
Update :jump => :lookup 2018-01-05 23:57:48 -05:00
Henrik Lissner
55ad843a09
lang/org: fix byte-compiler using outdated, built-in org #327
During runtime, the new version of org (installed via ELPA) is added to
load-path, but this doesn't happen during compile-time. Wrap it in
eval-and-compile and that changes.
2018-01-05 13:43:13 -05:00
Henrik Lissner
dd7a26352b
lang/cc: remove unused arg in +cc/reload-compile-db
Appeases the byte-compiler (praise be!)
2018-01-05 13:16:56 -05:00
Henrik Lissner
1371d34149
💥 Replace feature/jump with feature/lookup
+ Adds Dash docset integration (with helm or ivy support)
+ Adds devdocs.io integration
+ Three new settings: :lookup, :devdocs and :docset
2018-01-04 17:11:54 -05:00
Henrik Lissner
4af4803e0b
Merge pull request #323 from ocharles/patch-1
haskell: Fix warning about ghc-mod
2018-01-04 17:01:01 -05:00
Henrik Lissner
2598d48bba
Add org elpa archive + update lang/org #327
Now that the org ELPA archive has https support, we can add it to
package-archives. This fixes some 'org is unavailable' errors when
installing org packages that have declared earlier versions of org as
a dependency.

This also makes installing a newer version of org-mode much simpler.
Woo!
2018-01-04 16:16:45 -05:00
Henrik Lissner
7556762d98
lang/latex: refactor (WIP) 2018-01-04 16:16:45 -05:00
Henrik Lissner
feff92c626
Fix company-auctex not initializing properly in Auctex buffers #326
Caused because AucTex's LaTeX-mode reports its major-mode as
'latex-mode. A check in :company-backends expects major modes to have
matching hooks (e.g. LaTeX-mode-hook => LaTeX-mode).
2018-01-04 16:16:45 -05:00
Henrik Lissner
8ef3cf8ea7
lang/python: fix anaconda-mode-find-references typo 2018-01-04 16:16:44 -05:00
Henrik Lissner
824393043c
lang/emacs-lisp: add imenu support for def-test!/ert-deftest 2018-01-04 16:16:44 -05:00
Oliver Charles
e688bd8c85
haskell: Fix warning about ghc-mod
The warning confusingly states that `ghc-mode` couldn't be found, implying it's some kind of emacs mode. However, the predicate is actually checking for the `ghc-mod` executable, which is something entirely different.
2018-01-04 11:06:05 +00:00
Henrik Lissner
db5910da3c
lang/org: don't error out if +org-dir doesn't exist 2018-01-03 13:15:25 -05:00
Henrik Lissner
8e7b822062
Remove core-popup coupling
New popup management system coming soon!
2018-01-03 03:44:34 -05:00
Henrik Lissner
c9a878a62f
Conform unit test macros to naming scheme 2018-01-01 16:59:30 -05:00
Henrik Lissner
dcfa05da11
lang/org: wrap smartparens config in after! 2018-01-01 16:17:02 -05:00
Henrik Lissner
1ebc4c9594
lang/cc: fix irony-mode complaining in non-C modes, like php-mode 2018-01-01 13:23:39 -05:00
Henrik Lissner
8ad2666f8f
Refactor and fix unit tests, plus isolate them better 2017-12-31 14:58:45 -05:00
Henrik Lissner
c9d5d41aad
lang/org: add baseline readme 2017-12-31 00:44:57 -05:00
Henrik Lissner
f8f4885405
Don't install org-plus-contrib in Emacs 26+
Emacs 26+ has Org 9.1.4 built in.
2017-12-30 03:13:32 -05:00
Henrik Lissner
f440bc37a3
lang/emacs-lisp: fix +eval/buffer fn not capturing entire buffer #313 2017-12-29 13:37:26 -05:00
Henrik Lissner
13111ff5c4
Set epa-{file-encrypt-to,pinentry-mode}; no authinfo for sudo via tramp 2017-12-27 20:48:06 -05:00
Henrik Lissner
b331acb46b
lang/cc: rename +cc-{include-paths,compiler-options} #305 2017-12-27 17:10:28 -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
0a9a992e81
lang/cc: remove +cc|init-rtags-server-maybe
The rtags-start-process-unless-running function does exactly the same
thing, making +cc|init-rtags-server-maybe redundant.

Relevant to #305
2017-12-27 00:49:09 -05:00
Henrik Lissner
854b26af28
lang/cc: fix rtags-cancel-process preventing emacs quit 2017-12-27 00:42:04 -05:00
Henrik Lissner
0da3c563b7
lang/cc: update readme #305 2017-12-27 00:36:22 -05:00
Henrik Lissner
e833a16e04
lang/cc: +cc/reload-compile-commands => +cc/reload-compile-db #305 2017-12-27 00:11:09 -05:00
Henrik Lissner
869a85a46b
lang/cc: new command +cc/reload-compile-commands #305 2017-12-26 23:44:58 -05:00
Henrik Lissner
fa98d79bf4
lang/cc: rtags-completions-enabled = nil #305 2017-12-26 23:39:44 -05:00
Henrik Lissner
62f7b2a9f4
lang/cc: add flycheck-irony back to packages.el (whoops) 2017-12-26 19:53:48 -05:00
Henrik Lissner
0b2e6abac6
lang/cc: don't undo ivy-mode-map remapping 2017-12-26 19:39:20 -05:00
Henrik Lissner
10110ad9d2
lang/cc: kill emacs-spawned rdm on quit #305 2017-12-26 19:36:03 -05:00
Henrik Lissner
222a2955e2
lang/cc: refactor rtags integration #305 2017-12-26 19:24:25 -05:00
Henrik Lissner
750b74379d
lang/cc: add rtags support #305 2017-12-26 18:15:10 -05:00
Henrik Lissner
a02edc1d01
lang/cc: map cmake-mode to .cmake files 2017-12-26 18:12:15 -05:00
Henrik Lissner
e5dcdadd5e
lang/cc: (when ...) -> :when 2017-12-26 14:14:36 -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
208fbb1726
Fix invalid-file-location when capturing to todo template #296 2017-12-24 15:08:00 -05:00
Henrik Lissner
9d661ff71e
Move ac-php-tags-path & recentf-save-file to doom-cache-dir 2017-12-23 14:30:36 -05:00
Henrik Lissner
a74218f490
lang/java: remove redundant server-install code + minor refactor
meghanada-mode already auto-installs the server. It doesn't need our
help.
2017-12-22 15:17:07 -05:00