From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.help Subject: Re: Proper way to add bindings under C-x 8 Date: Tue, 30 Nov 2021 13:39:08 +0100 Message-ID: <87k0gp4y37.fsf@gmail.com> References: <835z0u596d.fsf@gnu.org> <83zgy548vr.fsf@gnu.org> <87lf15ev23.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5321"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 30 13:51:59 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms2c2-00016u-E2 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 13:51:58 +0100 Original-Received: from localhost ([::1]:47304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms2c1-0006Lo-Hl for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 07:51:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms2Ph-0007ZX-9S for help-gnu-emacs@gnu.org; Tue, 30 Nov 2021 07:39:13 -0500 Original-Received: from [2a00:1450:4864:20::32c] (port=55963 helo=mail-wm1-x32c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms2Pf-0000az-P9 for help-gnu-emacs@gnu.org; Tue, 30 Nov 2021 07:39:13 -0500 Original-Received: by mail-wm1-x32c.google.com with SMTP id p18so17300659wmq.5 for ; Tue, 30 Nov 2021 04:39:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=WolDkdtr29l7MbzWWkKRQydew36yqm+oAiK0n+VH/Hk=; b=XtCdmIOiv+GXGW1uVhIwQo8o69Ro+dASGAcB44TZQWFq7FkdnDHoyT4fXe94wtubKl pZB/IE3k5U1HqEimohPYc2qyEN2r7wRdOBGXzOWvizLUHA48AbpQUs380ICoPc+8xQrU 1ZyVW3jYELKm5vuqStkbk81XUPJZlqLylQWBMvCOPZij+nxUktDhwpej/bsapprCPolw 4GcIPm3EmZdVtBLCDEsmJr8NCroSxrT1dhpvXAy6WcFg7840dUjPutf7waTns9Wr1DlF oQxrg6lYnCSwnh0e5xiEGThdk5aVQeeY5QJd05KQdwOBXHH8Y7HBBWVtXJMJ8ohA8FtK 7OuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=WolDkdtr29l7MbzWWkKRQydew36yqm+oAiK0n+VH/Hk=; b=mw5sp0LZ6bFm4QLUiU8deHv0NpwkK3Ry5DjyO3sNrel9YELceRwtNEr9U4EhTs1uf5 qH0LZepS864UucYDi1X4fCQs2BzJxFTTrWjk/Lv+UADVaHD7GkE2yMqLyqt/yf2QzJ4O dS1Be19NgfBj+RXcNMjBt03CnzD5rJN256NTQxMersZNKqsoZ5Hcn0vsjJJZaE3Wps6m HvJRlFkUWSJmpPE1vt8Dw6h53GwpIDideOawoqKnHWV362n4VG8ZiNApr7sEoULMZoPA xcTZIRvfUwqDXTYdEtsD3W2FVh0ZNsu9FmrxJ0Dx3LZK81vlXFVVio1SZ3PwIt3lC4iR Z/8g== X-Gm-Message-State: AOAM532HiSKsFi0jqbOD/dIuMqJAEf7zff7k2CObJHNjZh0ZVPzvf2kg a686njJS2eel7l4F/5vu/Oaf90QUIgE= X-Google-Smtp-Source: ABdhPJwbJFqFxZtrgrLt/E9DdnRNjriuMNGNK3APrWXXgAEDKQ6nRvx3ptrKyhV39jh+2dRfinyqyQ== X-Received: by 2002:a05:600c:3ba5:: with SMTP id n37mr4627151wms.168.1638275949980; Tue, 30 Nov 2021 04:39:09 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:3c45:157c:7662:2fd3]) by smtp.gmail.com with ESMTPSA id h13sm16782003wrx.82.2021.11.30.04.39.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 04:39:09 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <87lf15ev23.fsf@web.de> (Michael Heerdegen's message of "Tue, 30 Nov 2021 12:34:28 +0100") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32c.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:134735 Archived-At: >>>>> On Tue, 30 Nov 2021 12:34:28 +0100, Michael Heerdegen said: Michael> Howard Melman writes: >> I assume this is because these emoji use some more >> complicated encoding since C-x =3D 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.=20 Michael> I don't know anything about it. But I can see that these card= emojis Michael> are not characters - wrapped into a string you get a length of= 2: Michael> (length "=E2=99=A0=EF=B8=8F") =3D=3D> 2 Michael> Inserting the two consecutive characters seems to work: Michael> (insert ?=E2=99=A0 65039) ;; inserts =E2=99=A0=EF=B8=8F Michael> So iso-transl-define-keys doesn't seem to be usable for this t= ask Michael> indeed. I think you=CA=BCre right. Using the global map works fine if you use the syntax [?=E2=99=A0?=EF=B8=8F] (where there=CA=BCs a literal U+FE0F after that second "?") but with the iso-transl-ctl-x-8-map it always inserts only the last element of that vector. Robert --=20