Commit Graph

340 Commits

Author SHA1 Message Date
af8ec870ac fix(lib): 'back to *' links in doom-docs 2023-09-12 21:30:56 +02:00
69cedebfda docs: add fish shell check 2023-09-12 21:30:56 +02:00
447b59c9c0 docs: properly indent core doctor checks 2023-09-12 21:30:56 +02:00
95a5a32aac docs: expand multiple/non-standard config checks
Close: #7391
Close: #7295
2023-09-12 21:30:55 +02:00
a44e8d6bfd nit: general reformatting & minor comment revision 2023-09-11 23:56:21 +02:00
f427c8a30e 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.
2023-09-11 23:53:36 +02:00
a7123bf65f 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.
2023-09-11 23:53:35 +02:00
7f3d5d54bd refactor(lib): hoist new org-id-locations-file value 2023-09-11 23:53:35 +02:00
75d4046820 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.
2023-09-11 23:53:35 +02:00
deb83dc6a9 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.
2023-09-11 23:53:35 +02:00
c1b0326ce7 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
2023-09-11 23:53:01 +02:00
56d396c5f6 release(modules): 23.09.0-dev
Ref: 2b39e41368
2023-09-10 00:00:53 +02:00
f4e74e17ad 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.
2023-09-06 14:40:07 +02:00
af5add0e9e merge: pull request #7389 from hpfr/misc 2023-09-06 14:28:57 +02:00
3cafa0223e fix(org): check org-fold-outline in invisible property
Fix: #7206
2023-09-06 14:27:35 +02:00
088bd387f6 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
2023-09-02 12:27:37 -05:00
ea616350c7 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.
2023-08-20 19:51:58 +02:00
5155f4aa78 fix(lib): unquote base-directory in project-file-exists-p!
Fix: #7356
Amend: b1cc719063
2023-08-19 22:57:32 +02:00
09504ef9fe feat: ask before quickloading a session 2023-08-18 19:20:01 +02:00
c8070f11a4 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>
2023-08-18 19:14:39 +02:00
b1cc719063 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>
2023-08-18 19:04:25 +02:00
d52ebe8fd1 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>
2023-08-18 18:34:21 +02:00
ea7d6ef1cc release(modules): 23.08.0-dev
This one comes quite late due to a personal hiatus over the past few
months.

Ref: 2b39e41368
2023-08-18 18:27:15 +02:00
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
3e81655b0e feat: add 'harfbuzz to features 2023-07-22 17:57:25 +02:00
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
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
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
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
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
db2534aa29 fix(cli): convert __DOOMSTEP to string
To avoid a type error.

Amend: 0ecf69afaf
Ref: #6970
2023-03-21 01:40:22 -04:00
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
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
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
61b799d062 fix: s/permanant-local/permanent-local
Fix: #7123
Amend: 8d578cad76
2023-03-13 12:50:31 -04:00
63586423da release(modules): 23.03.0-dev
Ref: 2b39e41368
2023-03-11 20:25:45 -05:00
8d578cad76 fix: s/permenant-local/permanent-local
Fix: #7123
2023-03-11 19:53:26 -05:00
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
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
225e159b04 release(modules): 23.02.0-dev
Ref: 2b39e41368
2023-02-23 04:18:11 -05:00
357d10f5a7 feat: add doctor context
Ref: f9201eb218
2023-02-23 01:34:55 -05:00
7a8383c2d1 fix(cli): doctor: pluralizing single errors/warnings 2023-02-23 01:15:36 -05:00
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
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
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
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
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
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
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