Commit Graph

9973 Commits

Author SHA1 Message Date
c8baa2b3f6 editor/evil: refactor ex commands; add evil-traces
This commit lazy loads Doom's custom ex commands. To add your own,
you'll need to wrap them in (after! evil-ex ...).
2019-08-15 14:58:41 -04:00
56d2c95cc7 lang/rust: remove redundant editorconfig-indentation-alist entry 2019-08-15 14:51:06 -04:00
5aa7415d87 Add -t/--timeout switch to 'doom update'
To get around timeout issues on slower connections or larger packages.
2019-08-15 01:34:28 -04:00
b29a7ba8fe Fix 'doom compile'
Fixes `void-function define-key!` error.
2019-08-15 01:33:40 -04:00
374940b959 Persist scratch buffers more proactively
Prior to this change, scratch buffers were saved only when Emacs is
killed. In cases where Emacs doesn't die properly, you'd lose your
scratch contents. Now, they are persisted as soon as you close them.
2019-08-15 01:07:45 -04:00
7ded14f548 Refactor scratch buffer init 2019-08-15 01:02:00 -04:00
7d714b7531 Fix #1673: restore project-file-exists-p! macro 2019-08-14 22:36:19 -04:00
0c7e6261e8 term/vterm: don't reset vterm popup 2019-08-11 02:05:09 -04:00
702369e888 Move :ui tabbar to :ui tabs
And update its README.org
2019-08-11 02:05:09 -04:00
856a2afe43 Add delete! convenience macro
And polish delq!'s docstring.
2019-08-11 02:05:09 -04:00
0169f8e3f6 Merge pull request #1523 from gagbo/pretty_code_hasklig
Add Hasklig pretty-code configuration
2019-08-10 10:57:19 -04:00
b4f6608735 Merge pull request #1614 from Nollo/straight
Bindings for Clojure and Web modules
2019-08-10 10:53:41 -04:00
2cd9685758 Discard timed out future correctly on 'doom update'
And list packages immediately after message (no newlines).
2019-08-09 22:23:38 -04:00
624c5e1a71 Complain about unknown targets in 'doom compile' #1657 2019-08-09 22:23:37 -04:00
ffa7a0323a Merge pull request #1641 from alexandergraul/develop
Fix evil-window "c" binding
2019-08-09 22:20:46 -04:00
1feadb0d7f Merge pull request #1658 from uelei/sort-py-imports
Sort python imports
2019-08-09 22:06:45 -04:00
2b0cb80138 sort python imports 2019-08-09 20:09:18 -03:00
a15b8e314a Add Hasklig pretty-code configuration
Took the list of symbols from
https://github.com/minad/hasklig-mode/blob/master/hasklig-mode.el ,
only rudimentary testings has been done on this
2019-08-09 20:25:13 +02:00
15161c9f46 Fix evil-window "c" binding
Instead of relying on the optional ":ui workspaces" feature, the
built-in evil-window-delete is used. ":ui workspaces" remaps the
evil-window-delete already, so no functionality is lost for users of
that feature.

