Henrik Lissner
2aeca577c8
refactor: correct version variables
...
These two variables have been the wrong way around for a while. In
preparation for splitting Doom into separate repos (its core and module
libraries), I've corrected them. doom-modules-version is a placeholder
and will be removed later.
I've also settled on -dev suffix for inter-release versions of Doom,
rather than alpha.
2022-03-21 03:57:31 +01:00
Henrik Lissner
319665bbdc
feat(lib): time stamp *Messages* lines
...
...when doom-debug-mode is active.
2022-03-21 03:57:03 +01:00
Henrik Lissner
b92c644ad8
docs(lib): clarify setq!'s docstring
...
Emacs 29+ introduced the setopt macro for setting defcustom variables in
a way that takes setters and type-constraints into account, but it
eagerly pulls in a symbol's dependencies before doing so. To side-step
this silliness, use Doom's setq! macro instead. I'm tempted to alias
setopt to it...
2022-03-21 03:57:03 +01:00
Henrik Lissner
3333eee466
refactor(lib): sharp-quote & minor refactors
2022-03-21 03:57:03 +01:00
Henrik Lissner
0a151f4f13
refactor!(lib): remove obsolete lambda! macros
...
BREAKING CHANGE: These macros have been deprecated for years. Use
cmd!/cmd!! instead.
2022-03-21 03:57:02 +01:00
Henrik Lissner
17f457edf7
feat(lib): add fn!! macro
...
With implicit positional arguments. Adapted from
https://git.sr.ht/~tarsius/llama , minus the font-locking, outer function
call, and plus a few minor optimizations.
Ref: https://git.sr.ht/~tarsius/llama
2022-03-21 03:56:59 +01:00
Anh T Nguyen
4eda9329aa
feat(dired): allow global hl-line in dired-mode
2022-03-19 16:41:05 +01:00
Henrik Lissner
b57d4c8d71
bump: :core
...
Fuco1/smartparens@f59a40d54f -> Fuco1/smartparens@37f77bf2e2
Wilfred/helpful@f865f17ad0 -> Wilfred/helpful@67cdd1030b
bbatsov/projectile@4e6f66c329 -> bbatsov/projectile@0243ad7dc9
emacs-straight/project@5347dfc5f3 -> emacs-straight/project@125a1a8d15
justbur/emacs-which-key@9f64733e4a -> justbur/emacs-which-key@1217db8c63
raxod502/straight.el@3b0f1a1d21 -> raxod502/straight.el@653b04a64f
- Wilfred/helpful@67cdd1030b fixed the wrong-number-of-args error from
help-fns--autoloaded-p on Emacs 29 (see #6097 ). Our temporary fix is
no longer needed.
- Wilfred/helpful#36 fixed the void-variable: read-symbol-positions-list
error on Emacs 29 (see #6063 ). Our temporary fix is no longer needed.
Ref: Wilfred/helpful@67cdd1030b
Ref: Wilfred/helpful#36
Fix : #6063
Fix : #6097
Fix : #6127
2022-02-23 15:23:14 +01:00
Henrik Lissner
df5cb2051c
tweak: update so-long config for Emacs 28+
...
Emacs 28 introduced the much faster native function
buffer-line-statistics, which makes so-long's job significantly less
expensive, so we can afford a larger threshold there.
Still, we gimp it a little if native-comp isn't present.
2022-02-19 01:08:08 +01:00
Jeetaditya Chatterjee
302dbea2b1
fix(lib): typo in doom--help-major-mode-module-alist
...
Ref: #6122
2022-02-17 18:06:37 +01:00
Henrik Lissner
09fa3c5e28
docs: reformat & revise {init,config}.el templates
2022-02-16 16:11:22 +01:00
Henrik Lissner
35d690b47c
docs: explain font settings in config.el template
...
I get complaints that it's hard to set fonts in Doom. Hopefully this
help them through it.
2022-02-16 16:10:06 +01:00
Henrik Lissner
2a7eee556f
fix: wrong-number-of-args error w/helpful on Emacs 29
...
help-fns--autoloaded-p's signature changed in 29, which helpful hasn't
adapted to yet. This temporary fix works around it while we wait.
2022-02-10 21:07:20 +01:00
Henrik Lissner
009613a470
refactor(default,lib): doom--org-headings
2022-02-10 21:07:20 +01:00
Henrik Lissner
39886536c3
fix(lib): incorrect &user markers in doom-info
...
M-x doom/info marks modules that live in $DOOMDIR with &user, but what
if the user has moved their ~/.emacs.d into $DOOMDIR? As this seems to
happen often with Chemacs users, I've made this check a little more
procise.
2022-02-10 21:07:20 +01:00
Henrik Lissner
00b7e390d3
refactor!(lib): change condition for doom-set-jump-maybe-a
...
BREAKING CHANGE: doom-set-jump-maybe-a would formerly set a jump point
if FN returns non-nil. That condition was changed to: if the current
buffer or cursor position have changed after FN.
2022-02-10 21:07:20 +01:00
Henrik Lissner
615b513a9c
dev: add "docs" scope
...
To refer to documentation "backend" work, as opposed to its contents.
2022-02-02 01:56:04 +01:00
Henrik Lissner
c6d3ceef7e
fix: void-variable read-symbol-positions-list w/ helpful
...
Only affects users on Emacs HEAD (29+), where read-symbol-positions-list
has been removed. This is a temporary solution until the reference is
addressed upstream, in the elisp-ref package.
Ref: Wilfred/elisp-refs#35
Fix : #6063
2022-02-02 01:55:56 +01:00
Henrik Lissner
4a6de2419c
fix: run switch-buffer hooks on server-visit-hook
...
window-buffer-change-function does not trigger on the first buffer
displayed in a new client frame.
Fix : #6058
2022-01-29 19:41:16 +01:00
Henrik Lissner
eddaae40e8
fix: empty HOME on Windows
...
This was accidentally removed in 68d8364
.
Amend: 68d8364aea
2022-01-28 20:57:09 +01:00
Henrik Lissner
c6a6f44481
fix(org): inhibit native-comp for emacs-jupyter.el
...
Fix : #6018
2022-01-27 18:18:52 +01:00
Rafael Varago
1c1ad3a8c8
feat(cli): allow opting-out of deploying git hooks
...
That's helpful when we need to `doom install` in a non-git directory.
Fix : #5878
Close : #5862
2022-01-27 15:06:45 +01:00
Henrik Lissner
cc9d71f531
bump: :core
...
Fanael/rainbow-delimiters@d576e6694a -> Fanael/rainbow-delimiters@a32b39bdfe
bbatsov/projectile@2bb7ec28b1 -> bbatsov/projectile@4e6f66c329
domtronn/all-the-icons.el@483dba65e8 -> domtronn/all-the-icons.el@2c963ebb75
gilbertw1/better-jumper@3148a17b59 -> gilbertw1/better-jumper@4762221378
justbur/emacs-which-key@1bb1f723da -> justbur/emacs-which-key@9f64733e4a
raxod502/straight.el@92d4153362 -> raxod502/straight.el@3b0f1a1d21
2022-01-27 03:49:33 +01:00
Henrik Lissner
d2da550a14
dev(ci): permit apostrophes in Co-authored-by lines
2022-01-27 03:47:54 +01:00
Henrik Lissner
2d7e0c90ba
refactor(lib): add Emacs version to doom/version
2022-01-27 03:43:51 +01:00
Henrik Lissner
2c02cea461
feat: add EMACS29+ constant
2022-01-12 01:55:34 +01:00
Lele Gaifax
60cfb383ea
fix: actually forward the `select' param to doom/bump-package-at-point
...
Also, rectify the docstring for `doom/bump-packages-in-buffer', that was
an exact replica of the actual workhorse, `doom/bump-package-at-point'.
2022-01-10 02:21:49 +01:00
Lele Gaifax
e5213f20e5
nit: fix several documentation typos
2022-01-10 02:21:49 +01:00
Henrik Lissner
c16f38ab1d
fix(lib): sort bumpified modules list
2022-01-08 18:55:02 +01:00
Henrik Lissner
dde20aa8fd
feat(lib): add doom-font-exists-p
...
For easier font detection in your config.
Ref: #5948
2022-01-03 18:34:01 +01:00
Henrik Lissner
2132d60062
dev(ci): permit short bump/revert commit messages
2021-12-13 18:48:59 +01:00
Henrik Lissner
5535457229
bump: :core
...
Fuco1/smartparens@2834c66c4f -> Fuco1/smartparens@f59a40d54f
bbatsov/projectile@7f64570d3e -> bbatsov/projectile@2bb7ec28b1
domtronn/all-the-icons.el@c0d288a41f -> domtronn/all-the-icons.el@483dba65e8
gilbertw1/better-jumper@7f328a886b -> gilbertw1/better-jumper@3148a17b59
noctuid/general.el@26f1d4c4e2 -> noctuid/general.el@9651024e7f
raxod502/straight.el@f81d9b755f -> raxod502/straight.el@92d4153362
Fix : #5785
Close : #5881
Co-authored-by: Quang Luong <quangIO@users.noreply.github.com>
2021-12-12 22:43:40 +01:00
Henrik Lissner
eefa0ec0aa
fix: global whitespace-mode never activating
...
Fix : #5856
Fix : #5854
2021-12-02 04:13:15 +01:00
Henrik Lissner
725c5c53a6
tweak: wrap lines in helpful buffers
2021-11-25 01:22:58 +01:00
Henrik Lissner
9dad26961a
fix: envvar file loader processing TZ incorrectly
...
setenv treats the TZ (and only TZ) envvar especially, so we have to too,
since I'm intentionally avoiding iteratively setenv'ing envvars to avoid
the unnecessary extra work it does.
Fix : #5760
2021-11-24 21:18:39 +01:00
Clément Guidi
3e5f9a1ba1
fix: remap xref-go-* to better-jumper
...
Emacs 29.x introduces xref-go-{back,forward}. xref-pop-marker-stack is
now obsolete.
Fix : #5813
Signed-off-by: Clément Guidi <clementguidi@gmail.com>
2021-11-23 02:31:00 +01:00
Henrik Lissner
9634500a3b
fix(cli): update recipe repos (MELPA/ELPA/etc) earlier
...
If done before we collect our recipe lists, we (hopefully) dodge some
stale-recipe race conditions.
2021-11-22 16:49:43 +01:00
Henrik Lissner
fe2af3c344
fix(cli): don't regraft repo if no repo given
...
Otherwise you'll regraft $EMACSDIR, which could result in lost data for
contributors.
2021-11-22 16:49:17 +01:00
Henrik Lissner
cc3be7cb44
refactor: simplify native-comp detection
...
Reduce cases where native-comp procedures were executed in
non-native-comp contexts (somehow).
Also:
- Adds a NATIVECOMP constant for statically detecting the feature.
- Remove native-comp-* -> comp-* aliases (Emacs HEAD has long since
moved on from these).
- Add 'no-native-compile: t' to autoloads file.
2021-11-22 16:01:02 +01:00
Gerry Agbobada
8d360474ac
docs: add doctor for dev versions of Emacs
...
The message simply test for the "not-a-version-yet" patch number and
displays an explanation to prepare users for raised error frequency and
having a backup version of Emacs if they do not want to deal with
issues.
2021-11-20 18:32:59 +01:00
Henrik Lissner
3a669d8daa
fix(lib): add-hook! fails when passed a quoted list
...
Fix : #5779
2021-11-20 00:55:24 +01:00
Daanturo
d67060eda4
fix: use advise-add instead of fset to override yes-or-no-p
...
So that reverting it becomes easier.
2021-11-18 19:09:09 +01:00
Henrik Lissner
06f1e24eda
fix: renamed doom-inhibit-local-var-hooks
...
This rename was premature; it snuck into 68d8364
.
Amend: 68d8364aea
Close : #5755
2021-11-17 23:19:10 +01:00
Daanturo
b4cc1c84d8
fix: wrong-number-of-args error on dtrt-indent-mode
...
doom--fix-broken-smie-modes-a forces dtrt-indent-mode to expect exactly
one argument so an error will be raised when the latter is turned on
without args programmatically in lisp.
2021-11-07 01:53:17 +01:00
Henrik Lissner
bac7ccb970
dev(ci): minor refactor & reformatting
2021-11-04 01:43:50 +01:00
Henrik Lissner
710eab10c7
dev(ci): suppress summary length warnings for bump/revert commits
2021-11-04 01:43:10 +01:00
Henrik Lissner
d6262dd287
dev(ci): check all module dirs for valid scopes
...
Will become relevant once Doom's modules have been moved to their own
repo.
2021-11-04 01:42:43 +01:00
Itai Y. Efrat
aa2f806b5b
dev(ci): fix false negative in commit linter
...
The one value allowed per trailer check shouldn't apply to names since
they often have spaces.
2021-10-30 19:09:50 +03:00
Itai Y. Efrat
ea18315d08
dev(ci): allow periods in names in commit linter
...
For initials.
2021-10-30 17:51:28 +03:00
Henrik Lissner
2eaa508121
dev(ci): fix false positive invalid trailers
2021-10-28 14:32:36 +02:00