emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add more key bindings to rxvt.el


From: Dan Nicolaescu
Subject: Re: add more key bindings to rxvt.el
Date: Thu, 21 Jul 2005 13:47:19 -0700

Eli Zaretskii <address@hidden> writes:

  > > From: Dan Nicolaescu <address@hidden>
  > > Date: Thu, 21 Jul 2005 10:50:23 -0700
  > > 
  > > !   ;; The strings emitted by S-f1 and S-f2 are identical to the ones
  > > !   ;; emitted by f11 and f12.
  > 
  > If this comment is correct, wouldn't it make more sense to have
  > S-f1 and S-f2 rather than f11 and f12?

Sure. But that would need some substitute-key-definition calls because 
it seems that the terminfo entry defines the strings for f11 and f12 
(at least that is what happens on Fedora Core 4).

So something like the following needs to be added: 

(substitute-key-definition [f11] [S-f1] function-key-map) 
(substitute-key-definition [f12] [S-f2] function-key-map)

And to make sure that the rest of the F-key definitions work OK, the
following are needed: 

(substitute-key-definition [f13] [S-f3] function-key-map)
(substitute-key-definition [f14] [S-f4] function-key-map)
(substitute-key-definition [f15] [S-f5] function-key-map)
(substitute-key-definition [f16] [S-f6] function-key-map)
(substitute-key-definition [f17] [S-f7] function-key-map)
(substitute-key-definition [f18] [S-f8] function-key-map)
(substitute-key-definition [f19] [S-f9] function-key-map)
(substitute-key-definition [f20] [S-f10] function-key-map)

(substitute-key-definition [f23] [C-f1] function-key-map) 
(substitute-key-definition [f24] [C-f2] function-key-map)
(substitute-key-definition [f25] [C-f3] function-key-map)
(substitute-key-definition [f26] [C-f4] function-key-map)
(substitute-key-definition [f27] [C-f5] function-key-map)
(substitute-key-definition [f28] [C-f6] function-key-map)
(substitute-key-definition [f29] [C-f7] function-key-map)
(substitute-key-definition [f30] [C-f8] function-key-map)
(substitute-key-definition [f31] [C-f9] function-key-map)
(substitute-key-definition [f32] [C-f10] function-key-map)

(substitute-key-definition [f33] [C-S-f1] function-key-map) 
(substitute-key-definition [f34] [C-S-f2] function-key-map)
(substitute-key-definition [f35] [C-S-f3] function-key-map)
(substitute-key-definition [f36] [C-S-f4] function-key-map)
(substitute-key-definition [f37] [C-S-f5] function-key-map)
(substitute-key-definition [f38] [C-S-f6] function-key-map)
(substitute-key-definition [f39] [C-S-f7] function-key-map)
(substitute-key-definition [f40] [C-S-f8] function-key-map)
(substitute-key-definition [f41] [C-S-f9] function-key-map)
(substitute-key-definition [f42] [C-S-f10] function-key-map)

Would this be OK? 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]