That is exactly what I want!! Thank you!
Added bonus: it seems I can use this with any other mode.
I've updated the code:
https://github.com/sri/dotfiles/commit/3b2e42f488393dfc0f7fa91887877af5b195a20c
And I'm invoking it like so:
(add-hook 'org-mode-hook
(lambda ()
It kind of sounds like you want the button-lock package. See
http://kitchingroup.cheme.cmu.edu/blog/2015/03/18/Clickable-links-for-Twitter-handles-in-Emacs/
for example (and search "clickable text" on my blog for other examples).
Maybe something like:
#+BEGIN_SRC emacs-lisp
(require
Hi-
I've implemented "dynamic links" which are like plain links but for
arbitrary regular expressions.
I was wondering if there was a better way to do this?
You can see the implementation here:
https://github.com/sri/dotfiles/commit/cd3429ce0c8e637c803835299c2ed4653d19a5fb
(This works with