From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: heading specific fast keys? Date: Wed, 21 Dec 2016 15:18:18 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJnLF-0003wg-PY for emacs-orgmode@gnu.org; Wed, 21 Dec 2016 15:18:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJnLC-0002hv-Lr for emacs-orgmode@gnu.org; Wed, 21 Dec 2016 15:18:25 -0500 Received: from mail-qk0-x235.google.com ([2607:f8b0:400d:c09::235]:36766) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJnLC-0002hg-Hk for emacs-orgmode@gnu.org; Wed, 21 Dec 2016 15:18:22 -0500 Received: by mail-qk0-x235.google.com with SMTP id n21so88055196qka.3 for ; Wed, 21 Dec 2016 12:18:22 -0800 (PST) Received: from Johns-MacBook-Air.local (KITCHIN-TIMEMACHINE.CHEME.CMU.EDU. [128.2.54.215]) by smtp.gmail.com with ESMTPSA id s65sm16391833qtd.2.2016.12.21.12.18.20 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Dec 2016 12:18:21 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "emacs-orgmode@gnu.org" 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? -- 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