[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proper way to add bindings under C-x 8
From: |
Robert Pluim |
Subject: |
Re: Proper way to add bindings under C-x 8 |
Date: |
Thu, 02 Dec 2021 16:03:30 +0100 |
>>>>> On Thu, 02 Dec 2021 15:44:43 +0100, Michael Heerdegen
>>>>> <michael_heerdegen@web.de> said:
Michael> Robert Pluim <rpluim@gmail.com> writes:
>> to allow me to use C-x 8 e f to insert U+2660 twice, but it only
>> inserts it once. What am I missing?
Michael> Maybe the whole procedure stops when a complete key sequence with a
Michael> binding has been reached? I guess that in this case what you want
is
Michael> beyond the reach of key translation mechanisms.
Iʼm not sure I understand what you mean. 'C-x 8 e' is not a complete
key sequence, itʼs a prefix. And the character inserted is always the
second one from the vector in the binding.
Just to be sure, I tried:
(define-key iso-transl-ctl-x-8-map "ff" (vector #x2660 #x2661))
Thereʼs no 'C-x 8 f' bindings at all, and this ends up inserting
U+2661, as does
(define-key iso-transl-ctl-x-8-map "f" (vector #x2660 #x2661))
Robert
--