Henrik Lissner
d4dec35658
Improve unicode, emoji, & symbol font support
...
+ Adds doom-emoji-fallback-font-families
+ Adds doom-symbol-fallback-font-families
+ Gives doom-unicode-font higher precedence (and sets it to nil by
default, since Emacs defaults to symbola already).
+ Store custom face settings in psuedo theme, rather than crowding the
user theme (which may be immortalized to custom-file, which we want to
avoid).
+ Now, after-setting-font-hook is guaranteed to fire after *all* fonts
are set, giving you a more reliable interface to add your own
font(set) modifications.
More testing is needed to ensure the patched fonts our ligatures modules
don't conflict with this change.
2021-05-06 04:27:33 -04:00
Henrik Lissner
5d7526a224
doom-info: rename distro->system & add window-system
2021-05-06 04:27:33 -04:00
Henrik Lissner
45147aace8
Refactor doom-debug-mode
...
Store intiial value in symbol plist instead. More info in 8ec8b2b.
2021-05-06 04:27:33 -04:00
Henrik Lissner
ff64a9d106
Add doom-run-hooks
...
Produces more helpful (and harder-to-miss) error messages when a hook
emits an error. Also advises run-hook when doom-debug-mode is active, so
errors in hooks (generally, major mode hooks) don't quietly go
unnoticed.
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
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
f4382b45fd
Remove redundant mode from so-long-minor-modes
...
Already in its default value.
2021-05-06 04:27:32 -04:00
Henrik Lissner
623127597f
Disable minibuffer error silencer hack in Emacs 27+
...
In older versions of Emacs (26.3 and below), the minibuffer would
replace the whole minibuffer's contents just to display error messages.
This was very frustrating for mundane errors, like the "text is
read-only" error you get when you press backspace at BOL.
Later versions of Emacs now display errors at the end of the minibuffer,
so this hack will no longer be needed when we drop 26.x support later
this year.
2021-05-06 04:27:32 -04:00
Henrik Lissner
21b8af1ce1
Rewrite doom/reload-theme to reload active themes
...
Now reloads all active themes, rather than just the primary one.
2021-05-03 00:17:16 -04:00
Marien Zwart
76523c401f
Fix making doom-first-input-hook permanent-local
...
We were making the value of doom-first-input-hook permanent-local
instead of doom-first-input-hook itself. That value is normally nil at
this point, which seems to be harmless. Reloading core.el from a script
(while doom-first-input-hook is not empty) results in an error.
Fix it by adding the missing quote present in the other calls.
2021-05-01 23:49:10 +10:00
Ian Davids
4c212b7321
Fixing windows pathway to use latest straight API
2021-04-30 17:08:31 -07:00
Henrik Lissner
2ef54eb782
Fix void-variable emacs-repository-branch in doom-info
...
Seems this var doesn't exist in some Emacs builds?
2021-04-29 17:24:40 -04: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
9d643b14ed
Revise comments
2021-04-29 13:25:48 -04:00
Henrik Lissner
c9b41205b2
Fix #4925 : defining lexical variables error in 28+
2021-04-29 13:25:48 -04:00
Jan Felix Langenbach
3c00ddcebd
Fix smartparens pairing ' and ` in the minibuffer
2021-04-28 21:50:19 +02:00
Henrik Lissner
86fd6c6214
Raise gcmh-high-cons-threshold to default (~1gb)
...
This could potentially cause stuttering for long lived sessions where
the user takes few breaks, but could yield great performance benefits in
the shorter term. We'll have to experiment.
2021-04-21 21:45:04 -04:00
Henrik Lissner
a25582f9a8
Raise global default of read-process-output-max
...
I was conservative before. I didn't want to change this globally in case
it had a negative performance impact on shy servers that don't talk
much, but this turned out to be too paranoid. Untalkative servers are
barely, if at all, affected, and chatty ones perform better across the
board.
2021-04-21 21:45:04 -04:00
Henrik Lissner
6e49cb5ce2
Reduce false positive symlinks in doom/info {emacs,doom}dir
2021-04-17 23:26:27 -04:00
Henrik Lissner
233fd93b65
Add custom-file trait & custom-vars list to doom/info
...
So I can tell if users may have a custom.el where something may be
inadvertently saved.
2021-04-17 23:26:27 -04:00
ivanbrennan
2e15f6ad1b
Fix doom-module-mplist-map obsolete module warning
2021-04-17 10:03:51 -04:00
Henrik Lissner
0683861f3f
Make doom-first-*-hooks trigger less aggressively
...
This fixes a class of issues where doom-first-file-hook would fire even
for files not opened interactively (e.g. via org-agenda reading agenda
files or helpful scraping definitions from source files).
In instances like these, hooks like find-file-hook or pre-command-hook
are set to nil to speed up this process and reduce noise, but many
packages add to these hooks when they are loaded; these are lost when
their lexical values fall out of scope, leading to odd errors (like the
one in #4759 ).
Fixes #4759 (again)
First brought up in hlissner/doom-emacs@9f08db8
2021-04-14 23:43:45 -04:00
Henrik Lissner
079feb26e4
Left align fields in doom-info
...
The leading whitespace can cause issues with some whitespace trimming
clipboard managers and <pre> blocks.
2021-04-14 23:31:13 -04:00
Fulvio di Girolamo
01bb9357c9
Tolerate colon characters inside code
2021-03-29 14:22:13 +02:00
Henrik Lissner
ce65645fb8
Minor refactors & comment revision
2021-03-27 18:27:19 -04:00
Henrik Lissner
af90333bcd
Bump *
...
Alexander-Miller/treemacs@6857816 -> Alexander-Miller/treemacs@9eaef27
DarwinAwardWinner/amx@b991497 -> DarwinAwardWinner/amx@37f9c7a
Dewdrops/evil-exchange@3030e21 -> Dewdrops/evil-exchange@ac50f21
JuliaEditorSupport/julia-emacs@8ea90c7 -> JuliaEditorSupport/julia-emacs@fe6f6f7
OmniSharp/omnisharp-emacs@8ec5929 -> OmniSharp/omnisharp-emacs@5fad683
ProofGeneral/PG@bdb6782 -> ProofGeneral/PG@f0f0476
Sarcasm/irony-mode@76fd37f -> Sarcasm/irony-mode@ec6dce7
Silex/docker.el@0ca910b -> Silex/docker.el@ed0cdf0
Wilfred/helpful@584ecc8 -> Wilfred/helpful@7e4b1f0
abo-abo/swiper@1deef76 -> abo-abo/swiper@bb7965a
agda/agda@9d08edb -> agda/agda@ecb9323
akermu/emacs-libvterm@a3fadd2 -> akermu/emacs-libvterm@1bc4516
akreisher/eshell-syntax-highlighting@172c9fb -> akreisher/eshell-syntax-highlighting@eeace52
alexmurray/flycheck-posframe@24fd9b3 -> alexmurray/flycheck-posframe@8f60c9b
amake/flutter.el@696228a -> amake/flutter.el@960b635
ananthakumaran/tide@7f7334b -> ananthakumaran/tide@ad6fa78
asok/projectile-rails@8d6b373 -> asok/projectile-rails@f1fe6e8
bastibe/org-journal@f4b1549 -> bastibe/org-journal@043bb9e
bbatsov/projectile@fd59947 -> bbatsov/projectile@1528ed4
bradyt/dart-mode@04fcd64 -> bradyt/dart-mode@43975c9
brotzeit/rustic@61d600e -> brotzeit/rustic@d97ec86
charignon/github-review@d0c8234 -> charignon/github-review@341b7a1
clojure-emacs/cider@815204f -> clojure-emacs/cider@4278d7c
clojure-emacs/clj-refactor.el@b24ce76 -> clojure-emacs/clj-refactor.el@9f3e735
clojure-emacs/clojure-mode@f26379b -> clojure-emacs/clojure-mode@a14671e
codesuki/add-node-modules-path@f31e69c -> codesuki/add-node-modules-path@7d9be65
company-mode/company-mode@88001d7 -> company-mode/company-mode@7207cb1
cpitclaudel/company-coq@4da7b41 -> cpitclaudel/company-coq@7423ee2
cython/cython@9a761a6 -> cython/cython@9decfca
dgutov/diff-hl@4c46b3b -> dgutov/diff-hl@1af31fe
dgutov/robe@3ef165c -> dgutov/robe@126650a
domtronn/all-the-icons.el@2f5ea72 -> domtronn/all-the-icons.el@a8c8417
editorconfig/editorconfig-emacs@048c553 -> editorconfig/editorconfig-emacs@9da2dab
elixir-editors/emacs-elixir@9de08c1 -> elixir-editors/emacs-elixir@0212b06
ema2159/centaur-tabs@50fd573 -> ema2159/centaur-tabs@df97209
emacs-csharp/csharp-mode@09b4d57 -> emacs-csharp/csharp-mode@f977800
emacs-ess/ESS@5169b0d -> emacs-ess/ESS@126d344
emacs-evil/evil-collection@334670e -> emacs-evil/evil-collection@b45ec5b
emacs-evil/evil@cc9d688 -> emacs-evil/evil@7eace67
emacs-helm/helm-org@b7a18df -> emacs-helm/helm-org@d67186d
emacs-helm/helm@dbdec63 -> emacs-helm/helm@98af298
emacs-jp/migemo@f42832c -> emacs-jp/migemo@f756cba
emacs-lsp/dap-mode@aa15b9c -> emacs-lsp/dap-mode@ae395aa
emacs-lsp/helm-lsp@e934fea -> emacs-lsp/helm-lsp@74a02f8
emacs-lsp/lsp-dart@71902ca -> emacs-lsp/lsp-dart@f3b70ec
emacs-lsp/lsp-ivy@c70ee8b -> emacs-lsp/lsp-ivy@515e597
emacs-lsp/lsp-java@5f6d357 -> emacs-lsp/lsp-java@542aaf1
emacs-lsp/lsp-metals@c76eeb6 -> emacs-lsp/lsp-metals@51a89c1
emacs-lsp/lsp-mode@c3cbadc -> emacs-lsp/lsp-mode@eda51c2
emacs-lsp/lsp-ui@0ac3e12 -> emacs-lsp/lsp-ui@1dbea9f
emacs-php/php-mode@8cdc727 -> emacs-php/php-mode@a2bca9b
emacs-php/phpactor.el@62d2372 -> emacs-php/phpactor.el@80788a8
emacs-straight/auctex@384c4b9 -> emacs-straight/auctex@0f3639a
emacs-straight/dired-git-info@b47f2b0 -> emacs-straight/dired-git-info@9461476
emacs-straight/org-mode@0b117f7 -> emacs-straight/org-mode@7a62a4d
emacs-straight/project@2e7afbe -> emacs-straight/project@388ffdf
emacs-straight/xclip@2951c6b -> emacs-straight/xclip@ef2ad92
emacsattic/nose@f852829 -> emacsattic/nose@f852829
emacsorphanage/quickrun@8008780 -> emacsorphanage/quickrun@57db985
erlang/otp@af06b43 -> erlang/otp@94c9738
factor/factor@1928e60 -> factor/factor@5bfeab6
flycheck/flycheck@01396a5 -> flycheck/flycheck@f8c679f
greghendershott/racket-mode@75ea8f6 -> greghendershott/racket-mode@5115c47
hakimel/reveal.js@0582f57 -> hakimel/reveal.js@cf8e64b
haskell/haskell-mode@3a019e6 -> haskell/haskell-mode@1baa12a
hlissner/doom-snippets@aa5587b -> hlissner/doom-snippets@afe549b
hlissner/emacs-counsel-css@6427dfc -> hlissner/emacs-counsel-css@f7647b4
hlissner/emacs-doom-themes@55f01ed -> hlissner/emacs-doom-themes@4199e74
hlissner/emacs-solaire-mode@a8fe09d -> hlissner/emacs-solaire-mode@9d143db
hvesalai/emacs-sbt-mode@7b121fc -> hvesalai/emacs-sbt-mode@0bdc36b
hvesalai/emacs-scala-mode@402d6df -> hvesalai/emacs-scala-mode@1ab5f64
ideasman42/emacs-spell-fu@a7db587 -> ideasman42/emacs-spell-fu@30c5eea
iqbalansari/emacs-emojify@cfa0086 -> iqbalansari/emacs-emojify@1b72641
jacktasia/dumb-jump@f6a1165 -> jacktasia/dumb-jump@8bc1950
jaor/geiser@26dd2f4 -> jaor/geiser@8e61c27
jcollard/elm-mode@188b9c7 -> jcollard/elm-mode@e9fcf9c
jkitchin/ox-clip@38b83ac -> jkitchin/ox-clip@2095537
joaotavora/eglot@a2d1fc9 -> joaotavora/eglot@2fbcab2
joaotavora/sly@fb84318 -> joaotavora/sly@5966d68
jorgenschaefer/circe@265f36c -> jorgenschaefer/circe@e67e2d1
js-emacs/js2-refactor.el@d4c40b5 -> js-emacs/js2-refactor.el@a0977c4
js-emacs/xref-js2@6f1ed5d -> js-emacs/xref-js2@fd6b723
jscheid/dtrt-indent@4a30d8e -> jscheid/dtrt-indent@37529fc
justbur/emacs-which-key@c0608e8 -> justbur/emacs-which-key@c632dbf
justinbarclay/parinfer-rust-mode@c825606 -> justinbarclay/parinfer-rust-mode@f130fa0
jyp/dante@7b1ab64 -> jyp/dante@8741419
kaushalmodi/ox-hugo@a05667e -> kaushalmodi/ox-hugo@02140a2
kidd/org-gcal.el@0a6f9a7 -> kidd/org-gcal.el@d38acda
leanprover/lean-mode@15bee87 -> leanprover/lean-mode@5c50338
ledger/ledger-mode@3495d12 -> ledger/ledger-mode@32fef09
magit/forge@8382fd3 -> magit/forge@f4c95dd
magit/magit@4735b92 -> magit/magit@577f16d
magit/orgit@ac9b1a4 -> magit/orgit@609fd0c
magnars/expand-region.el@ea6b4cb -> magnars/expand-region.el@4b83227
magnars/multiple-cursors.el@a9d7764 -> magnars/multiple-cursors.el@7b13b03
mhayashi1120/Emacs-wgrep@f0ef9bf -> mhayashi1120/Emacs-wgrep@f9687c2
millejoh/emacs-ipython-notebook@4ff76e5 -> millejoh/emacs-ipython-notebook@142ff50
non-Jedi/lsp-julia@c523c25 -> non-Jedi/lsp-julia@c487ed7
nonsequitur/inf-ruby@1fc972e -> nonsequitur/inf-ruby@c6990a6
ocaml-ppx/ocamlformat@7db8d13 -> ocaml-ppx/ocamlformat@448ac7c
ocaml/dune@f839fc1 -> ocaml/dune@a88ce5b
ocaml/merlin@36d0aef -> ocaml/merlin@cc17ed6
ocaml/tuareg@ccde45b -> ocaml/tuareg@37a6730
org-roam/org-roam@b0fd126 -> org-roam/org-roam@8ad57b1
purcell/diredfl@cd052df -> purcell/diredfl@4ca3265
purcell/envrc@a7c6ca8 -> purcell/envrc@110a221
purescript-emacs/purescript-mode@8410baf -> purescript-emacs/purescript-mode@0acd1af
racer-rust/emacs-racer@f17f9d7 -> racer-rust/emacs-racer@1e63e98
raxod502/prescient.el@9631db7 -> raxod502/prescient.el@8573df9
redguardtoo/evil-nerd-commenter@2730820 -> redguardtoo/evil-nerd-commenter@b8ac35f
rolandwalker/flyspell-lazy@d57382c -> rolandwalker/flyspell-lazy@0fc5996
rubocop/rubocop-emacs@1372ee3 -> rubocop/rubocop-emacs@f5fd18a
seagle0128/doom-modeline@5fe7fd6 -> seagle0128/doom-modeline@00bc89b
seagle0128/grip-mode@1aebf9c -> seagle0128/grip-mode@98d566d
skeeto/elfeed@362bbe5 -> skeeto/elfeed@e29c8b9
skk-dev/ddskk@275a831 -> skk-dev/ddskk@cec9936
snosov1/toc-org@aef220c -> snosov1/toc-org@c4c61c5
spotify/dockerfile-mode@ed1d04c -> spotify/dockerfile-mode@3b13745
takaxp/org-tree-slide@c9487e5 -> takaxp/org-tree-slide@9d2ba1d
technomancy/fennel-mode@bebc9dd -> technomancy/fennel-mode@ba14a7d
travisbhartwell/nix-emacs@977b9a5 -> travisbhartwell/nix-emacs@053a2d5
tumashu/posframe@3454a4c -> tumashu/posframe@fff21cc
tumashu/pyim@e54153f -> tumashu/pyim@f48c3ed
widefox/flycheck-raku@046f35a -> widefox/flycheck-raku@b1acccd
wyuenho/all-the-icons-dired@fc2dfa1 -> wyuenho/all-the-icons-dired@f401fe2
xuchunyang/elisp-demos@ed9578d -> xuchunyang/elisp-demos@924b07d
xuchunyang/osx-dictionary.el@1b79ff6 -> xuchunyang/osx-dictionary.el@4d4cc19
yqrashawn/fd-dired@9fb966d -> yqrashawn/fd-dired@7d18938
yyoncho/helm-icons@5a668ef -> yyoncho/helm-icons@e4a2cd1
Closes #4786
Closes #4801
Closes #4803
Skipped bumping straight.el because of raxod502/straight.el#714 . Will
adapt soon.
2021-03-27 18:27:02 -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
ea105b874e
Toggle async-debug on doom-debug-mode
2021-03-12 22:58:15 -05:00
Henrik Lissner
2e1c10a6a4
Move sandbox code into own library
2021-03-12 22:58:15 -05:00
Henrik Lissner
e9c4c7471c
Reorganize CLI libraries
2021-03-12 17:55:41 -05:00
Henrik Lissner
fc75573962
Include straight error in doom.error.log
2021-03-12 17:06:10 -05:00
Henrik Lissner
d667a2a292
Fix expiration of doom-store entries
2021-03-11 17:55:29 -05:00
Henrik Lissner
ce22f75a57
Fix string type error from doom-store API
...
Do to nil location.
2021-03-11 17:49:59 -05:00
Henrik Lissner
26319322b2
Remove redundant straight--build-compile advice
...
May address #4778 and #4783
2021-03-11 11:44:18 -05:00
Henrik Lissner
abec86310b
Fix #4777 : wrong-type-argument listp unpin error
2021-03-11 10:57:41 -05:00
ivanbrennan
e8fe7582a3
fix doom-{after,before}-reload-hook doc strings
2021-03-10 20:27:57 -05:00
Henrik Lissner
d76d50c1c9
Fix #4676 : one-off on go-to-EOL if comment at BOL
...
Before this commit:
1. With `|;;; hello`
2. Press `C-e`: `;|;; hello`
3. Press `C-e` again: `;;; hello|`
After:
1. With `|;;; hello`
2. Press `C-e`: `;;; hello|`
3. Press `C-e` again: `|;;; hello`
2021-03-10 13:03:29 -05:00
Henrik Lissner
7870350f84
Fix #4768 : don't ignore remote projects
2021-03-10 10:48:57 -05:00
Henrik Lissner
b0bec922a9
Fix #4758 : wrong-type-arg listp on doom-store-persist
2021-03-09 14:44:24 -05:00
Henrik Lissner
ab7710adfd
doom-info: fix args-out-of-range error
2021-03-08 10:25:09 -05:00
Henrik Lissner
cf44c43f41
Simplify doctor's native JSON detection
2021-03-07 14:33:11 -05:00
Henrik Lissner
4192d87dcd
Redesign doom/info
...
+ Focus on the important information and cut down on excess.
+ Prompt the user to open pastebin.com after copying doom-info to
clipboard.
+ Include timestamp in doom-info.
2021-03-07 00:03:04 -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
f8d181a8c4
Ignore remote/temp files or packages as projects
2021-03-06 11:41:47 -05:00
Henrik Lissner
0ebd58c991
Purge ignored projects from cache/known projects
...
At shutdown time.
2021-03-06 11:39:54 -05:00
Henrik Lissner
e52fd138e2
Refactor autoload/store.el library
...
+ Expired pcache entries are now purged when Emacs is killed.
+ Preform additional type checks for better runtime safety.
+ TTL argument can now be a predicate function. Takes two arguments: the
key and value, if it returns nil, consider the entry stale.
2021-03-05 20:09:22 -05:00