diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-15 00:54:01 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-15 00:54:01 -0500 |
| commit | d797b7ad5d6af70d7d1ab082f824df07cf5bd536 (patch) | |
| tree | 5fb6e96fc34d3299d7dd21a3f209392efd3c42aa /todo.org | |
| parent | 7fa46253f069079ef73c0be901cf60f16d3b2747 (diff) | |
| download | dotemacs-d797b7ad5d6af70d7d1ab082f824df07cf5bd536.tar.gz dotemacs-d797b7ad5d6af70d7d1ab082f824df07cf5bd536.zip | |
feat(custom-buffer-file): extend buffer-source dispatch to mu4e and Info
Add two dispatchers to cj/buffer-source-functions so C-; b p yields a
useful link form in two more major modes.
mu4e-view-mode returns "mu4e:msgid:<id>" so the result pastes into org
as a clickable link and matches mu4e's own org-protocol handler.
Falls through to buffer-file-name when point isn't on a real message.
Info-mode returns "info:(manual)node" -- the form org-info-store-link
produces. file-name-base only strips one extension, so a compressed
"emacs.info.gz" comes back as "emacs.info"; trim the trailing ".info"
to get the bare manual name. Falls through when Info hasn't populated
its current-file / current-node vars yet.
Tests cover normal + boundary fallthrough for each new mode.
Diffstat (limited to 'todo.org')
| -rw-r--r-- | todo.org | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -39,6 +39,7 @@ Tags are additive. For example, a small wrong-behavior fix can be * Emacs Open Work +** TODO [#B] Write spec on what's needed for music not to depend on EMMS ** DONE [#B] Update gptel models :chore: CLOSED: [2026-05-14 Thu] Anthropic side: bumped Opus 4.6 → 4.7 (current frontier); Sonnet 4.6 @@ -106,7 +107,8 @@ heading, =help-mode=, =Info-mode=, =magit-log-mode= / These need format decisions (Message-ID vs link vs subject, id link vs CUSTOM_ID vs heading text, etc.) before implementation. -** TODO [#C] Extend cj/buffer-source-functions to more modes :feature: +** DONE [#C] Extend cj/buffer-source-functions to more modes :feature: +CLOSED: [2026-05-15 Fri] Followup to =Modify C-; b p=. The first batch covered eww, elfeed-show, dired/dirvish, and doc-view/pdf-view (via the buffer-file-name fallback). These modes still need a decision + |
