help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Proper way to add bindings under C-x 8


From: Michael Heerdegen
Subject: Re: Proper way to add bindings under C-x 8
Date: Tue, 30 Nov 2021 12:34:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Howard Melman <hmelman@gmail.com> writes:

> I assume this is because these emoji use some more
> complicated encoding since C-x = tells me it's a composed
> form unlike the others.  Is there a way to include these as
> well?  I don't really want to have to know the different way
> different emoji are encoded but if necessary I can. 

I don't know anything about it.  But I can see that these card emojis
are not characters - wrapped into a string you get a length of 2:

  (length "♠️") ==> 2

Inserting the two consecutive characters seems to work:

  (insert ?♠ 65039)  ;; inserts ♠️

So iso-transl-define-keys doesn't seem to be usable for this task
indeed.

Michael.




reply via email to

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