2017-02-11 00:46:42 -05:00
|
|
|
;; -*- no-byte-compile: t; -*-
|
|
|
|
;;; core/packages.el
|
|
|
|
|
:boom: Replace exec-path-from-shell w/ 'bin/doom env'
IMPORTANT: This is a breaking update for Mac users, as your shell
environment will no longer be inherited correctly (with the removal of
exec-path-from-shell). The quick fix is: 'bin/doom env refresh'. Also,
the set-env! autodef now does nothing (and is deprecated), be sure to
remove calls to it in your config.
Smaller changes:
+ This update also adds --no-* switches to doom quickstart
+ Includes general improvements to the documentation of several bin/doom
commands.
+ Moves doom/reload* commands to core/autoload/config.el
+ doom/reload-project has been removed (it didn't actually do anything)
The breaking change:
This update adds an "envvar file" to Doom Emacs. This file is generated
by `doom env refresh`, populated with variables scraped from your shell
environment (from both non-interactive and interactive sessions). This
file is then (inexpensively) loaded at startup, if it exists.
+ The file is manually generated with `doom env refresh`.
+ It can be regenerated automatically whenever `doom refresh` is run by
running `doom env enable` (`doom env clear` will reverse this and
delete the env file).
+ `doom quickstart` will ask if you want to auto-generate this envvar
file. You won't need it if you're confident Emacs will always be
started from the correct environment, however.
+ Your env file can be reloaded from a running Emacs session with `M-x
doom/reload-env`. Note: this won't work if the Emacs session you're
running it in doesn't have a correct SHELL set. i.e. don't use this to
create your first env file!
The idea isn't mine -- it's borrowed from Spacemacs -- and was
introduced to me in #1053 by @yurimx. I was impressed with it. Prior to
this, I was unhappy with exec-path-from-shell (no hate to the dev, I
understand its necessity), and 'doom patch-macos' wasn't ideal for mac
users (needed to be reapplied every time you update Emacs). What's more,
many users (even Linux users) had to install exec-path-from-shell
anyway.
This solution suffers from none of their shortcomings. More reliable
than patch-macos, more performant and complete than
exec-path-from-shell, and easily handled by bin/doom.
2019-03-28 00:06:10 -04:00
|
|
|
;; core.el
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! auto-minor-mode :pin "17cfa1b548")
|
|
|
|
(package! gcmh :pin "f542908b9a")
|
:boom: Replace exec-path-from-shell w/ 'bin/doom env'
IMPORTANT: This is a breaking update for Mac users, as your shell
environment will no longer be inherited correctly (with the removal of
exec-path-from-shell). The quick fix is: 'bin/doom env refresh'. Also,
the set-env! autodef now does nothing (and is deprecated), be sure to
remove calls to it in your config.
Smaller changes:
+ This update also adds --no-* switches to doom quickstart
+ Includes general improvements to the documentation of several bin/doom
commands.
+ Moves doom/reload* commands to core/autoload/config.el
+ doom/reload-project has been removed (it didn't actually do anything)
The breaking change:
This update adds an "envvar file" to Doom Emacs. This file is generated
by `doom env refresh`, populated with variables scraped from your shell
environment (from both non-interactive and interactive sessions). This
file is then (inexpensively) loaded at startup, if it exists.
+ The file is manually generated with `doom env refresh`.
+ It can be regenerated automatically whenever `doom refresh` is run by
running `doom env enable` (`doom env clear` will reverse this and
delete the env file).
+ `doom quickstart` will ask if you want to auto-generate this envvar
file. You won't need it if you're confident Emacs will always be
started from the correct environment, however.
+ Your env file can be reloaded from a running Emacs session with `M-x
doom/reload-env`. Note: this won't work if the Emacs session you're
running it in doesn't have a correct SHELL set. i.e. don't use this to
create your first env file!
The idea isn't mine -- it's borrowed from Spacemacs -- and was
introduced to me in #1053 by @yurimx. I was impressed with it. Prior to
this, I was unhappy with exec-path-from-shell (no hate to the dev, I
understand its necessity), and 'doom patch-macos' wasn't ideal for mac
users (needed to be reapplied every time you update Emacs). What's more,
many users (even Linux users) had to install exec-path-from-shell
anyway.
This solution suffers from none of their shortcomings. More reliable
than patch-macos, more performant and complete than
exec-path-from-shell, and easily handled by bin/doom.
2019-03-28 00:06:10 -04:00
|
|
|
|
2017-02-11 00:46:42 -05:00
|
|
|
;; core-ui.el
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! all-the-icons :pin "1416f37984")
|
|
|
|
(package! hide-mode-line :pin "88888825b5")
|
|
|
|
(package! highlight-numbers :pin "8b4744c7f4")
|
|
|
|
(package! rainbow-delimiters :pin "5125f4e476")
|
|
|
|
(package! restart-emacs :pin "9aa90d3df9")
|
2017-02-11 00:46:42 -05:00
|
|
|
|
|
|
|
;; core-editor.el
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! better-jumper :pin "6d240032ca")
|
|
|
|
(package! dtrt-indent :pin "48221c928b")
|
|
|
|
(package! helpful :pin "e511e8dbd3")
|
2020-01-06 15:07:13 -05:00
|
|
|
(when IS-MAC
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! ns-auto-titlebar :pin "1efc30d385"))
|
|
|
|
(package! pcre2el :pin "0b5b2a2c17")
|
|
|
|
(package! smartparens :pin "9449ae0859")
|
2019-07-21 04:12:01 +02:00
|
|
|
(package! so-long
|
2020-01-02 21:13:31 -05:00
|
|
|
:built-in 'prefer ; included in Emacs 27+
|
2019-09-09 15:44:09 -04:00
|
|
|
;; REVIEW so-long is slated to be published to ELPA eventually, but until then
|
2020-01-11 17:27:04 -05:00
|
|
|
;; I've created my own mirror for it because git.savannah.gnu.org runs
|
|
|
|
;; on a potato.
|
2020-01-14 22:32:11 -05:00
|
|
|
:recipe (:host github :repo "hlissner/emacs-so-long")
|
2020-01-25 03:49:42 -05:00
|
|
|
:pin "ed666b0716")
|
|
|
|
(package! undo-tree :pin "1d91157366")
|
2020-01-04 18:10:55 -05:00
|
|
|
(package! ws-butler
|
|
|
|
;; Use my fork of ws-butler, which has a few choice improvements and
|
|
|
|
;; optimizations (the original has been abandoned).
|
2020-01-14 22:32:11 -05:00
|
|
|
:recipe (:host github :repo "hlissner/ws-butler")
|
2020-01-25 03:49:42 -05:00
|
|
|
:pin "e4430d3778")
|
2020-01-06 15:07:13 -05:00
|
|
|
(unless IS-WINDOWS
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! xclip :pin "88003b782e"))
|
2017-02-11 00:46:42 -05:00
|
|
|
|
|
|
|
;; core-projects.el
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! projectile :pin "27a0da9cdc")
|
2017-02-19 07:03:05 -05:00
|
|
|
|
|
|
|
;; core-keybinds.el
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! general :pin "f6e928622d")
|
|
|
|
(package! which-key :pin "db3d003e90")
|