aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-12 06:17:11 -0500
committerCraig Jennings <c@cjennings.net>2026-05-12 06:17:11 -0500
commit2c80724fe096487e1fbe11e4983c089138c6f1a8 (patch)
tree749c60a5e420d345729e3b6b0dd63f904c1909e4 /modules
parent7f3b99bf498b46c9e5374b585d7e3d8978d6e6c7 (diff)
downloaddotemacs-2c80724fe096487e1fbe11e4983c089138c6f1a8.tar.gz
dotemacs-2c80724fe096487e1fbe11e4983c089138c6f1a8.zip
feat(nov): default the EPUB text column to 80% of the window
`e094f22' had set `cj/nov-margin-percent' to 12 (~76% text); 10 gives a round 80%. Adjust per-buffer with the `+'/`-' keys; clamp is unchanged (0..25, i.e. 50%..100%).
Diffstat (limited to 'modules')
-rw-r--r--modules/calibredb-epub-config.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/calibredb-epub-config.el b/modules/calibredb-epub-config.el
index 2e02d1a9..d4b5092b 100644
--- a/modules/calibredb-epub-config.el
+++ b/modules/calibredb-epub-config.el
@@ -90,10 +90,10 @@
;; ------------------------------ Nov Epub Reader ------------------------------
-(defvar cj/nov-margin-percent 12
+(defvar cj/nov-margin-percent 10
"Percent of the window's natural width used as a margin on each side in epubs.
-12 leaves about 76% of the columns for text. Clamped to 0..25, so the text
-column runs from 50% (margin 25) to 100% (margin 0) of the window.
+10 leaves 80% of the columns for text. Clamped to 0..25, so the text column
+runs from 50% (margin 25) to 100% (margin 0) of the window.
Adjust it live with `cj/nov-widen-text' and `cj/nov-narrow-text'.")
(defvar cj/nov-min-text-width 40