I'm looking for a minor mode that would let me attach actions to text that matches some pattern.
Like, for example, match urls, emails and pathnames (or any other thing) and create buttons that run some command on click.
Think of it as of a customizable and generalized version of goto-address minor mode.
Does it exist already?
If it doesn't, I'll try to write it myself. How would you name the mode? I was thinking of something like matching-actions-mode
, but I'm not sure.