doomemacs/lisp/cli
Henrik Lissner b7bd27d22b
refactor(cli,lib): print levels & output redirection
This refactors how Doom captures and redirects its output (to stdout and
stderr) into a more general with-output-to! macro, and:

- Simplifies the "print level" system. The various doom-print-*-level
  variables have been removed.
- Adds a new print level: notice, which will be the default level for
  all standard output (from print!, doom-print, prin[ct1], etc).
- Adds a with-output-to! macro for capturing and redirecting
  output to multiple streams (without suppressing it from stdout). It
  can also be nested.
- Changes the following about doom-print:
  - Default :format changed to nil (was t)
  - Default :level changed to t (was `doom-print-level`)
  - No longer no-ops if OUTPUT is only whitespace
2022-09-16 01:14:20 +02:00
..
make refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
autoloads.el refactor(lib): tidy doom-log output 2022-09-12 16:01:43 +02:00
ci.el feat!(cli): load project .doomrc instead of ci.el 2022-08-07 19:43:28 +02:00
compile.el refactor: deprecate doom-private-dir for doom-user-dir 2022-08-14 20:43:35 +02:00
doctor.el fix(cli): doctor warnings about irrelevant bytecode 2022-09-10 20:03:24 +02:00
env.el refactor(lib): tidy doom-log output 2022-09-12 16:01:43 +02:00
help.el refactor!(cli): rename cli definers for consistency 2022-09-12 11:45:59 +02:00
info.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
install.el refactor: deprecate doom-private-dir for doom-user-dir 2022-08-14 20:43:35 +02:00
make.el refactor!(cli): rename cli definers for consistency 2022-09-12 11:45:59 +02:00
packages.el refactor(cli,lib): print levels & output redirection 2022-09-16 01:14:20 +02:00
run.el refactor!: restructure Doom core 2022-07-30 22:41:13 +02:00
sync.el refactor!(cli): rename cli definers for consistency 2022-09-12 11:45:59 +02:00
test.el refactor!(cli): rename cli definers for consistency 2022-09-12 11:45:59 +02:00
upgrade.el fix(cli): more future resistant 'doom upgrade' 2022-07-31 00:58:36 +02:00