Commit graph

339 commits

Author SHA1 Message Date
Henrik Lissner
d1b0b898f5
fix(lib): 'back to *' links in doom-docs 2024-05-21 17:15:55 +02:00
Henrik Lissner
13e4cb4a6f
docs: add fish shell check 2024-05-21 17:15:55 +02:00
Henrik Lissner
9c2b1846a3
docs: properly indent core doctor checks 2024-05-21 17:15:55 +02:00
Henrik Lissner
edc600e9ad
docs: expand multiple/non-standard config checks
Close: #7391
Close: #7295
2024-05-21 17:15:55 +02:00
Henrik Lissner
565dc1e6ff
nit: general reformatting & minor comment revision 2024-05-21 17:15:54 +02:00
Henrik Lissner
5e6d9a2266
tweak: scroll-conservatively = 10
Forces the window to recenter if the cursor moves >=10 lines off-screen.
This makes some of our manual recentering elsewhere unnecessary.
2024-05-21 17:15:53 +02:00
Henrik Lissner
dabf992940
fix: write native-comp cache to $EMACSLOCALDIR
Otherwise, it writes them to /tmp. This way, the CLI can clean them up
along with other package state in the future.
2024-05-21 17:15:53 +02:00
Henrik Lissner
bd5c2cda2d
refactor(lib): hoist new org-id-locations-file value 2024-05-21 17:15:53 +02:00
Henrik Lissner
d4b90b5d81
fix(lib): doom/reload-docs: `org-id-get' warnings
Prevents '`org-id-get' expects a file-visiting buffer' warnings in some
in-repo org files.
2024-05-21 17:15:53 +02:00
Henrik Lissner
1e9a3e6edf
fix(lib): doom-docs-mode: hiding property drawers
Includes a minor optimization: reading the current level from an
org-element object, rather than relying on (org-current-level), which
resorts to walking the buffer with regex.
2024-05-21 17:15:53 +02:00
Henrik Lissner
e33f358f45
bump: :core
Fanael/rainbow-delimiters@a32b39bdfe -> Fanael/rainbow-delimiters@f40ece58df
Wilfred/helpful@c57ff0d284 -> Wilfred/helpful@66ba816b26
domtronn/all-the-icons.el@f491f39c21 -> domtronn/all-the-icons.el@be9d5dcda9
emacs-compat/compat@75d0b8527f -> emacs-compat/compat@ecf53005ab
emacs-straight/project@6c41ad68ed -> emacs-straight/project@ce140cdb70
joddie/pcre2el@b941ed8a96 -> joddie/pcre2el@018531ba0c
jscheid/dtrt-indent@be07f4979a -> jscheid/dtrt-indent@e0630f74f9
justbur/emacs-which-key@df6b0cb844 -> justbur/emacs-which-key@4d20bc8525
2024-05-21 17:15:53 +02:00
Henrik Lissner
3837c9cb7e
release(modules): 23.09.0-dev
Ref: 2b39e41368
2024-05-21 17:15:52 +02:00
mosquito-magnet
33cc7e6278
fix(lib): doom/help-packages: handle missing homepage
When a package is added via straight local-repo, no homepage can be
determined. Prevent doom--help-insert-button throwing an error in this
case.
2024-05-21 17:15:50 +02:00
Liam Hupfer
9e77fedbbe
tweak(lib): add alpha-background support to opacity setter
This is preferred when available because it does not affect foreground
content like text and images.

