2026-07-10 06:19 UTC
@oantolin@mathstodon.xyz
An #emacs example:
(embark-define-regexp-target bug "bug#\\([0-9]+\\)" url
(concat "https://debbugs.gnu.org/cgi/bugreport.cgi?bug="
(match-string 1)))
I don't have many other good examples. For most link types I prefer the uniform Org link prefix syntax, e.g., `geo:...` for #osm links, since this is already very little syntax. Did you try to define a PascalCase Embark target?
@chiply@fosstodon.org
Replies (1)
-
@hmelman@mastodon.social 2026-07-10 14:19
@minad@mastodon.world @oantolin@mathstodon.xyz @chiply@fosstodon.org Interesting. I use bug-reference-mode for this, do you get other functionality by using embark for it? Do you do anything other than open an url for a bug?