[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A simple implementation of context-sensitive keys
From: |
Sean O'Rourke |
Subject: |
Re: A simple implementation of context-sensitive keys |
Date: |
Wed, 10 Sep 2008 07:14:21 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (darwin) |
Tassilo Horn <address@hidden> writes:
> But "good" keys are rare, and so I started writing special
> dispatching commands which DTRT dependend on the context
> they're used in.
TextMate for Mac OS has a similar way of defining key bindings:
basically, a major mode labels regions of a buffer's text, and
keys can be bound to functions only within regions with certain
labels. It's like font-lock for keys (IIRC, TextMate's
fontification uses these same labels). I think it's a great
idea, and would like to see some general mechanism for doing it
included in Emacs.
Sean
- A simple implementation of context-sensitive keys, Tassilo Horn, 2008/09/10
- Re: A simple implementation of context-sensitive keys, Lennart Borgman (gmail), 2008/09/10
- Re: A simple implementation of context-sensitive keys,
Sean O'Rourke <=
- Re: A simple implementation of context-sensitive keys, Miles Bader, 2008/09/10
- Re: A simple implementation of context-sensitive keys, Juanma Barranquero, 2008/09/10
- Re: A simple implementation of context-sensitive keys, Sean O'Rourke, 2008/09/10
- Re: A simple implementation of context-sensitive keys, Juanma Barranquero, 2008/09/10
- Re: A simple implementation of context-sensitive keys, Tassilo Horn, 2008/09/11
- Re: A simple implementation of context-sensitive keys, Miles Bader, 2008/09/11
- Re: A simple implementation of context-sensitive keys, Tassilo Horn, 2008/09/11
- Re: A simple implementation of context-sensitive keys, Stefan Monnier, 2008/09/10