Ref: https://git.savannah.gnu.org/cgit/emacs.git/tree/etc/NEWS?h=emacs-29.1#n801
2024-05-21 17:15:50 +02:00
StrawberryTea
83c11d4cad
fix(org): check org-fold-outline in invisible property
Fix: #7206
2024-05-21 17:15:49 +02:00
Henrik Lissner
3be546f4c4
docs: mention 29.1 support
Now that 29.1 is stable, support for it is official. This updates or
docs and doctor checks to take this into account. I've also included a
link to a Discourse post where I track support for Emacs HEAD.
2024-05-21 17:15:48 +02:00
Jacob
a651d0abef
fix(lib): unquote base-directory in project-file-exists-p!
Fix: #7356
Amend: b1cc71906322
2024-05-21 17:15:48 +02:00
Jeetaditya Chatterjee
6fecf3d6e9
feat: ask before quickloading a session 2024-05-21 17:15:47 +02:00
Henrik Lissner
db85ec6f31
fix(cli): suppress coding-system prompts
Emacs can unpredictably prompt the user to "Select coding
system (default utf-8):" in some cases. The exact cause is a little
different for every user, but it can be suppressed by explicitly setting
a default language environment. This is not desirable in interactive
sessions, however.

Ref: #3042
Close: #7330
Co-authored-by: bennyip <bennyip@users.noreply.github.com>
2024-05-21 17:15:47 +02:00
Henrik Lissner
d5003e3060
feat(lib): add base-directory arg to project-file-exists-p!
I also revise its docstring.

Ref: #7333
Co-authored-by: LemonBreezes <LemonBreezes@users.noreply.github.com>
2024-05-21 17:15:47 +02:00
Henrik Lissner
8e466776fc
bump: :core
Fuco1/smartparens@7afd647395 -> Fuco1/smartparens@79a338db11
Wilfred/helpful@94c25337b2 -> Wilfred/helpful@c57ff0d284
bbatsov/projectile@e18ad4d611 -> bbatsov/projectile@971cd5c4f2
domtronn/all-the-icons.el@51bf77da1e -> domtronn/all-the-icons.el@f491f39c21
emacs-compat/compat@be1d94d5e0 -> emacs-compat/compat@75d0b8527f
emacs-straight/project@e086bdc7c5 -> emacs-straight/project@6c41ad68ed
joddie/pcre2el@38c6f80c78 -> joddie/pcre2el@b941ed8a96
jscheid/dtrt-indent@d4fd1b4977 -> jscheid/dtrt-indent@be07f4979a
justbur/emacs-which-key@8093644032 -> justbur/emacs-which-key@df6b0cb844
noctuid/general.el@9651024e7f -> noctuid/general.el@833dea2c4a
radian-software/straight.el@56a8b6c8a4 -> radian-software/straight.el@5e84c4e2cd

Close: #7343
Fix: #7326
Ref: radian-software/straight.el#1107
Ref: org-roam/org-roam#2361
Co-authored-by: Samoed <Samoed@users.noreply.github.com>
2024-05-21 17:15:45 +02:00
Henrik Lissner
6fdfce9f85
release(modules): 23.08.0-dev
This one comes quite late due to a personal hiatus over the past few
months.

