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: Thu, 02 Dec 2021 16:03:30 +0100 Message-ID: <87h7brdp6l.fsf@gmail.com> References: <835z0u596d.fsf@gnu.org> <83zgy548vr.fsf@gnu.org> <87lf15ev23.fsf@web.de> <87k0gp4y37.fsf@gmail.com> <875ys937xp.fsf@gmail.com> <83r1axtv2e.fsf@gnu.org> <871r2x35mu.fsf@gmail.com> <87pmqfe1zp.fsf@gmail.com> <87wnknrrqc.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="21677"; 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 Thu Dec 02 16:05:01 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 1msndr-0005Kd-EW for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Dec 2021 16:04:59 +0100 Original-Received: from localhost ([::1]:38976 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msndp-0004dn-BJ for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 02 Dec 2021 10:04:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msncb-0004ah-8t for help-gnu-emacs@gnu.org; Thu, 02 Dec 2021 10:03:41 -0500 Original-Received: from [2a00:1450:4864:20::32e] (port=38484 helo=mail-wm1-x32e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msncU-0002bZ-Rq for help-gnu-emacs@gnu.org; Thu, 02 Dec 2021 10:03:35 -0500 Original-Received: by mail-wm1-x32e.google.com with SMTP id p3-20020a05600c1d8300b003334fab53afso2544339wms.3 for ; Thu, 02 Dec 2021 07:03:34 -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=cgm3lolKINyrtkffrWb2YIRRsIA0oXhAlBSpblVovYA=; b=WSyyoHswaNA/RmR3Qv/Jc5vV2PSP6pVgTLSVLbJSyrLBr+p8APl/r1TjdD08Bu3Wuk dB09mbQlofgHNf3GOw1NRGLNeDud+sBgBCxJFjyothgmtk0G6ct74zmnXrvmZtY02Wen JwgTkOeoINDbCD7psYn6DHnhAuyj/tTzANgmIU2aSXwC8HdbHJ7bRp8p1ho6Wsl24WSd xpusJ24GhIdVRHwDexebCBI9XSvg1gBKIBd/XJ6BfV1gUvHO/6MJbaosuhfMx5+y91NH LZ/uBoCUOmTFoAkvuNp7qgxWVXDi4Nzc94VxXLWpGeeBz6IL38H/h3R1NLAYGBQTREzu UErw== 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=cgm3lolKINyrtkffrWb2YIRRsIA0oXhAlBSpblVovYA=; b=LDitxIdlvXQSDlb5jJZ1Q4L67j+3tIlKCKQZTqzYoMOaVtWRGVVOStfvsOV779bMqY was2aTm4MFT1eviAh1i/UcVqsvcHoE4zXdCpgQT3EwxNpzzQZ/X1Jo0Ex710EzLq88qa suKuUR2T860GiuJnZtkba4g3ZX9h/QLjJ/xVqANwBl5UWE7mQwOQDdPQT7MWUrz/ZG0E 0+uwnzSkdKlmgjpq62kXY9vWYxgap2AyTbPlMQt0XL0tCTnwZ42ZYWDuwxjAKBdswVv6 wRVXL7MHyRtjTGQjWpKVPq8sA90BBexMvu+vhatcr0VDjcqnuOSmEzgzboNHBAoP5kQj TGvw== X-Gm-Message-State: AOAM532Lj7z2YNQP35RhpubLuUh/FP4mFUcnAB6InW4Qaiokj9PgpxhF 8tkMcRysQuajEZXXGvttelALHuAL9k0= X-Google-Smtp-Source: ABdhPJwcvbpLUCTPjjTOsFdGEuwvtJx4DgM/BQ9+o6hcxZUnoWZR5DTuGZWW1O7cadQdcPq2eURHRg== X-Received: by 2002:a05:600c:1d97:: with SMTP id p23mr7092819wms.186.1638457412572; Thu, 02 Dec 2021 07:03:32 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb50:97f2:6b7d:aacf:5c88]) by smtp.gmail.com with ESMTPSA id e24sm27372wra.78.2021.12.02.07.03.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Dec 2021 07:03:31 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <87wnknrrqc.fsf@web.de> (Michael Heerdegen's message of "Thu, 02 Dec 2021 15:44:43 +0100") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::32e (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32e.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:134782 Archived-At: >>>>> On Thu, 02 Dec 2021 15:44:43 +0100, Michael Heerdegen said: Michael> Robert Pluim 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 w= ith 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=CA=BCm not sure I understand what you mean. 'C-x 8 e' is not a complete key sequence, it=CA=BCs 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=CA=BCs 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 --=20