[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetalk-dev] [Patch] bind keys
From: |
Anand Babu |
Subject: |
Re: [Freetalk-dev] [Patch] bind keys |
Date: |
Fri, 18 Aug 2006 13:41:51 -0700 |
User-agent: |
GNU/Emacs/Mutt |
On Thu, Aug 17, 2006 at 10:14:54AM +0200, Matthias Quasthoff wrote:
,----
| > * It will be nice to accept other prefixes too other than just
| > C-. But this is better than having nothing.
| >
| > * (ft-bind-to-ctrl-key #\h "SCM-CODE")
| > is more readable.
| Haven???t touched this since I???m not sure what u mean. Dropping
| generic ft-bind-key in favour of ft-bind-to-ctrl-key? Maybe we
| should rather do ft-bind-keyseq in order to allow any type of key
| sequences. But I would have to experiment on that. And it does sound
| like something that would have to wait for the jingle version.
|
| Please find patch to last patch attached.
`----
I mean, instead of giving number like 1 for 'a', it makes sense to
quote the actual character itself. It becomes more readable in the
configuration file.
All you have to do is, accept the argument as char or symbol and
translate the value into your key code (number).
Please rename your current control- based primitive to
ft-bind-to-ctrl-key. That way, when you implement the generic key
binding primitive, you can use that name.
Also can you re-post a new fresh patch to the arch version (without
your previous patch).
--
Anand Babu
GPG Key ID: 0x62E15A31
Blog [http://ab.freeshell.org]
The GNU Operating System [http://www.gnu.org]