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
aa3538591a
fix small spelling mistake in fonts.el
2019-08-12 14:47:39 -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
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
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
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
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
4a92d12267
Fix void-variable package error on 'doom update'
2019-08-07 17:22:46 -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
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
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
3423974234
Minor refactors & tweaks across the board
2019-08-06 14:50:42 -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
80988a7ad4
Fix kill-current-buffer advise supressing exwm hooks
2019-08-06 14:37:46 -04:00
2d28808121
Correct argument name in `defadvice!' docstring
2019-08-05 18:27:56 -05: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
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
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
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
2b81233353
Clean up _upgrade rmeote after 'doom upgrade'
2019-07-29 03:47:56 +02:00
ba07fe575e
Add {--no-{elpa,builds},-r,--repos} flags to 'doom purge'
2019-07-29 03:47:12 +02:00
8a16513107
Fix various errors in 'doom upgrade'
2019-07-29 03:34:35 +02:00
2304d69898
Fix wrong-type-arg number during 'doom upgrade'
2019-07-29 03:21:55 +02:00
c28fff4fbf
Fix void-variable branch error on 'doom upgrade'
2019-07-29 03:18:39 +02:00
e3d6d13be5
Fix doom/help-packages
...
Also adds doom-package-backend function.
TODO: Report more information about straight packages.
2019-07-29 03:18:38 +02:00
1033087beb
Merge pull request #1609 from tchajed/fix-fetcher-warning
...
Fix :fetcher warning to include package name
2019-07-28 16:33:23 +02:00
ff5be98cec
Disable show-trailing-whitespace by default #1593
...
Let people decide if they want it on or not.
See doom-enable-show-trailing-whitespace-h or setq-hook!
2019-07-28 16:10:54 +02:00
c2af0723d7
Show progress percentage during 'doom update'
2019-07-28 16:10:54 +02:00
19ecf8e46a
Correct last inline hook defuns
...
See a3e262c7
for rationale
2019-07-28 16:10:53 +02:00
a354bba261
Appease byte-compiler-san-chan-sensei-sama-chama
...
Praise be.
2019-07-28 16:10:53 +02:00