> -----Original Message----- > From: Emacs-orgmode [mailto:emacs-orgmode- > bounces+mec=stowers....@gnu.org] On Behalf Of John Kitchin > Sent: Wednesday, December 21, 2016 2:18 PM > To: emacs-orgmode@gnu.org > Subject: [O] heading specific fast keys? > > I wondered if anyone know a straight forward way to make > heading-specific fast keys in org-mode. > > The idea is if I am on a heading that is a "contact" (which means it has > an EMAIL property), then there would be special hot keys for it, e.g. > "e" would compose a message, "u" might open a URL if it had one, etc... > > Or, on entries captured from elfeed, I could just press "b" to open the > entry in a browser, etc... > > I guess there would need to be some kind of hook that looks up a keymap > or something on these special positions. And maybe a default map for > non-special headings. > > Thoughts?
Possible synergy from one of the approaches to [MultipleModes](https://www.emacswiki.org/emacs?search=%22MultipleModes%22) I use polymode in org-mode to good effect within which switches mode with code blocks to be language specific. It might suggest an architecture.... > > -- > Professor John Kitchin > Doherty Hall A207F > Department of Chemical Engineering > Carnegie Mellon University > Pittsburgh, PA 15213 > 412-268-7803 > @johnkitchin > http://kitchingroup.cheme.cmu.edu