Commit Graph

10138 Commits

Author SHA1 Message Date
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
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
da954aa361 Improve 'doom build' reporting & checks
- Fix 'doom build' not byte-compiling stale dependencies of rebuilt
  packages.
- Fix 'doom build' logging the wrong number of packages that were
  rebuilt.
2019-07-29 20:59:52 +02:00
4e305dd2ab Fix bin/doom misinterpreting wrong-num-of-args errors 2019-07-29 20:58:02 +02:00
c32244ad4e Generalize doom-sh
And slightly reformat 'doom upgrade' "you have updates" message.
2019-07-29 20:57:20 +02:00
c67c503392 lang/javascript: js2-idle-timer-delay = 0.1
Makes syntax highlighting update a little faster.
2019-07-29 18:57:18 +02:00
b2b87aacba docs/api: minor comment corrections 2019-07-29 18:56:49 +02:00
96f2b5dbf6 tools/ansible: don't init submodules
emacs-ansible pulls in ansible; which takes a long time to download and
isn't needed.
2019-07-29 17:24:20 +02:00
19b6e82dc4 Change package! :recipe to extend default recipe
Instead of replacing the whole recipe with the contents of :recipe, only
modify the specified properties. This allows you to specify helpful
parameters like :nonrecursive or :depth without having to include the
full recipe.
2019-07-29 17:22:27 +02:00
baafa0f635 Fix #1617: fd is used despite being absent 2019-07-29 15:05:26 +02:00
09d67f86d9 lang/org: move org-release hack back to config.el
We don't need it available *that* early.
2019-07-29 15:05:26 +02:00
2b1c60fbd4 app/irc: refactor & fix #1616 2019-07-29 15:05:26 +02:00
3161ae59d3 [ADD] description for web prefix bindings 2019-07-29 09:21:16 +02:00
50a9faa7c4 [ADD] new clojure/cider bindings 2019-07-29 09:17:14 +02:00
0f9ce4de67 Merge pull request #1591 from nate/straight
Add more cider functions to the clojure keymap
2019-07-29 03:55:42 +02:00