all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Cook, Malcolm" <MEC@stowers.org>
To: 'John Kitchin' <jkitchin@andrew.cmu.edu>,
	"'emacs-orgmode@gnu.org'" <emacs-orgmode@gnu.org>
Subject: Re: heading specific fast keys?
Date: Wed, 21 Dec 2016 20:27:44 +0000	[thread overview]
Message-ID: <c033f744fcae4c3aafb9f4629a7f7c9a@exchsrv2.sgc.loc> (raw)
In-Reply-To: <m2poklniid.fsf@Johns-MacBook-Air.local>



 > -----Original Message-----
 > From: Emacs-orgmode [mailto:emacs-orgmode-
 > bounces+mec=stowers.org@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

  reply	other threads:[~2016-12-21 20:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-21 20:18 heading specific fast keys? John Kitchin
2016-12-21 20:27 ` Cook, Malcolm [this message]
2016-12-21 20:53   ` John Kitchin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c033f744fcae4c3aafb9f4629a7f7c9a@exchsrv2.sgc.loc \
    --to=mec@stowers.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.