Henrik Lissner
a25ad3fa7c
Restore line numbers in artist-mode #2742
...
The issue was fixed upstream, but won't be available until Emacs 28.
2020-10-30 19:09:31 -04:00
Henrik Lissner
61ec1d9698
mac-right-option-modifier = none
...
Then right option can be used for special symbols and left option can be
used as meta.
2020-10-29 02:36:59 -04:00
Henrik Lissner
dbeaa8e238
Remove emacs-version check in autoloads file
...
Now that the autoload file's path is namespaced by version, this check
is no longer necessary.
2020-10-29 02:36:59 -04:00
Henrik Lissner
9120b075e0
Merge pull request #4145 from gagbo/patch-6
...
Clarify doom-store-put docstring
2020-10-29 02:07:17 -04:00
Henrik Lissner
fd6984f2e7
Sort which-key labels alphabetically
...
Fixes #4177
2020-10-29 01:42:04 -04:00
Henrik Lissner
9ce9c6838e
Add emacs version to autoloads file path
...
Prevents stale byte-code across Emacs versions.
Relevant to #4172
2020-10-29 01:42:04 -04:00
Henrik Lissner
d784509abf
Fix #4172 : different build path per Emacs version
...
To prevent byte-code incompatibilities.
We'll need to make 'doom purge' smarter about purging builds for other
versions of Emacs.
2020-10-29 01:41:25 -04:00
Henrik Lissner
fe37a590cc
Set doom--initial-load-path in sandbox
...
Prevents loaded packages miscount (e.g. -1) in dashboard/log in sandbox
instance.
This occurs because the benchmark line uses a simple heuristic to
determine the loaded packages: length of load-path minus the length of
doom--initial-load-path (to save on more expensive counting methods).
However, in the sandbox, load-path is pre-populated with all packages
right from the get-go, so doom--initial-load-path will be incorrect.
2020-10-26 05:52:30 -04:00
Henrik Lissner
9e1ac0c0be
Reduce active message-log-max; scale in debug mode
...
8kb of log isn't really necessary. We'll scale it up when debug mode is
on, instead.
2020-10-26 05:51:12 -04:00
Henrik Lissner
0192221981
Fix 'doom build' skipping straight
2020-10-24 16:52:33 -04:00
Gerry Agbobada
89019c66a2
Clarify doom-store-put docstring
...
Explicitely states that a `nil` TTL means "no expiration"
Make it clearer that TTL is an offset to current-time, and not a timestamp in seconds
2020-10-23 14:40:10 +02:00
Henrik Lissner
a6959b75f3
Minor refactors & reformatting
2020-10-22 16:11:31 -04:00
Henrik Lissner
9bbdacc79b
Prefix tramp auto-save files
...
Makes them easier to see and reduces the possibility of filename
conflicts with autosaves of local files.
2020-10-22 14:51:49 -04:00
Henrik Lissner
f92f4aab97
Fix file-handlers for daemon sessions
2020-10-21 11:18:47 -04:00
Henrik Lissner
8892be8372
Correct comments on auto-save #4096
2020-10-20 23:32:00 -04:00
Henrik Lissner
9b4fd806bb
Simplify doom/info output
2020-10-20 23:21:11 -04:00
Henrik Lissner
b4e66bffeb
More sensible backup/auto-save defaults
...
More sensible defaults.
And save tramp backups locally, to prevent excessive remote writes.
2020-10-20 23:12:16 -04:00
George Xanthakis
4d24d7548a
Print diff url in terminal in case emacs is in a remote server ( #4105 )
...
* Print diff url in terminal in case emacs is in a remote server
Closes #2936
* Correct print! call
Co-authored-by: Henrik Lissner <henrik@lissner.net>
2020-10-18 19:17:39 -04:00
Henrik Lissner
24cc09895d
Enable auto-save by default
...
Offers a backup in case of crashes or power loss.
Fixes #4096
2020-10-18 19:08:08 -04:00
Henrik Lissner
9cdb0b85d3
Optimize large-file detection
...
Two less file ops when opening new files. Particularly helpful for
remote files.
2020-10-18 19:08:07 -04:00
Henrik Lissner
6778c1239c
Include package name in 'checked out...' message
2020-10-18 19:08:07 -04:00
Henrik Lissner
b461f76b0d
Fix *-local-vars-hook & doom-first-*-hook not triggering
...
When starting Emacs with a file path argument these hooks aren't set up
in time for the file to be processed.
Fixes #3891 , #4082 , #4104
2020-10-16 23:08:56 -04:00
Henrik Lissner
390594442a
Reset which-key replacements on doom/reload
...
Prevents build-up of which-key entries.
See justbur/emacs-which-key#226
2020-10-16 22:30:07 -04:00
Henrik Lissner
35185b2175
Split doom-reload-hook into before/after hooks
2020-10-16 22:28:08 -04:00
Henrik Lissner
b6fe731153
Fix #4103 : respect delete-by-moving-to-trash
...
When calling doom/delete-this-file
2020-10-15 23:12:21 -04:00
Henrik Lissner
23c36a2feb
Fix wrong-type-arg error on 'doom compile'
2020-10-14 01:38:01 -04:00
Henrik Lissner
d9683d1148
Fix #4074 : map! with meta/hyper modifier prefixes
2020-10-11 20:31:46 -04:00
Henrik Lissner
db07304c71
Don't enable explain-pause-mode at startup
...
When starting Emacs in debug mode, explain-pause-mode is enabled. This
pulls in other packages with it, which can taint results when testing
package load order. Also, explain-pause-mode is for measuring pauses
during interactive use, it isn't very useful for startup benchmarking.
So we only toggle it if doom-debug-mode is toggled interactively.
2020-10-11 16:41:07 -04:00
Henrik Lissner
c59ae5d172
Stop ws-butler from corrupting undo history #4071
2020-10-11 16:41:07 -04:00
Henrik Lissner
3f24fc3737
regexp-quote comp blacklist entries
2020-10-11 16:41:05 -04:00
Henrik Lissner
8a45b4671e
Bump :core
...
Fanael/rainbow-delimiters@5125f4e -> Fanael/rainbow-delimiters@f43d48a
Fuco1/smartparens@555626a -> Fuco1/smartparens@c59bfef
Wilfred/helpful@c0662aa -> Wilfred/helpful@1671e1d
bbatsov/projectile@46d2010 -> bbatsov/projectile@3670ebe
domtronn/all-the-icons.el@8c02280 -> domtronn/all-the-icons.el@6917b08
justbur/emacs-which-key@e48e190 -> justbur/emacs-which-key@ae59b7e
koral/gcmh@b1bde50 -> koral/gcmh@84c43a4
2020-10-11 16:22:13 -04:00
Henrik Lissner
033cb48006
Fix void-variable comp-eln-load-path
2020-10-11 15:53:37 -04:00
Henrik Lissner
9d4951d8b8
Merge pull request #4047 from flatwhatson/deferred-aot
...
Improvements to native-comp support
2020-10-11 15:43:37 -04:00
Rudi Grinberg
b52072ec90
Search compressed .el files in load history
...
On many installations, the .el files that are builtin to emacs are
compressed. We should search these as well.
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-10-09 15:22:04 -07:00
Andrew Whatson
2e07a85590
Native-compile everything on load-path
...
Add an extra pass to `doom build` to queue native compilation of all
packages on `load-path`. This ensures that all core and site Elisp
packages are actually native-compiled, even on "fast boot" builds.
Add `.local/autolads.el` to the blacklist as native-compiling this file
succeeds, but prevents emacs from starting up.
Revise the evil-collection-vterm blacklist entry to use a more efficient
regex.
Fix a bug where an updated .error file wasn't always written, causing
spurious rebuilds.
2020-10-09 09:34:34 +10:00
Andrew Whatson
1d0f1575aa
Remove comp-eln-load-path
injection hack
...
This was fixed upstream, so comp-eln-load-path is now passed to async
compilation workers.
2020-10-09 09:34:34 +10:00
Andrew Whatson
30140021de
Export comp-deferred-compilation-black-list via autoloads
...
The latest straight.el adds `:no-native-compile` packages to the
compilation blacklist. We export the build-time blacklist via autoloads
so that it works as expected to prevent native compilation at runtime.
2020-10-09 09:34:23 +10:00
Andrew Whatson
89c464ddf7
Bump straight.el
...
raxod502/straight.el@0c7c7571 -> raxod502/straight.el@728ea18e
2020-10-09 09:29:39 +10:00
Henrik Lissner
86cd497bb5
Don't print ignored/whitelisted envvars on doom env
...
Except in debug mode.
2020-10-08 17:07:36 -04:00
Henrik Lissner
9edcdd0633
Mention supported envvars in 'doom help'
2020-10-08 17:07:36 -04:00
Bryan Gilbert
17c9976bac
Bump better-jumper
...
gilbertw1/better-jumper@6d24003 ->
gilbertw1/better-jumper@fe548d2
Fixes #4050 , see gilbertw1/better-jumper#5
2020-10-08 16:35:47 -04:00
Henrik Lissner
1255ebdbd7
Add XDG detection to 'doom install' #4040
...
Create ~/.config/doom instead of ~/.doom.d if your emacs config lives in
~/.config/emacs.
2020-10-06 14:19:37 -04:00
Henrik Lissner
c84127069f
Fix #4036 : improve 'doom sync -u' output
2020-10-06 14:19:36 -04:00
Henrik Lissner
29b12de83e
Fix #3901 : unset comp-deferred-compilation later
2020-10-06 02:08:17 -04:00
Henrik Lissner
b29b865d30
Fix #3975 : configure native-comp in sandbox
2020-10-06 02:08:17 -04:00
Henrik Lissner
3cb7458d34
Fix #4033 : correctly toggle explain-pause-mode
...
On doom-debug-mode.
2020-10-05 23:02:36 -04:00
Henrik Lissner
e4864adfbe
Update 'doom help upgrade' doctring
2020-10-05 17:21:17 -04:00
Henrik Lissner
1aa48ce822
Fix #4029 : remove project.el support project cmds
...
project.el doesn't seem to handle symlinks well.
2020-10-05 16:21:50 -04:00
Henrik Lissner
911c8f48b4
Fix #2742 : cursor offset in artist-mode
...
Due to line numbers.
2020-10-05 16:04:13 -04:00
Henrik Lissner
0769b47cc8
Fix 'doom purge' not purging straight builds
2020-09-19 14:43:53 -04:00