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 | 0429102e67dd059e17df41da87178e80f6280396 (patch) | |
| tree | e7a4003f00a54a54b5f5743d17f0f2893b316a68 /docs/design/flycheck-modeline-customization.org | |
| parent | 332acdf2aefeb3105013835068ea8745470a8099 (diff) | |
| download | dotemacs-0429102e67dd059e17df41da87178e80f6280396.tar.gz dotemacs-0429102e67dd059e17df41da87178e80f6280396.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 'docs/design/flycheck-modeline-customization.org')
0 files changed, 0 insertions, 0 deletions