Fixes https://github.com/hlissner/doom-emacs/issues/1640.
2019-08-09 10:20:53 +02:00
db1c1995fd ui/workspaces: fix evil-window-delete remapping
Relevant to #1641
2019-08-08 23:58:41 -04:00
48415edce3 Fix #1644: --restore switch not recognized 2019-08-08 23:30:16 -04:00
0a44881df1 Increase number of sub-processes for 'doom update' 2019-08-08 23:00:54 -04:00
c266680c11 Fix #1653: uncaught error when async process times out 2019-08-08 22:59:57 -04:00
115a436273 Fix 'doom update' for chemacs users
Or users who have Doom in a non-standard location (i.e. outside
~/.emacs.d).
2019-08-08 11:48:13 -04:00
3c8e868b1b Remove built-in org from load-path at install time
Makes it less likely that packages will load the original org before the
new one has been installed.
2019-08-08 10:10:11 -04:00
5454ca4c75 lang/javascript: enable eldoc-mode on tide-mode-hook 2019-08-08 10:05:39 -04:00
ef4424bda6 input/{chinese,japanese}: fix org-html advice regexp #1649 2019-08-07 23:36:21 -04:00
956b8cc532 Merge pull request #1619 from filalex77/fix-doom-reload-packages
Require straight.el in doom/reload-packages
2019-08-07 21:48:10 -04:00
a0f0bc836f Merge pull request #1623 from MannySchneck/languagetool-macos-fix
fix: bump languagetool jar search depth on macos
2019-08-07 21:45:09 -04:00
fde4d1143b bin/doom-doctor: load Doom config interactively
May indirectly fix #1636
2019-08-07 21:30:30 -04:00
ef60762a92 Fix wrong-type-arg: listp error on 'doom update'
Caused when async fails to create a child process for a certain group of
packages (needs to be investigated more).
2019-08-07 21:07:43 -04:00
f42bfde8ae Fix #1648: doom upgrade not updating packages
...when Doom itself is up-to-date.
2019-08-07 20:55:56 -04:00
b330728032 Fix #1575: SPC * error when no symbol at point 2019-08-07 18:37:02 -04:00
4a92d12267 Fix void-variable package error on 'doom update' 2019-08-07 17:22:46 -04:00
b2aec5f546 input/{chinese,japanese}: fix #1649 2019-08-07 17:07:36 -04:00
30d5eff10a lang/org: optimize smartparens rule for headings 2019-08-07 17:03:16 -04:00
b808c4e1ab Reload autoloads files in noninteractive sessions
After it's been regenerated, so that any hacks (*cough*org/magit*cough*)
are in scope.
2019-08-07 16:55:04 -04:00
87358db85e Fix void-function mapcan on Emacs 25.x 2019-08-07 16:54:47 -04:00
9ab49be564 Fix "fatal: no names found" errors on 'doom rebuild'
Some packages that depend on org (like elfeed) will load the built-in
org early in the rebuild/package install process, which causes org to
define org-release and org-git-version, sometimes overwriting our stubs
for it. Without our hack, org call 'git describe' in the org repo in an
attempt to determine the installed version, which won't work in a sparse
clone. To ensure future definitions never overwrite ours, we advise them
as well.

Also moves magit-version hack to its autoload file, for consistency with
org's hacks.
2019-08-07 16:31:45 -04:00
c8d6ab823b Update documentation for 'doom env' 2019-08-07 01:42:46 -04:00
b34a542ca0 Fix over-eager whitespace-mode after switching major modes
Some major modes (like rust-mode) may trigger
doom-highlight-non-default-indentation-h twice, causing whitespace-style
to be set to its default global value, which (by default) enables
whitespace-mode with all its features. This may overwhelm the
unsuspecting user, so we instead only tack on our modifications to
whitespace-style to its existing buffer-local value, rather than its
global value.
2019-08-06 20:38:04 -04:00
1dcbdc8dfb completion/ivy: optimize counsel-file-jump
Instead of `find`, force it to use fd or ripgrep, if available.
2019-08-06 19:43:54 -04:00
29e851da27 Try counsel-file-jump before project-find-file-in
The former is more reliable (and faster, with the fd/rg hack in the next
commit).

Also (hopefully) fixes the "cl-no-applicable-method: No applicable
method: project-roots" error emitted when project-find-file-in fails to
identify the target as a project root.
2019-08-06 19:43:38 -04:00
3ec66b7c1c Merge pull request #1645 from vikigenius/jsonnet-straight
Feature: Added support for jsonnet
2019-08-06 14:52:06 -04:00
3423974234 Minor refactors & tweaks across the board 2019-08-06 14:50:42 -04:00
62aea0a73a Add ctrl [-+=] keys for adjusting font-size 2019-08-06 14:47:53 -04:00
3e4c02f92f Resolve symlinks in doom-emacs-dir
Shaves a little time off startup on slower drives.
2019-08-06 14:46:15 -04:00
eb0ae8622c Fix file paths in comment headings 2019-08-06 14:45:55 -04:00
28a2d718c6 defer loading jsonnet-mode 2019-08-06 14:42:46 -04:00
80988a7ad4 Fix kill-current-buffer advise supressing exwm hooks 2019-08-06 14:37:46 -04:00