Henrik Lissner
3b789752a3
fix: user/system git config breaking straight installer
...
Fix : #6346
2022-05-02 02:12:59 +02:00
Henrik Lissner
f5c1332a31
refactor: minor refactors & nit picks across core
2021-10-10 18:36:46 +02:00
Henrik Lissner
3831096cfb
fix(lib): doom-package-depend{ing-on,encies}
...
Doom doesn't use these two functions, but since they can be useful for
debugging *and* straight provides impleemntations for them already,
they're trivial to fix.
2021-10-10 18:36:46 +02:00
Henrik Lissner
06392a723f
refactor: rename orig-fn arg in advice to fn
...
A minor tweak to our naming conventions for the first argument of an
:around advice.
2021-08-04 01:53:12 -04:00
Bror Bisgaard Winther
3759de8b00
Remove doom update and replace with doom sync -u
2021-06-03 16:17:17 +02:00
Henrik Lissner
617ab847c6
Revert ed5c7a21d
...
Because straight don't read a package's original recipe when installed
through emacsmirror.
2021-06-02 19:37:09 -04:00
Henrik Lissner
ed5c7a21d7
Prioritize emacs-mirror over melpa/elpa/etc
...
We can't be certain where MELPA/ELPA packages come from, but
occasionally, their hosted on unstable servers (savannah) or git servers
with certain features disabled (as is the case for paredit's not
allowing shallow clones).
Trust in emacsmirror, and we can be more certain the package is coming
from github.
This may trigger a rebuild of your packages!
2021-06-02 18:31:55 -04:00
Henrik Lissner
1a5f4afd0d
Reduce minimum required git to 2.23
...
Thanks to raxod502/straight.el@7ca94a7 , which was included in 3329448bd
.
This in particular reduces the burden for Ubuntu users.
Relevant to #5088 , #5096
2021-06-01 16:08:17 -04:00
Henrik Lissner
4563f13ef9
Reduce verbosity of first-time install
2021-05-25 14:17:00 -04:00
Henrik Lissner
b0741336d1
Throw error if git < 2.28
...
To prevent issues like #5096 .
2021-05-25 14:16:38 -04:00
Henrik Lissner
ab1000c8d0
Fix #5088 : failure to install straight.el
2021-05-24 14:33:12 -04:00
Henrik Lissner
6321b3a249
straight: clone --single-branch by default
...
And compute autoload prefixes; which assist the describe-* (and
helpful-*) libraries.
2021-05-24 13:34:24 -04:00
Henrik Lissner
3ba364ae10
Minor refactoring across the board
2021-05-23 22:09:07 -04:00
Henrik Lissner
fb89327ff2
Revert to straight's original bytecomp behavior
...
Half-reverts 628f0a9
, which forced straight to byte-compile packages in
another Emacs session, which produced failures for packages that didn't
properly load their compile-time dependencies (e.g. macro calls).
But now, I realize that _not_ failing in those cases is worse and
produces odd byte-code issues like #1657 or invalid-function ((date
date)) errors. This doesn't guarantee a fix, but at least takes the ball
out of Doom's court, and gracefully fails to uncompiled packages, rather
than incorrect bytecode.
2021-05-15 14:09:08 -04:00
Henrik Lissner
e2a11d24fd
core: minor refactors and comment revisions
2021-05-06 18:36:32 -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
Henrik Lissner
29059bacbe
Remove :shadow keyword from package!
...
Is redundant with the :includes keyword in straight.el recipes.
2021-05-06 04:27:32 -04:00
Henrik Lissner
7798aa9190
Fix repo location in doom/help-packages
2021-03-04 14:09:40 -05:00
Henrik Lissner
dc89eb239c
Remove load-path & Info-directory-list duplicates
...
Potentially slowing down load times due to unresolved symlinks.
2021-02-11 22:48:58 -05:00
Henrik Lissner
9446a8f411
Move byte-compile fix to core-packages
...
So it targets more than just 28.x+ users.
2021-02-06 04:49:28 -05:00
Henrik Lissner
c3c001ad7d
Bump core
...
domtronn/all-the-icons.el@c795d0f -> domtronn/all-the-icons.el@5fa7283
hlissner/emacs-so-long@ed666b0 -> emacs-straight/so-long@a5d445d
jwiegley/use-package@365c73d -> jwiegley/use-package@317137b
raxod502/straight.el@ac4df5c -> raxod502/straight.el@f2cb888
+ Complain if :no-byte-compile, :no-native-compile, or :no-build are
used in package!. Straight replaced them with :build (and the old
:build was renamed to :pre-build). See raxod502/straight.el@6a273d1
+ Update getting_started.org to mention :build
+ Switch to emacs-straight/so-long so I don't have to maintain my mirror
anymore.
2021-02-04 07:32:26 -05:00
Henrik Lissner
c29bbbc171
Fix doom-package-depending-on
2021-01-26 22:38:53 -05:00
Henrik Lissner
cb09f1778b
Bump core
...
bbatsov/projectile@c31bd41 -> bbatsov/projectile@0e2620a
domtronn/all-the-icons.el@9aa16ae -> domtronn/all-the-icons.el@050d4c5
gilbertw1/better-jumper@5ef53fc -> gilbertw1/better-jumper@411ecdf
raxod502/straight.el@a32c97c -> raxod502/straight.el@47dd03d
2021-01-23 18:49:51 -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
midchildan
2c51be5b2c
Respect the :ignore property for packages installed as dependencies ( #4497 )
...
* Respect the :ignore property for packages installed as dependencies
* Fix indentation
Co-authored-by: Henrik Lissner <accounts@v0.io >
2021-01-03 18:42:57 -05:00
Henrik Lissner
97d8de81fe
Remove defunct straight-fix-org setting
...
It was removed upstream.
2020-12-12 15:56:36 -05:00
Henrik Lissner
6075e6f143
Refactor initialization of package state
2020-12-12 15:56:36 -05:00
Henrik Lissner
2c646df027
Initialize more straight state in doom-initialize-packages
...
May address #3172 and some issues with certain files failing to
byte-compile because certain dependencies were missing at compile-time.
2020-12-11 15:50:02 -05:00
Henrik Lissner
74737dad37
package!: add :build, :post-build support
...
Straight recipes now support :build & :post-build
2020-11-02 16:33:06 -05: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
Andrew Whatson
bb74d2716f
Allow :no-native-compile in package recipes
2020-09-01 20:48:42 +10:00
Henrik Lissner
1884828d22
Add :shadow parameter to package!
...
For to make replacing built-in packages easier.
2020-08-24 22:27:40 -04:00
Henrik Lissner
f3740d4766
Fix private package declaration order issues
...
The user's private packages.el is read first, to ensure disabled
packages are recorded as soon as possible, however, this means private
packages are recorded early into `doom-packages`, and so are built
first (and thus, before org-mode, which is later registered by the
lang/org module).
This compilation order can cause lots of issues with org packages
loading the older, built-in version of org included with Emacs, instead
of the newer org-mode.
May address #3172
2020-08-18 17:23:28 -04:00
Henrik Lissner
295f8066be
Update gccemacs support
...
To add support for "update 11", see:
http://akrl.sdf.org/gccemacs.html#org4b11ea1
Also:
+ Move eln files to ~/.emacs.d/.local/cache/eln
+ Disable comp-deferred-compilation by default (now that it is
enabled-by-default upstream).
2020-08-17 21:24:14 -04:00
Henrik Lissner
8fa5b9406c
Fix #3763 : add let-alist to straight-built-in-pseudo-packages
...
It is included with Emacs 26 and onwards, and was recently removed from
emacs-mirror anyhow.
2020-08-16 21:14:50 -04:00
Henrik Lissner
8df090fb29
Reduce git history downloaded with straight.el
...
When installing straight.el itself.
2020-08-12 14:56:42 -04:00
Henrik Lissner
0c47a03491
Fix #3655 : evil-collection-vterm hangs native comp
...
Co-authored-by: flatwhatson <flatwhatson@users.noreply.github.com >
2020-07-31 01:51:48 -04:00
Henrik Lissner
da1030985d
Minor refactors & reformatting
2020-07-23 01:26:03 -04:00
Henrik Lissner
6b4af6d544
Remove unused package API functions
...
We'll see no changes to this API until the CLI rewrite is done, so
remove these unused and unfinished function definitions.
2020-07-17 23:22:48 -04:00
Henrik Lissner
1878a08814
Bump :core
...
raxod502/straight.el@ffaad60 -> raxod502/straight.el@59c92dd
jwiegley/use-package@d2640fe -> jwiegley/use-package@2b8f8a3
Reverts 33cd837
Fixes #3406
2020-06-18 15:33:03 -04:00
Henrik Lissner
33cd8e7380
Fix #3406 : max-lisp-eval-depth on startup
...
Due to version conflicts between the built-in seq library and the one
installed from upstream.
Revert once raxod502/straight.el#537 is resolved.
2020-06-18 14:56:30 -04:00
Henrik Lissner
8bf902d5f4
General refactors & reformatting across the board
2020-06-04 20:13:28 -04:00
Henrik Lissner
fe7df725f6
Have package manager manage straight.el
...
We used a clumsy hack in `doom--ensure-straight` to delete straight if
its pinned commit didn't match the current one, to force it to be
reinstalled. With this, Doom's package manager will delete/update
straight like any other package.
2020-05-25 15:58:28 -04:00
Henrik Lissner
944d7ec83f
Extract installation of core packages to function
2020-05-25 15:55:29 -04:00
Henrik Lissner
235b69bd20
Parameterize packages.el filename
2020-05-25 15:55:29 -04:00
Henrik Lissner
ccd1764acb
Remove 'doom sync' from shell.nix
...
Let user decide what they want to do upon starting the shell. We
accommodate the user that wants simple access to Emacs 26/27/HEAD.
2020-05-25 15:55:28 -04:00
Henrik Lissner
3a38fc633c
Change doom-{interactive,debug}-mode suffix to -p
...
Because these are not really modes.
Also makes `doom-debug-mode` an actual (global) minor mode.
2020-05-25 03:43:40 -04:00
Henrik Lissner
e00bfc7612
Minor refactors & reformatting
2020-05-25 03:43:40 -04:00
Henrik Lissner
de78d0cc62
Fix #3138 : infinite loop when reading package! files
2020-05-17 06:14:37 -04:00
Henrik Lissner
76b133fd98
Install core packages early
2020-05-15 05:37:08 -04:00