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 17:49:22 +0100 Message-ID: <875ys937xp.fsf@gmail.com> References: <835z0u596d.fsf@gnu.org> <83zgy548vr.fsf@gnu.org> <87lf15ev23.fsf@web.de> <87k0gp4y37.fsf@gmail.com> 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="10015"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Howard Melman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 30 17:49:55 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 1ms6KH-0002Kh-C5 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 17:49:53 +0100 Original-Received: from localhost ([::1]:56288 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms6KF-00061A-Jd for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 30 Nov 2021 11:49:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms6Jr-0005tg-GY for help-gnu-emacs@gnu.org; Tue, 30 Nov 2021 11:49:27 -0500 Original-Received: from [2a00:1450:4864:20::436] (port=42890 helo=mail-wr1-x436.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ms6Jp-0005fW-HB for help-gnu-emacs@gnu.org; Tue, 30 Nov 2021 11:49:27 -0500 Original-Received: by mail-wr1-x436.google.com with SMTP id c4so45801560wrd.9 for ; Tue, 30 Nov 2021 08:49:25 -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=8XyMb66PXRfUAlGqRxcLY1AcAS5GMKmdNwOhVOxj44Y=; b=LveRWw2W9oaLHS7IsSTsMXYJXFhgKOge5ZZOa6MIM6NpgLyrhec0FMrjRGaixdj5pV lRKSrkCjyu4l+V7XU30ZjAO38hrIzqF5U+zLyKM08gmN0/yI3yHza9av+Z+iVRd8QVM8 H67mo4KBHIQC0m0htTzy/nUAYCnj1A8zQsiTdjxzqYXPMfdPeL5mTWdxIiksGoD/gKp3 3cwLb3/4wkoA6IdJjfBRLzyrdVrXdNSOmykVoReTEc0xX0LzMsBDdonVjJ4VFGSaQ6rg cKwzGztLtfTV891vyoxO0mN4eOj2WvmFz8TnMCx8QMO/2gsLQku0167oWdVJQp2eXE2F MDNg== 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=8XyMb66PXRfUAlGqRxcLY1AcAS5GMKmdNwOhVOxj44Y=; b=3b30QB6FmJbpylyRPdCjGRaAtCeXhk0CczrB+j1s8yRrPWNilomqEFWBEZAgXesAR1 Pf1M9WPsYgnxjCxfkFBHn9kRxsFPAIbipoJcW2SaLt9Hkift9YniTpSSukMF8uPJKl5m i8hAKzgZjuLDTh6t0jJ4ys6su6dyCLAkLat9m1h1GOFlEZl7nMM24oro1q+dExtHjjfo X3pqc2HngXsB8yg6iqTOoZTrQuicUNulGXDbhwCJgd8fV9rCrbRansaay4eQGXlOqGpE j/x3vADbKTx8QPzgBTzDrkmMLvgl0UNfmyL3ba0VbeCyKKSdldyS/Cnt+ROES8ZSL8ql 43yA== X-Gm-Message-State: AOAM532/49lVChvmsXbYLKIOGUqpHwJLvztFj/Ln2hQ0qMXlq/VzLKl/ TvZJU/9Y+5GxfnZgzI9yO6h7BKEfqjo= X-Google-Smtp-Source: ABdhPJzI4NZu6sGvBellhQC0dnda1d2/Xp39x5CewvG3T5kP+LAcVmh0oeNZjaqWTS3wG0wUHFME9w== X-Received: by 2002:a05:6000:1869:: with SMTP id d9mr91889wri.416.1638290963836; Tue, 30 Nov 2021 08:49:23 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:3c45:157c:7662:2fd3]) by smtp.gmail.com with ESMTPSA id f8sm2848956wmf.2.2021.11.30.08.49.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:49:23 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: (Howard Melman's message of "Tue, 30 Nov 2021 11:32:13 -0500") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::436 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=rpluim@gmail.com; helo=mail-wr1-x436.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:134741 Archived-At: >>>>> On Tue, 30 Nov 2021 11:32:13 -0500, Howard Melman = said: Howard> Robert Pluim writes: >>>>>>> On Tue, 30 Nov 2021 12:34:28 +0100, Michael Heerdegen said: >> I think you=CA=BCre right. Using the global map works fine if you us= e the >> syntax >>=20 >> [?=E2=99=A0?=EF=B8=8F] >>=20 >> (where there=CA=BCs a literal U+FE0F after that second "?") >>=20 >> but with the iso-transl-ctl-x-8-map it always inserts only the last >> element of that vector. >>=20 >> Robert Howard> Thanks for the help. Howard> So could this be considered a bug in iso-transl-define-keys? Possibly. I was hoping Eli would jump in and tell me :-) All the uses of key-translation-map that I can find map a sequence to a character, but your mapping is to multiple characters. That works fine with normal keymaps, but not with key-translation-map, and I=CA=BCve not found documentation telling me that=CA=BCs wrong (nor that it=CA=BCs ri= ght). Howard> I mean I'd like to be able to enter these both via C-x 8 e Howard> and A-e and while not documented I was previously told to Howard> read the source of iso-transl-define-keys. Howard> I could make my own keymap or transient for the emoji's I Howard> commonly use, but it really would be nice to integrate it Howard> with Emacs' builtin way for entering non-ascii unicode Howard> characters so I don't have to keep track of two different Howard> mechanisms. Howard> Or maybe Lars' Emacs 28 emoji stuff could be released as a Howard> package that could be used with Emacs 28? Lars has said he's planning to do that. I=CA=BCm growing quite fond of it = =F0=9F=98=81=F0=9F=98=BC Robert --=20