42a21dffdd
Add doom-incremental-load-immediately option
...
Closes #3063
2020-05-08 16:06:55 -04:00
4f27d8e774
Fix #3070 : project scratch buffers not persistent
2020-05-08 15:08:25 -04:00
cb8b66dd36
Remove old persisted scratch buffer file
...
This was for backward compatibility with the old format. Removing this
now after two months being deprecated.
2020-05-08 14:44:48 -04:00
66d4aeed1a
Don't unset abbreviated-home-dir for Windows users
...
With a35a457a1
, this isn't necessary anymore
2020-05-06 02:14:30 -04:00
4a181ebfe8
Revert 7d2876ee0
...
Didn't fix #3042
2020-05-05 20:14:02 -04:00
7d2876ee00
Prevent coding system prompt during doom commands
...
Possibly fixes #3042
2020-05-05 16:07:02 -04:00
fd342dfdb0
Fix #2982 : multiple instances of Emacs on restart
...
When invoking a restart during a restart (Yo dawg...)
2020-05-03 19:49:18 -04:00
0c3ffbbb25
Fix wrong-type-arg arrayp error on doom/help search commands
...
The org crawler assumed that no headings were empty, which led to errors
when they were.
2020-05-03 16:38:44 -04:00
2c70b75c6c
Warn user to sync+rebuild on emacs' major version change
...
Byte-code is not generally compatible across major releases of Emacs,
and packages may have changed in that time. Best throw a more helpful
error than leave users to deal with the obscure errors that this can
cause.
2020-05-03 16:31:06 -04:00
a35a457a1b
Fallback to USERPROFILE for HOME on Windows
2020-05-03 09:45:53 +02:00
4b28e9ce86
Rework & polish doom-store library
...
+ Add doom-store-rem
+ Add real doom-store-member-p (to replace doom-store-exists alias)
+ Fix doom-store-clear not clearing in-memory store
+ Add doom-store-flush
+ Add deferred flushing through doom--inhibit-flush lexical var
+ Update doom-store-persist & doom-store-desist for new API
2020-05-02 19:32:02 -04:00
b51c4fc8b3
Fix projectile on Windows failing to index anything with ripgrep
...
Due to unescaped glob arguments.
Fixes #2897 , and possibly #1803
2020-05-02 17:41:36 -04:00
ea1a1805b3
Fix projectile failing to index symlinks
...
Fixes cases where, if the contents of your ~/.doom.d were symlinks, fd
and ripgrep wouldn't index them (or recurse into them), so it'd miss out
of many files.
Possibly fixes #1803
2020-05-02 16:28:48 -04:00
1fb5981ba6
Highlight recommended straight prompt option in green
2020-05-02 14:41:18 -04:00
e832ec5708
Fix projectile ignoring symlinks
...
Due to the underlying program (fd) ignoring them.
2020-05-02 13:17:10 -04:00
29c0781916
Fix doom-store library
...
And rename doom-store-set -> doom-store-put to be more consistent with
the underlying operation.
2020-05-02 13:17:10 -04:00
29e91a6ff6
Replace doom-cache library with doom-store
...
And remove persistent-store dependency.
2020-05-02 00:14:08 -04:00
e4f24fd150
Don't enable smartparens-mode in minibuffer if global mode is off
2020-05-01 16:03:18 -04:00
db7f382030
Merge pull request #3016 from gagbo/patch-1
...
Add a few missing modes to `hdm` alist
2020-04-30 20:41:26 -04:00
eb381ce2bd
Remove custom indent functions for map! properties
...
Now that we have a634e2c81
2020-04-30 20:33:46 -04:00
61b7368d49
Add a few missing modes to hdm
alist
...
Rule was mostly to add major-modes defined by packages bundled in the module
2020-05-01 02:03:04 +02:00
ba8892d7e9
Fix #3004 : stale root cache on project search
2020-04-30 19:02:20 -04:00
c25f88c874
Fix #2995 : ligature & all-the-icons conflicts
...
See domtronn/all-the-icons.el#174
2020-04-30 17:02:24 -04:00
4ac16743b9
Use long SHA1 for rainbow-delimiters
2020-04-30 01:52:24 -04:00
45cdfb1258
Bump :core
...
spudlyo/clipetty@7ee3f9c -> spudlyo/clipetty@01b3904
bbatsov/projectile@eec569d -> bbatsov/projectile@5cd261d
noctuid/general.el@14ad4c8 -> noctuid/general.el@42e3803
We're also transitioning from abbreviated SHA1 hashes to full ones,
because underlying git machinery in future updates of straight will
require it (e.g. to obtain shallow clones of pinned packages).
2020-04-29 23:48:21 -04:00
eb995adada
Minor refactors & comment revision
2020-04-29 23:48:21 -04:00
cb6dd300b4
Add comment wrt load-theme not disabling previous themes
2020-04-29 23:48:21 -04:00
936124e546
Introduce if! & when! macros
...
The condition argument is evaluated at compile/expansion time, and its
body expanded directly.
2020-04-29 23:48:21 -04:00
d12752324a
Introduce letf! convenience macro
...
A more succinct cl-letf, which allows for local functions and macros.
2020-04-29 23:48:21 -04:00
c3a84f0fbf
Reorganize core-lib
...
Group like macros together.
2020-04-29 20:45:29 -04:00
64b799c68e
Load subr-x & cl-lib a little earlier
2020-04-29 20:31:40 -04:00
1442e694fb
Move core helpers to core-lib
...
Since they can be generally useful.
2020-04-29 20:31:40 -04:00
f61fa50336
Null-byte delimit envvar file lines
...
This prevents issues with multi-line envvar values.
2020-04-29 19:39:35 -04:00
079b748217
Fix conflict between private & default autodefs
...
e.g. If you had a ~/.doom.d/modules/tools/lsp/autoload.el that defined
an lsp! autodef, it would be indexed and included in
~/.emacs.d/.local/autoloads.el *before* the lsp! autodef from the
original ~/.emacs.d/modules/tools/lsp/autoload.el.
2020-04-29 18:32:25 -04:00
5bc86de760
Remove goto-addr
...
It's not essential and is redundant with `gf` and find-file-at-point,
which already understand URLs at point.
2020-04-29 03:47:20 -04:00
ae152a5924
Cache project root earlier
...
So users can still change it with setq-hook! or their own hooks.
2020-04-29 03:41:32 -04:00
9788b1235c
Disable jit-lock
...
Deferred & stealth font-locking has produced a fair number of obscure
bugs. It's just not worth the trouble.
2020-04-29 02:17:42 -04:00
c96bbf909c
Fix #2992 : remove buffer-or-name check in switch-buffer executor
2020-04-29 00:33:54 -04:00
aca1599a81
Only resolve package :local-repo if relative path exists
...
This allows you to specify a :local-repo relative to the directory your
packages.el is in. If it doesn't exist, it'll assume you meant a
directory in ~/.emacs.d/.local/straight/repos
2020-04-29 00:29:17 -04:00
6e8487e1d4
Fix #2992 : wrong-type-arg stringp on switch-to-buffer
...
(switch-to-buffer nil) should switch to other-buffer, as per its
documentation, which was not respected by our switch-buffer hook
mechanism.
2020-04-28 15:10:59 -04:00
9acba6b269
Speed up project root detection by resolving it less often
...
Projectile can consume a lot of cycles, especially in indirect buffers
or because of project-root-sensitive path segments in the modeline. This
experimental fix should spare you that heartache.
2020-04-27 17:27:32 -04:00
c601382a55
Add EMACS28+ const
2020-04-27 02:12:47 -04:00
c1127a5bde
Rewrite move/copy/delete file commands
...
To use rename-file, copy-file and delete-file, so these commands can
enjoy the benefits of any plugins that have advised these, like org-roam
does for rename-file.
2020-04-27 01:51:18 -04:00
993888cd2b
Enable hl-line-mode in special-mode buffers
2020-04-25 21:23:13 -04:00
efee633311
Reduce wasteful after! blocks in map! expansion
...
When there are no labels, it produces empty after! forms, which do
nothing.
2020-04-25 00:48:20 -04:00
ddc7bf782c
Activate jit-lock
...
Improves scrolling and buffer performance by deferring font-locking
until you're idle. YMMV
2020-04-25 00:18:30 -04:00
efee551709
doctor: check for fc-list (fontconfig)
...
Instead of find-font, which the doc doesn't even use.
2020-04-24 22:00:17 -04:00
c51b2d42ad
Remove require! macro
...
This was meant for unit tests, which is where it will be moved to.
2020-04-24 02:35:41 -04:00
38f957557a
Remove def-package macros
...
They've been deprecated for some time now.
2020-04-24 02:35:29 -04:00
08d0eae595
Merge pull request #2925 from rushsteve1/develop
...
doom/upgrade use -y CLI flag
2020-04-24 00:11:48 -04:00