Commit Graph

5820 Commits

Author SHA1 Message Date
e7a1e0b4a2 Improve interactive package management support 2018-05-16 00:11:14 +02:00
595109209a Fix doom//reload & optimize make all task 2018-05-16 00:11:14 +02:00
56a6d1faa3 Doctor: include origin in syntax error message 2018-05-16 00:11:14 +02:00
1e004a5638 Change undo-tree deferral to before switch buffer 2018-05-16 00:11:14 +02:00
9aa346f185 Make packages! accept list of package names (non lists)
This convenience macro lets you specify multiple packages with one
block, e.g.

  (packages! rtags ivy-rtags glsl-mode)

Each entry can be a full recipe.

  (packages! (rtags :disable t) (glsl-mode :recipe (...)))
2018-05-16 00:11:14 +02:00
0dfe1bc3d5 Allow chained package!'s
This allows users to disable one master package, thus disabling all its
children. e.g. Disable irony, then irony-eldoc, flycheck-irony,
company-irony and company-irony-c-headers will be disabled too.
2018-05-16 00:11:14 +02:00
09ecce0073 Fix package! :disable not disabling packages 2018-05-16 00:11:14 +02:00
b6813393d8 Remove custom helpful pretty-printer; default is superior 2018-05-16 00:11:14 +02:00
4734d55edc Revert smartparens deferral until first before-switch-buffer 2018-05-15 22:19:37 +02:00
18e6a6b1db Include package autoloads in doom-autoloads-file
This offloads some of the work Doom has to do creating
`doom-packages-file` onto `make autoloads`. This closely mimics the
package-quickstart-refresh functionality in Emacs 27+, but is more
specialized.

This means package autoloads are now loaded on every startup.

Many :mode, :interpreter, and :commands declarations in def-package!
blocks are made redundant by this and will be cleaned up soon.
2018-05-15 22:17:43 +02:00
8428a7a4ef Autoload smartparens library 2018-05-15 22:07:44 +02:00
7c97fd3c73 Load smartparens a little sooner (fix sp-with-modes error) 2018-05-15 21:52:09 +02:00
12013b4ad4 Cache interpreter-mode-alist in doom-packages-file too 2018-05-15 21:49:51 +02:00
fd16719324 lang/{python,ruby}: add doctor.el 2018-05-15 21:49:51 +02:00
c36e127ec5 Rethink core package deferral hooks
Ensure they are available exactly when they can be useful, but no
sooner.
2018-05-15 21:49:51 +02:00
97b8c04dbb def-package!: specify id for deferred-load transient hooks
Makes them easier to identify in hook lists.
2018-05-15 21:49:51 +02:00
6b8520d189 Change add-transient-hook! to take hook suffix as 2nd arg
By default, transient hooks are defined as doom-transient-hook-N, where
N is a counter. This makes debugging them difficult.

Now, you may specify an id for the second argument. e.g.

  (add-transient-hook! 'find-file-hook load-evil (require 'evil))

Will define doom|transient-hook-load-evil, which is easier to debug and
remove, if necessary.
2018-05-15 21:49:51 +02:00
af079e5f6f Remove unused doom-deferred-packages variable 2018-05-15 21:49:51 +02:00
06c22a5af2 ui/doom-dashboard: add vertical centering (experimental) 2018-05-15 21:49:50 +02:00
7eb0dd6340 lang/python: remove redundant pip-requirements config
The auto-mode-alist entry is already set up by
pip-requirements-autoloads.
2018-05-15 21:49:47 +02:00
76f09b077b Merge pull request #582 from liujoey/ace-link-mu4e
Add: ace-link-mu4e autoload
2018-05-15 16:48:56 +02:00
b0319d219b Merge pull request #583 from benreyn/br-helm-hotfix
Fix typo causing startup error in helm module
2018-05-15 16:48:22 +02:00
e38560252b Fix typo causing startup error in helm modules
It looks like an extra letter snuck into a `nil` in 67dab98. This is causing a
startup error on develop.
2018-05-15 09:40:44 -05:00
86b6fab18e Add: ace-link-mu4e autoload 2018-05-15 09:30:21 -04:00
0fe551983e Merge pull request #577 from ppwwyyxx/patch-3
Update imenu/config.el
2018-05-15 12:05:49 +02:00
9981fa4acb Merge pull request #579 from benreyn/br-slim-mode
Add [slim-mode] to :lang web +html
2018-05-15 12:05:25 +02:00
70d0ce4528 Fix error when def-package-hook! was used anywhere 2018-05-15 11:23:44 +02:00
984a0c8b6c config/default: SPC h R = doom//reload 2018-05-15 10:54:45 +02:00
032203ef99 hscroll-margin = 2
So that moving to the ends of a sentence don't sometimes leave the
cursor beyond the edge of the screen in GUI Emacs.
2018-05-15 10:54:45 +02:00
a6c6686628 Enable global-undo-tree-mode after setting variables 2018-05-15 10:54:45 +02:00
94f9e43f25 Rewrite :defer semantics
:defer now supports a hook, a cons cell with (SYMBOL . INTEGER) where
SYMBOL is a hook and INTEGER is a number of idle seconds before the
package is autoloaded, or just the integer (as per the default behavior
of :defer).

Also fixes an issue where switch-buffer-deffered packages (like
smartparens) wouldn't load.
2018-05-15 10:54:45 +02:00
9ac15aa0c1 Add [slim-mode] to :lang web +html
[slim-mode]: https://github.com/slim-template/emacs-slim
2018-05-14 20:30:28 -05:00
9a2c4f297c Fix void macro errors after byte-compiling 2018-05-15 03:24:30 +02:00
1320d83834 Fix doom/info displaying nil module flags 2018-05-15 03:15:45 +02:00
7122a3e01b ui/evil-goggles: enable evil-goggles-mode on load 2018-05-15 03:15:45 +02:00
5ab790c07d tools/eshell: default to ~/.doom.d/eshell or ~/.eshell 2018-05-15 01:57:40 +02:00
7bf133e991 Update unit test bootstrap 2018-05-15 01:46:22 +02:00
682587ac26 Remove esup 2018-05-15 01:46:08 +02:00
d51f3b1f38 Map /[A-Z]+$ files to text-mode 2018-05-15 01:40:42 +02:00
ba2fb4a82d tools/eshell: remove custom aliases
That belongs in my private module
2018-05-15 01:33:22 +02:00
a3800f3949 tools/eshell: set eshell-directory-name if ~/.doom.d/eshell exists 2018-05-15 01:33:07 +02:00
84fc356e40 tools/eshell: dedicate eshell windows
Disallow commands to change their buffer non-interactively.
2018-05-15 01:32:08 +02:00
d0f8bf402a doom-visible-windows: support visible window-parameter 2018-05-15 01:31:40 +02:00
abb4d5a009 Move :tools impatient-mode to new :collab category 2018-05-14 21:23:48 +02:00
bdf6fceb52 Silence deleted *.elc messages if byte-compile fails 2018-05-14 21:09:12 +02:00
dbeb7c639a Update doom doctor 2018-05-14 21:08:16 +02:00
5537f81e02 ui/doom-dashboard: doom-packages--benchmark => doom|display-benchmark 2018-05-14 20:56:17 +02:00
bb88411cc9 General minor refactor & docstring fixes 2018-05-14 20:55:55 +02:00
67dab98859 Improve idempotency of Doom config (in case of reloading) 2018-05-14 20:54:58 +02:00
48cb10a9cc lang/org: fix void-function +org|setup-ui error
Caused if org is loaded early in your config, before :lang org is
loaded. Or when byte-compiling.
2018-05-14 20:49:45 +02:00