[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiple command bind to a single key stroke
From: |
Ilya Zakharevich |
Subject: |
Re: multiple command bind to a single key stroke |
Date: |
Sun, 13 Jan 2008 01:18:32 +0000 (UTC) |
User-agent: |
trn [how to get a version via %-escapes???] with a custom header |
[A complimentary Cc of this posting was sent to
Jaeyoun Chung
<address@hidden>], who wrote in article <address@hidden>:
> > You may want to look into define-key-wise.el (availaible in
> > ilyaz.org/software/emacs, in emacs-el-src-*.zip).
>
> I've checked yours. In fact, your define-key-wise function binds a
> sequence of commands to a key stroke. Mine binds a list of commands to
> a key stroke. The difference is that mine does not call each of those
> commands, but displays a show drop down menu so that user can choose
> one to execute. Actually, this is how key binding works in textmate
> (ignore the context stuffs).
I use (easy-menu-define) for this.
Hope this helps,
Ilya