Ref: 2b39e41368
2024-05-21 17:15:45 +02:00
Henrik Lissner
1cd2a287f5
nit: comment revision, spellcheck, & reformatting
Close: #7262
Co-authored-by: emergenz <emergenz@users.noreply.github.com>
2023-07-22 19:01:35 +02:00
Henrik Lissner
3e81655b0e
feat: add 'harfbuzz to features 2023-07-22 17:57:25 +02:00
Ta Quang Trung
7cd0b87cd6
fix(lib): doom-region-*: only use evil visual range in visual mode
evil-visual-{beginning,end} contains stale ranges in non-evil states (like evil-emacs-state).
2023-07-22 16:18:56 +02:00
Peter Hoeg
12dfc62ae5
fix(lib): doom-system-distro-version: check nixos-version first
Even if a NixOS machine has lsb_release in its PATH, lsb_release will be used
instead of nixos-version to determine the distro version.
2023-07-22 16:16:09 +02:00
Itai Y. Efrat
07fca78615 bump: :completion vertico compat
emacs-compat/compat@7775c31857 -> emacs-compat/compat@be1d94d5e0
mhayashi1120/Emacs-wgrep@edf768732a -> mhayashi1120/Emacs-wgrep@3132abd375
minad/consult-flycheck@c371996c57 -> minad/consult-flycheck@fda630411a
minad/consult@052399ed05 -> minad/consult@511d8c0b07
minad/marginalia@2633b2dee2 -> minad/marginalia@b900ec5457
minad/vertico@b6b8420d29 -> minad/vertico@926234ab3f
oantolin/embark@3ffb27a833 -> oantolin/embark@9b17d9a63b
2023-05-30 19:39:04 -04:00
Itai Y. Efrat
e5dbd4e8b1 bump: :completion vertico compat
iyefrat/all-the-icons-completion@4da28584a1 -> iyefrat/all-the-icons-completion@b08f053cee
minad/consult@ffaaf6da90 -> minad/consult@052399ed05
minad/marginalia@ccf573e214 -> minad/marginalia@2633b2dee2
minad/vertico@6f22ff1298 -> minad/vertico@b6b8420d29
oantolin/embark@5497a19eef -> oantolin/embark@3ffb27a833
oantolin/orderless@d09aab3795 -> oantolin/orderless@e678402671
tumashu/vertico-posframe@f57b170b43 -> tumashu/vertico-posframe@7da6d648ff
emacs-compat/compat@38280a7b54 -> emacs-compat/compat@7775c31857

---

consult--grep added support for searching in multiple directories, so we
can drop the advice in `doom--help-search`. The other changes just adapt
to upstream API changes.
2023-03-22 16:35:07 -04:00
Henrik Lissner
18da873a8c
refactor(cli): mkdir and log to doom-state-dir
This will be more meaningful in v3, when we start writing profile data
to $XDG_{DATA,STATE,CACHE}_HOME instead of $EMACSDIR/.local.
2023-03-22 00:26:10 -04:00
Henrik Lissner
db2534aa29
fix(cli): convert __DOOMSTEP to string
To avoid a type error.

Amend: 0ecf69afaf
Ref: #6970
2023-03-21 01:40:22 -04:00
Henrik Lissner
1af08011df
fix(lib): doom/help-modules: omit nil in module list
Some psuedo module categories (like :core and :user) don't have a module
component. Rather than display them as ':core nil' or ':user nil' in
module listings (like doom/help-modules), omit the nil entirely.
2023-03-20 20:43:32 -04:00
Henrik Lissner
382058e1e6
fix(debug): doom-info: improve git error
In case Doom has been deployed without git (for some reason), or with an
unconventional structure.
2023-03-20 20:43:28 -04:00
Henrik Lissner
0ecf69afaf
fix(cli): increment __DOOMSTEP in elisp instead
Some shells (like ksh on SDF) may complain about $((...)) arithmetic
expansion syntax. Rather than wrestle with old shells, I'll offload this
trivial operation to elisp instead.

Close: #6970
2023-03-20 20:42:36 -04:00
Henrik Lissner
61b799d062
fix: s/permanant-local/permanent-local
Fix: #7123
Amend: 8d578cad76
2023-03-13 12:50:31 -04:00
Henrik Lissner
63586423da
release(modules): 23.03.0-dev
Ref: 2b39e41368
2023-03-11 20:25:45 -05:00
Henrik Lissner
8d578cad76
fix: s/permenant-local/permanent-local
Fix: #7123
2023-03-11 19:53:26 -05:00
Henrik Lissner
c1c966c811
docs: assume ~/.config/emacs by default
From now on, our documentation will assume your Emacs config lives in
~/.config/emacs, by default, rather than ~/.emacs.d. Support for the
latter is not going away, it will simply be mentioned less in the
literature, as all supported versions of Emacs going forward (and future
versions of Doom) will support (and prefer) XDG conventions.

The user manual will be updated separately.

