Commit Graph

1701 Commits

Author SHA1 Message Date
e571060063 Merge pull request #332 from UndeadKernel/latex_module
Latex module revamped
2018-01-10 04:16:27 -05:00
4a8825e91d Merge pull request #336 from Dragnucs/patch-1
Add Vue file to web mode
2018-01-10 04:15:46 -05:00
56a3c81778 Correct def-setting and use string-empty-p.
Change default ivy-bibtex behavior to insert bibliography.
2018-01-09 14:19:02 +01:00
32c3dd847e Add Vue file to web mode
Support `.vue` Vue.js files in web-mode.
2018-01-09 11:27:48 +00:00
3dbf994871 lang/org: close agenda buffers after org-agenda
Experimental. Running org-agenda would leave leftover open buffers, this
hook cleans them up.
2018-01-08 20:42:43 -05:00
6853196017 lang/org: general refactor; split init into hooks
lang/org's initialization process is now split up into hooks on
org-load-hook. This approach is cleaner and easier to customize. I also
removed the escape binding in org-agenda-mode-map, as the popup system
makes it redundant.
2018-01-08 20:41:56 -05:00
d443aed25c feature/eval: improve compatibility with feature/popups
This makes quickrun, *doom eval* and *Pp Eval Output* buffers behave
better.

Eval output buffers should a) shrink themselves to the size of their
output (within reason), b) *not* grab focus, and c) be easy to close
from afar with C-g/Escape.

Gotchas:

1. Quickrun gets output asynchronously, so we shrink it on
   quickrun-after-run-hook, not in the popup rule.
2. *doom eval* and *Pp Eval Output* opens with its output ready, so the
   popup system may shrink those to fit.
3. *doom eval* and *Pp Eval Output* handle window selection themselves.
   Let them by setting the select window parameter to #'ignore.
2018-01-08 17:30:54 -05:00
e91cb11243 Latex module revamped
Latex language module with previews, latexmk, reftex, bibtex and others.
Completion with company mode.
Selection of bibliography using Ivy or Helm.
Later preview panel or okular as viewers.
LatexMk for compiling code.
Prettified indentation with adaptive-wrap along with good indentation of environments.
Additional fontification of common commands.
2018-01-08 19:18:37 +01:00
35594f0729 lang/org: fix todo(t) capture target (incorrect path) 2018-01-07 22:20:11 -05:00
4024437cfb lang/latex: don't forcibly hide modeline 2018-01-07 00:35:59 -05:00
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
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
d738a8d13a lang/org: fix unit test 2018-01-06 04:15:40 -05:00
82abc8647a lang/org: remove recursive require (not necessary anymore?) 2018-01-06 04:15:19 -05:00
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
b28f6ed477 General minor refactor & comment revision 2018-01-06 03:03:02 -05:00
08b479b06f Rename popup parameter escape-quit => quit 2018-01-06 02:42:53 -05:00
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
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
42cee2e046 Update :jump => :lookup 2018-01-05 23:57:48 -05:00
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
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
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
4af4803e0b Merge pull request #323 from ocharles/patch-1
haskell: Fix warning about ghc-mod
2018-01-04 17:01:01 -05:00
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
7556762d98 lang/latex: refactor (WIP) 2018-01-04 16:16:45 -05:00
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
8ef3cf8ea7 lang/python: fix anaconda-mode-find-references typo 2018-01-04 16:16:44 -05:00
824393043c lang/emacs-lisp: add imenu support for def-test!/ert-deftest 2018-01-04 16:16:44 -05:00
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
db5910da3c lang/org: don't error out if +org-dir doesn't exist 2018-01-03 13:15:25 -05:00
8e7b822062 Remove core-popup coupling
New popup management system coming soon!
2018-01-03 03:44:34 -05:00
c9a878a62f Conform unit test macros to naming scheme 2018-01-01 16:59:30 -05:00
dcfa05da11 lang/org: wrap smartparens config in after! 2018-01-01 16:17:02 -05:00
1ebc4c9594 lang/cc: fix irony-mode complaining in non-C modes, like php-mode 2018-01-01 13:23:39 -05:00
8ad2666f8f Refactor and fix unit tests, plus isolate them better 2017-12-31 14:58:45 -05:00
c9d5d41aad lang/org: add baseline readme 2017-12-31 00:44:57 -05:00
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
f440bc37a3 lang/emacs-lisp: fix +eval/buffer fn not capturing entire buffer #313 2017-12-29 13:37:26 -05:00
13111ff5c4 Set epa-{file-encrypt-to,pinentry-mode}; no authinfo for sudo via tramp 2017-12-27 20:48:06 -05:00
b331acb46b lang/cc: rename +cc-{include-paths,compiler-options} #305 2017-12-27 17:10:28 -05:00
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
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
854b26af28 lang/cc: fix rtags-cancel-process preventing emacs quit 2017-12-27 00:42:04 -05:00
0da3c563b7 lang/cc: update readme #305 2017-12-27 00:36:22 -05:00
e833a16e04 lang/cc: +cc/reload-compile-commands => +cc/reload-compile-db #305 2017-12-27 00:11:09 -05:00
869a85a46b lang/cc: new command +cc/reload-compile-commands #305 2017-12-26 23:44:58 -05:00
fa98d79bf4 lang/cc: rtags-completions-enabled = nil #305 2017-12-26 23:39:44 -05:00
62f7b2a9f4 lang/cc: add flycheck-irony back to packages.el (whoops) 2017-12-26 19:53:48 -05:00
0b2e6abac6 lang/cc: don't undo ivy-mode-map remapping 2017-12-26 19:39:20 -05:00