Henrik Lissner
62d2f27510
Fix references to comp-eln-load-path
2021-05-08 18:56:40 -04:00
Henrik Lissner
27e9c756ea
Fix references to comp-async-cu-done-hook
...
Was renamed upstream to native-comp-async-cu-done-functions at some
point.
2021-05-08 14:57:42 -04:00
Henrik Lissner
e2a11d24fd
core: minor refactors and comment revisions
2021-05-06 18:36:32 -04:00
Henrik Lissner
48322af020
doom upgrade: delete straight if recipe changed
...
By deleting straight, the latest pinned version will be reinstalled on
the second part of the 'doom upgrade' process.
This is a clumsy fix for a catch 22 where using straight to update
straight would break due to backwards incompatibilities (see #4950 ).
This will do while we wait for the CLI rewrite.
2021-05-06 04:27:33 -04:00
Henrik Lissner
df10383a26
Use symbol plists instead of internal variables
...
More in line with Emacs' built-in practice of storing a variable's
standard-value in a symbol property of the same name, with the added
benefit of less global state.
2021-05-06 04:27:33 -04:00
Ian Davids
4c212b7321
Fixing windows pathway to use latest straight API
2021-04-30 17:08:31 -07:00
Henrik Lissner
f60f576048
Bump :core
...
Fuco1/smartparens@63695c6 -> Fuco1/smartparens@25f4d6d
bbatsov/projectile@1528ed4 -> bbatsov/projectile@513228f
domtronn/all-the-icons.el@a8c8417 -> domtronn/all-the-icons.el@7a12258
emacs-straight/so-long@a5d445d -> emacs-straight/so-long@1da43ed
jscheid/dtrt-indent@37529fc -> jscheid/dtrt-indent@9714f2c
justbur/emacs-which-key@c632dbf -> justbur/emacs-which-key@5fb3030
raxod502/straight.el@0f9b828 -> raxod502/straight.el@253d7db
Fixes #4947 (needed raxod502/straight.el@0831f6b )
Also includes fixes due to straight changing its logging API.
2021-04-29 17:24:40 -04:00
Henrik Lissner
43623d7c5e
Fix #4947 : naive native-comp checks
...
Now, checking for the comp package is no longer sufficient to determine
if native-compilation is enabled.
2021-04-29 13:25:48 -04:00
Henrik Lissner
44a501911b
cli/env: fix whitelist not shadowing blacklist
...
If an ENVVAR was in the blacklist, it was omitted even if it matched a
whitelist rule.
2021-04-29 13:25:48 -04:00
Henrik Lissner
5b3f52f5fb
Fix missing doom.error.log and silent straight errors
2021-03-22 21:11:22 -04:00
Henrik Lissner
a2ccae917e
doom compile: add warning
2021-03-21 00:42:49 -04:00
Henrik Lissner
763d0b670c
Change envvar file format
...
Storing it as a sexp eliminates the need to parse it.
Fixes #4802
2021-03-21 00:42:49 -04:00
Henrik Lissner
e9c4c7471c
Reorganize CLI libraries
2021-03-12 17:55:41 -05:00
Henrik Lissner
cf44c43f41
Simplify doctor's native JSON detection
2021-03-07 14:33:11 -05:00
Henrik Lissner
6b173c5cc5
Remove mention of removed -p in 'doom help install'
...
This option was removed some time ago. Setting the DOOMDIR envvar is the
canonical way to do this now.
Fixes #4643
2021-03-06 15:06:09 -05:00
Henrik Lissner
1274de3d34
Minor reformatting & refactors across the board
2021-02-25 13:59:43 -05:00
Henrik Lissner
1a92dcab7e
Blacklist XAUTHORITY from envvar files
...
XAUTHORITY is likely to become stale if persisted across sessions.
2021-02-21 14:44:59 -05:00
Henrik Lissner
0df791469d
Resolve symlinks in autoloads files
...
For marginally faster package load times.
2021-02-11 23:00:49 -05:00
Henrik Lissner
5d0f781062
Add doom-autoloads-excluded-files variable
...
So specific/problematic files can be omitted from autoloads.
2021-02-11 23:00:11 -05:00
Henrik Lissner
3a7be7bb4f
Fix #4602 , part 2!
2021-02-01 02:45:45 -05:00
Henrik Lissner
a61758523d
Fix #4602 : void-variable straight--build-default-steps
2021-02-01 02:31:22 -05:00
Henrik Lissner
7fcf2c2025
doom {build,purge}: reduce unnecessarily loud output
...
These lines don't add anything, and shouldn't be highlighted as
"success" messages.
2021-01-31 20:41:17 -05:00
MithicSpirit
d3112b5dfc
Doom Doctor: Fix insteadOf check
...
Always triggers when it's correct and never triggers when it's
incorrect.
2021-01-31 13:14:19 -05:00
Henrik Lissner
026d961985
doom doctor: fix insteadOf check #2679
...
I got the source and destination urls mixed up.
2021-01-31 04:34:46 -05:00
Henrik Lissner
05aa13ea19
doom purge: make repo regrafting opt-out
...
Was originally opt-in.
2021-01-31 04:30:48 -05:00
Henrik Lissner
07f134b10e
doom purge: delete old ELN directories
2021-01-31 04:30:48 -05:00
Henrik Lissner
1650e25794
doom doctor: warn about insertOf rules in gitconfig
...
Closes #2679
2021-01-31 04:30:48 -05:00
Henrik Lissner
75549f5743
Fix doom build skipping some packages
2021-01-31 04:30:48 -05:00
Henrik Lissner
2d718cc86f
Remove eager native compilation of subr-trampolines
...
This was fixed upstream.
2021-01-27 03:37:55 -05:00
Henrik Lissner
47f222a61f
Fix #4558 : void-variable comp-native-version-dir
...
Occurs for non-gccemacs users due to aggressive negation if (car build)
== :not
2021-01-27 03:00:41 -05:00
Sheng Yang
181379c006
Fix typo
2021-01-27 01:08:47 -06:00
Henrik Lissner
3f2c4b80e9
Add Emacs 26.x warning to doctor checks
...
We'll be dropping support for it in the next few months.
2021-01-10 05:02:00 -05:00
Henrik Lissner
cfb8a866dc
Bump :core
...
Fuco1/smartparens@7f5825d -> Fuco1/smartparens@63695c6
bbatsov/projectile@d1cfad0 -> bbatsov/projectile@c31bd41
domtronn/all-the-icons.el@6917b08 -> domtronn/all-the-icons.el@9aa16ae
iqbalansari/restart-emacs@e570749 -> iqbalansari/restart-emacs@1607da2
jscheid/dtrt-indent@a7ade6d -> jscheid/dtrt-indent@854b9a1
justbur/emacs-which-key@ca268fd -> justbur/emacs-which-key@428aedf
jwiegley/use-package@caa92f1 -> jwiegley/use-package@365c73d
raxod502/straight.el@3277e1c -> raxod502/straight.el@a32c97c
+ Closes #4513
+ Fixes (wrong-number-of-arguments (3 . 4) 2) error for users on Emacs
HEAD (see bbatsov/projectile#1635 ).
+ package! :build semantics have changed due to upstream changes. What
was :build is now :pre-build. What was :no-build is now :build nil.
+ Now we must be careful not to auto-disable the "use-package" psuedo
theme. It is used as a place to store :custom assignments without them
being saved to custom.el.
2021-01-09 02:55:09 -05:00
Henrik Lissner
1f3530da6f
Remove gh from excluded packages for autoloads
...
Fixed upstream.
2020-12-23 15:34:15 -05:00
Henrik Lissner
8c397902bc
Fix #4432 : comp-deferred-compilation-{black,deny}-list
2020-12-14 16:48:14 -05:00
Henrik Lissner
3c8a2a655f
Fix envvar file encoding for Windows users
2020-12-11 15:50:02 -05:00
Rudi Grinberg
9350beb544
Upgrade: remove leftover ref
...
The upgrade process leaves a left over ref:
```
$ git branch
..
_upgrade_HEAD
..
```
This commit deletes that.
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-12-01 15:06:15 -08:00
Kirill A. Korinsky
be923535fa
upgrade.el: force fetch
...
`doom-cli-upgrade` calls `git fetch` to fetch remote branch and tags and
check output code of this command to complain when it failed.
It fails when remote server isn't available that is good.
But it also fails when it can't to fast-forward a branch that will be
used to upgrade doom-emacs.
The last case created a loop and the only way to broke this loop is
remote a branch that should be used for upgrade.
Unfortunately user has no idea about branch name and can't do anything,
just enjoy crash with `Failed to fetch from upstream` message.
This commit added `--force` flag to `git fetch` that forces it to
overwrite branch that is used to upgrade that prevent such loop.
It also fixed https://github.com/hlissner/doom-emacs/issues/4346
2020-12-01 21:19:48 +01:00
Henrik Lissner
affd076d53
Minor refactors & reformatting
2020-12-01 13:53:46 -05:00
Rudi Grinberg
12b733b33e
Unhardcode upstream repo in diff url
...
Use `doom-repo-url` in diff url to show diff.
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-11-29 17:46:40 -08:00
Rudi Grinberg
bf50149ee3
Fix doom upgrade
...
Previously, `doom upgrade` would emit:
```
New revision: fatal: amb (fatal: ambiguous argument '_upgrade/HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
```
It appears it's not possible to remote revisions with
`<remote>/<revision>`. Instead, we fetch the upgrade remote into a named
revision and then use it.
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-11-29 15:54:26 -08:00
Rudi Grinberg
0b78fe3fbb
Improve byte compilation message
...
When compiling standalone files such as `init.el`, instead of saying
that it belongs to module `nil nil`, say that these files are
standalone.
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-11-28 21:44:46 -08:00
Andrew Whatson
d3e08c5d0b
Update for the latest native-compile-async API
...
Renamed `comp-deferred-compilation-black-list` to
`comp-deferred-compilation-deny-list`.
Removed the `late` load flag which is no longer required.
Added a check against the deny list when compiling all Elisp on the
load-path, so we don't inadvertently compile something we shouldn't.
Added compatibility shims to ease transition from older builds of
native-comp.
2020-11-25 14:17:01 +10:00
Andrew Whatson
196bb04088
Bootstrap trampolines to prevent doom build hang
...
This is a workaround for 'doom build' hanging on native-comp Emacs when
run with an empty cache. We're effectively automating the process of
killing 'doom build' and trying again.
2020-11-16 14:07:34 +10: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
a6959b75f3
Minor refactors & reformatting
2020-10-22 16:11:31 -04:00
Henrik Lissner
9b4fd806bb
Simplify doom/info output
2020-10-20 23:21:11 -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
6778c1239c
Include package name in 'checked out...' message
2020-10-18 19:08:07 -04:00
Henrik Lissner
033cb48006
Fix void-variable comp-eln-load-path
2020-10-11 15:53:37 -04:00