Close: #6965
Co-authored-by: gagbo <gagbo@users.noreply.github.com>
2023-02-25 20:47:28 -05:00
Itai Y. Efrat
f5f9c7222a fix(lib): letf! in doom--help-search
Slipped by manual testing due to consult not being loaded at the time
and doom--help-search going to default grep-find usage instead of
hitting the failiure.

Amend: 54c4340740
2023-02-24 16:06:38 -05:00
Henrik Lissner
225e159b04
release(modules): 23.02.0-dev
Ref: 2b39e41368
2023-02-23 04:18:11 -05:00
Henrik Lissner
357d10f5a7
feat: add doctor context
Ref: f9201eb218
2023-02-23 01:34:55 -05:00
Nikola Bunjevac
7a8383c2d1
fix(cli): doctor: pluralizing single errors/warnings 2023-02-23 01:15:36 -05:00
Henrik Lissner
9e08097119
fix(cli): doctor: wrong-type-argument stringp error
`doom doctor` throws a type error for enabled modules without a
doctor.el and/or packages.el file. This occurs because, in
in775ee2f04aad, `doom-module-expand-path` was changed to return nil if
the target file did not exist, and the doctor wasn't updated to handle
this. It passes `nil` to `load`, causing this type error.

Amend: 775ee2f04a
2023-02-21 20:23:47 -05:00
Henrik Lissner
8f50ead5c8
fix(lib): doom/bumpify-diff: remove duplicates 2023-02-21 19:37:16 -05:00
TEC
33af29f7d5 feat(docs): use header-line for header info 2023-02-21 18:35:15 -05:00
Henrik Lissner
986573a4a2
perf(lib): dir!: unset file-name-handler-alist
file-name-directory consults this variable for alternative strategies,
which is unnecessary work. (file!) won't (and should never be used in
any context where it could) return anything but a simple file path.
2023-02-21 03:30:51 -05:00
Henrik Lissner
d24e197964
fix(lib): doom/bumpify-diffs missing packages
This command would skip over consecutive package! statements in the
generated commit message. This commit fixes that.

That said, this command is still a temporary measure until formal bump
CI/CD is done, but should make dealing with doom/bumpify-diffs and
doom/commit-bumps a little less painful.
2023-02-21 00:35:17 -05:00
Alexey Nesterov
06c794faf5
fix(lib): don't overwrite kill-ring on doom/backward-kill-word
When calling backward-kill-word (which is in turn is calling kill-new),
not only kill-ring variable should be overridden, but also
kill-ring-yank-pointer.

Otherwise when deleting a word backwards, kill-ring pointer is moved and
next yank will insert (not so expected) rubbish.
2023-02-20 20:21:59 -05:00
Henrik Lissner
0aaad1900b
bump: compat
emacs-compat/compat@01fdf316a4 -> emacs-compat/compat@38280a7b54

- Switching to emacs-compat/compat so we can more closely follow the
  source. The emacs-straight mirror can sometimes lag too far behind to
  promptly address major issues.
- This, combined with 67b3d5a, should address odd byte-code issues to do
  with compat (usually to do with magit).

Ref: 67b3d5a20486
2023-02-20 19:01:39 -05:00
Henrik Lissner
7260725313
refactor: move compat package to core
This package is cropping up in packages everywhere. Managing it has been
a source of issues, so I'm making it a core package until v3, where
we'll be able to pin packages without explicitly installing them.
2023-02-20 19:01:38 -05:00
Henrik Lissner
52d413f448
fix(cli): rebuild dependents when updating packages
Library packages (like compat and transient) offer macros. Therefore,
any package that uses them (dependents) needs to be recompiled when
these are updated, but straight currently doesn't do this. As a
temporary workaround, this commit forces dependents to be rebuilt after
updates.

This is a bit too brute-force, but will do until v3, which will manage
dependency graphs and their complexities more efficiently.
2023-02-20 19:00:45 -05:00