diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-12 06:07:20 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-12 06:07:20 -0500 |
| commit | 9eb7b2d468397ed93aa4f432738d771b57a00de8 (patch) | |
| tree | fd96ba29718edd0f8c11b5b7c7159030ee380410 /modules/prog-python.el | |
| parent | e094f22dcdfb54e908daa21e457fe3f89c5b8a85 (diff) | |
| download | dotemacs-9eb7b2d468397ed93aa4f432738d771b57a00de8.tar.gz dotemacs-9eb7b2d468397ed93aa4f432738d771b57a00de8.zip | |
fix(org): give the F8 agenda window 75% of the frame
The agenda buffer's `display-buffer-alist' rule used `(window-height . fit-window-to-buffer)', so a sparse agenda opened as a sliver a few lines tall. The rule now takes `(window-height . cj/org-agenda-window-height)', a defcustom defaulting to 0.75 (the fraction of the frame the agenda window gets), and the rule itself moved into `cj/--org-agenda-display-rule' so it's testable. New `test-org-agenda-config-display.el' checks that the configured fraction flows through, that it's no longer `fit-window-to-buffer', and (integration) that `display-buffer' produces a window near that size.
`(use-package alert)' gained an `:if (or (not noninteractive) (require 'alert nil t))' guard: the batch test runner loads this module without `package-initialize', so the optional notification package may be installed but not yet on the load path, and the unconditional `:config' setq's would error.
Diffstat (limited to 'modules/prog-python.el')
0 files changed, 0 insertions, 0 deletions
