Commit Graph

10251 Commits

Author SHA1 Message Date
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
e89bbe573b Merge pull request #1624 from jboyens/patch-1
Update README.md
2019-08-06 14:36:45 -04:00
ae40ee88db Update README.md
Change `dump-jump` to `dumb-jump`
2019-08-06 11:34:30 -07:00
df9509a298 minor fixes 2019-08-06 14:34:22 -04:00
85db21cd32 Merge pull request #1620 from filalex77/update-tools-docker-readme
tools/docker: Update README.org
2019-08-06 14:25:24 -04:00
213cc55661 Merge pull request #1638 from danielkoning/defadvice-argument-name-fix
Correct argument name in `defadvice!' docstring
2019-08-06 14:20:43 -04:00
9bbcf538c9 Merge pull request #1639 from filalex77/fix-plantuml-install-mirror
lang/plantuml: change mirror for +plantuml/install
2019-08-06 14:19:34 -04:00
f95c8bf2c8 Feature: Added support for jsonnet 2019-08-06 13:53:04 -04:00
042cf5ae43 lang/plantuml: change mirror for +plantuml/install
This is the one they currently redirect to.

Fixes #1637.
2019-08-06 10:21:03 +03:00
2d28808121 Correct argument name in `defadvice!' docstring 2019-08-05 18:27:56 -05:00
6647ebc736 term/shell: fix void-variable buffer error on +shell/toggle 2019-08-05 11:29:22 -04:00
042e55ca31 Fix +go/test-rerun 2019-08-01 13:46:04 +01:00
9e3f92a3a4 fix: bump languagetool jar search depth on macos
On macos, the libexec directory for languagetool, as installed by brew,
lives in a version directory. To find the jar, we need to increase the
search depth, since the version directory will change with every version.

Example of brew-installed languagetool:
--------
$ tree -L 2 /usr/local/Cellar/languagetool
=>
/usr/local/Cellar/languagetool
└── 4.6
    ├── CHANGES.md
    ├── CHANGES.txt
    ├── COPYING.txt
    ├── INSTALL_RECEIPT.json
    ├── README.md
    ├── bin
    └── libexec
2019-07-31 12:08:26 -05:00
d82794665a tools/docker: Update README.org
- Proofread a bit
- Add #+SINCE: v2.0.9
- Change some formatting to proper Org syntax
2019-07-30 15:22:19 +03:00
ec45c9367a Require straight.el in doom/reload-packages
Because it's not loaded for some reason.

Also, require is not a big problem IMO: if you run this interactively, the
require cost probably doesn't matter much already.

Fixes #1618.
2019-07-30 14:47:19 +03:00
42869ece55 Remove git-timemachine-show-commit fix
The problem was fixed upstream.

See https://gitlab.com/pidu/git-timemachine/issues/77
2019-07-30 12:51:20 +02:00
2c481befc4 ui/tabbar: persist tabs across workspaces 2019-07-30 12:07:16 +02:00
54edffc4bb cli/packages: emit a little more debug info
To mark the start of purging/regrafting procedures.
2019-07-29 21:29:43 +02:00
40eb9cf17e Replace helm-projectile-* commands with +helm/* #1589 2019-07-29 21:23:51 +02:00
435436e390 Fix 'doom purge' failing to delete build directory 2019-07-29 21:18:49 +02:00
7559949e09 Rewrite 'doom purge'; add repo regrafting
'doom purge -r' now re-grafts shallow cloned packages (compacting them
as much as possible).
2019-07-29 21:09:23 +02:00
99c73cea0b setq-hook!: don't append setq hooks
Now settings can take effect in time for hooks that could see them.
2019-07-29 21:09:23 +02:00
c3e2ec0157 Redesign straight initialization #1610 #1607
Straight throws an 'emacs-version-changed' error if you load it with a
version of Emacs it wasn't compiled with. This update causes this to
emit a more helpful error.
2019-07-29 21:09:21 +02:00
87fd81281f Rewrite 'doom update'
- Is now much more fault tolerant (produces better errors)
- Now handles async.el process errors as well
- Standardizes data structure of thread responses
2019-07-29 21:01:46 +02:00