aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-06 16:49:03 -0500
committerCraig Jennings <c@cjennings.net>2026-06-06 16:49:03 -0500
commita0765206144f49a845c8628d53111dd3d04f0e49 (patch)
treeba69afdab6b155722e1c1c0a8cfb30e5484c1334 /assets
parent47940f707aceea6066f8c9860207724c5d30f9e0 (diff)
downloaddotemacs-a0765206144f49a845c8628d53111dd3d04f0e49.tar.gz
dotemacs-a0765206144f49a845c8628d53111dd3d04f0e49.zip
feat(calibredb): curated ? menu, docked description, filter-preserving sort
Three things in the calibredb search buffer. A curated transient on ? exposes just my frequent workflows (switch library, filter by format or author, sort by author/title/pubdate/format, open, describe) instead of leaving me to remember calibredb's top-level single keys. calibredb's own full dispatch moves to H. which-key can't help here: these are mode-map single keys, not a prefix. So a curated menu on ? is the discoverable entry point. The transient is defined in :config rather than top-level: its macro expands against the elpa transient, but a batch Emacs loads the older built-in transient and breaks the load. The book-detail view (d, or v) now docks to the bottom 30% and q dismisses it. calibredb-show-entry-switch goes to pop-to-buffer so a display-buffer-alist rule applies. The default switch-to-buffer-other-window ignores it. It's the same bottom-dock pattern as the signal chat buffer. Sorting kept dropping the active filter. calibredb's macro-generated sort commands all end in calibredb-search-refresh-and-clear-filter, which nulls every filter flag. I override each to refresh via calibredb-search-refresh-or-resume, which re-applies the filter, so a sort over a filtered list keeps it. I used named advice, so reloading the module doesn't stack it. Tests cover the describe command and the sort helper. The transient, bindings, dock, and advice wiring need the elpa transient and a live calibredb, so they're verified in the running daemon.
Diffstat (limited to 'assets')
0 files changed, 0 insertions, 0 deletions