GNU bug report logs - #51384
28.0.60; substitute-command-keys finds global binding for undo instead of in specified keymap

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Robert Pluim <rpluim@HIDDEN>; dated Mon, 25 Oct 2021 09:58:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 51384 <at> debbugs.gnu.org:


Received: (at 51384) by debbugs.gnu.org; 15 Nov 2021 17:29:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 15 12:29:20 2021
Received: from localhost ([127.0.0.1]:56041 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mmfnD-0001Dj-LB
	for submit <at> debbugs.gnu.org; Mon, 15 Nov 2021 12:29:19 -0500
Received: from relay9-d.mail.gandi.net ([217.70.183.199]:48451)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1mmfn5-0001D8-Li
 for 51384 <at> debbugs.gnu.org; Mon, 15 Nov 2021 12:29:16 -0500
Received: (Authenticated sender: juri@HIDDEN)
 by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 1152CFF812;
 Mon, 15 Nov 2021 17:29:03 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#51384: 28.0.60; substitute-command-keys finds global
 binding for undo instead of in specified keymap
Organization: LINKOV.NET
References: <877de1s9yl.fsf@HIDDEN> <87o87d9zpv.fsf@HIDDEN>
 <87y26hqtgt.fsf@HIDDEN>
Date: Mon, 15 Nov 2021 19:25:16 +0200
In-Reply-To: <87y26hqtgt.fsf@HIDDEN> (Robert Pluim's message of "Mon, 25
 Oct 2021 12:39:14 +0200")
Message-ID: <8635nxcow3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 51384
Cc: 51384 <at> debbugs.gnu.org, Andreas Schwab <schwab@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>     Andreas> On Okt 25 2021, Robert Pluim wrote:
>     >> (substitute-command-keys "\\<undo-repeat-map>\\[undo]")
>     >> => #("C-x u" 0 5 (face help-key-binding font-lock-face help-key-binding))
>
>     Andreas> :advertised-binding takes precedence.
>
> So it does, which is unfortunate, underdocumented, and unnecessary,
> since just not specifying the map will get you the
> :advertised-binding anyway.
>
> \\(map) anyone, to mean "really only look up in this map"?

For readers of this bug report, here is a link to the discussion:
https://lists.gnu.org/archive/html/emacs-devel/2021-10/msg01845.html




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51384; Package emacs. Full text available.

Message received at 51384 <at> debbugs.gnu.org:


Received: (at 51384) by debbugs.gnu.org; 25 Oct 2021 10:39:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 25 06:39:25 2021
Received: from localhost ([127.0.0.1]:41707 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mexO0-00015E-UL
	for submit <at> debbugs.gnu.org; Mon, 25 Oct 2021 06:39:25 -0400
Received: from mail-wr1-f49.google.com ([209.85.221.49]:36669)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1mexNy-00014z-Gy
 for 51384 <at> debbugs.gnu.org; Mon, 25 Oct 2021 06:39:22 -0400
Received: by mail-wr1-f49.google.com with SMTP id w15so8333704wra.3
 for <51384 <at> debbugs.gnu.org>; Mon, 25 Oct 2021 03:39:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :mime-version; bh=D7WEgvjIBN0w7PqBSMU/XBBz/mXjNWxF5ZeGxyZIrDA=;
 b=Fq5uOunXVViu2SSolpQzslrX9zkpsbt+h4OEvkh7HTJ6xapsCz4CWmpZRtSDp5S8T2
 noKOMsL1nB7pVc8/0pZtsuvAbaBptD9RqNldGtO75wxEBmZarYbFmLrVtQ9t4YPLm328
 ZQmOELkD0ZrbynC4AIMpIcRO8w84RUO9CTK05owZaeYmOkENHMC2S6GykWAX4k3Zvhzl
 eErfYHRYFeR/4509NJsgoKgkIXvZwITXjvqCmi/i/unUWUJOdhx9exr7Z7ZReUByO/E/
 plbJRgHzuUkqcOcXqeki8XSezj9+ewit22w32Eh6rWhM4xgtr5Hs+wJ7vVpCnmyyCMxJ
 RFGg==
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:date:in-reply-to
 :message-id:mime-version;
 bh=D7WEgvjIBN0w7PqBSMU/XBBz/mXjNWxF5ZeGxyZIrDA=;
 b=aNIMybHh+5b+YqwT8qkeZ8uVunFEowJ4+a/t6S6NSK5W1xQex42bm8Ip1igAPLNnJH
 rHPwCHVMktE/3W5lNbC9JJxxPlRvpe82DIhJINUbpd3mR2DRaQAPcZjqUOAEM/peIW7w
 vw1GnkKDbxfjdxAooqqa6a7BlYKj1mjGhdpbtbQ5pAzm5pnaD0L/nogvIbtAZe20ANzn
 zdzI5FKokAa1Rg1Hms/P1ebV89Dw9M5Q2kKXdMYwCJ9jEwrTo2bpogLKv5xSZJ0A+Hwl
 aFSfYwtr1JMqMljpMKe7EvTU0u99GtFfbp86dIci3rfp8sRqEeflvrk+1s2Jo0GXKw4R
 UU1A==
X-Gm-Message-State: AOAM533rsyaICUC9qhdaYauRhgZqFl5y6SjEtRiSjo/kxBg6BynkTKDy
 FrV+/mJ24gqzYiwJx4vOGd5nB1rFTGM=
X-Google-Smtp-Source: ABdhPJxMXYxMmZmenzh6CGp6DcTz9wak3QwLIfkFejz+97xMH1jN1xgPhDOA9GLFFndVyPcIXBzzUg==
X-Received: by 2002:a5d:4a0a:: with SMTP id m10mr21970395wrq.8.1635158355880; 
 Mon, 25 Oct 2021 03:39:15 -0700 (PDT)
Received: from rltb ([82.66.8.55])
 by smtp.gmail.com with ESMTPSA id f24sm15305560wmb.33.2021.10.25.03.39.15
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 25 Oct 2021 03:39:15 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Andreas Schwab <schwab@HIDDEN>
Subject: Re: bug#51384: 28.0.60; substitute-command-keys finds global
 binding for undo instead of in specified keymap
References: <877de1s9yl.fsf@HIDDEN> <87o87d9zpv.fsf@HIDDEN>
Date: Mon, 25 Oct 2021 12:39:14 +0200
In-Reply-To: <87o87d9zpv.fsf@HIDDEN> (Andreas Schwab's message of "Mon, 25
 Oct 2021 12:16:12 +0200")
Message-ID: <87y26hqtgt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 51384
Cc: 51384 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>>>>> On Mon, 25 Oct 2021 12:16:12 +0200, Andreas Schwab <schwab@HIDDEN> said:

    Andreas> On Okt 25 2021, Robert Pluim wrote:
    >> (substitute-command-keys "\\<undo-repeat-map>\\[undo]")
    >> => #("C-x u" 0 5 (face help-key-binding font-lock-face help-key-binding))

    Andreas> :advertised-binding takes precedence.

So it does, which is unfortunate, underdocumented, and unnecessary,
since just not specifying the map will get you the
:advertised-binding anyway.

\\(map) anyone, to mean "really only look up in this map"?

Robert
-- 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51384; Package emacs. Full text available.

Message received at 51384 <at> debbugs.gnu.org:


Received: (at 51384) by debbugs.gnu.org; 25 Oct 2021 10:16:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 25 06:16:20 2021
Received: from localhost ([127.0.0.1]:41689 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mex1f-0000Jk-Tv
	for submit <at> debbugs.gnu.org; Mon, 25 Oct 2021 06:16:20 -0400
Received: from mail-out.m-online.net ([212.18.0.10]:51707)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <whitebox@HIDDEN>) id 1mex1a-0000JY-Jr
 for 51384 <at> debbugs.gnu.org; Mon, 25 Oct 2021 06:16:18 -0400
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4Hd9pP5JFZz1s9Qv;
 Mon, 25 Oct 2021 12:16:13 +0200 (CEST)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4Hd9pP2zGfz1qqkB;
 Mon, 25 Oct 2021 12:16:13 +0200 (CEST)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id JRR8gSVu4lnS; Mon, 25 Oct 2021 12:16:12 +0200 (CEST)
X-Auth-Info: FLB2rimty/f+RxG8eBdcBXxbl5jJrnEwnFSeR8nEHWNxy0yl1SVL0IWER9QFgRtM
Received: from igel.home (ppp-46-244-179-15.dynamic.mnet-online.de
 [46.244.179.15])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPSA;
 Mon, 25 Oct 2021 12:16:12 +0200 (CEST)
Received: by igel.home (Postfix, from userid 1000)
 id 3E9682C2635; Mon, 25 Oct 2021 12:16:12 +0200 (CEST)
From: Andreas Schwab <schwab@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#51384: 28.0.60; substitute-command-keys finds global
 binding for undo instead of in specified keymap
References: <877de1s9yl.fsf@HIDDEN>
X-Yow: In order to make PLANS for the WEEKEND...so that we can read RESTAURANT
 REVIEWS and decide to GO to that restaurant & then NEVER GO...so we can
 meet a FRIEND after work in a BAR and COMPLAIN about Interior Sect'y
 JAMES WATT until the SUBJECT is changed to NUCLEAR BLACKMAIL...and so
 our RELATIVES can FORCE us to listen to HOCKEY STATISTICS while we
 wait for them to LEAVE on the 7:48....
Date: Mon, 25 Oct 2021 12:16:12 +0200
In-Reply-To: <877de1s9yl.fsf@HIDDEN> (Robert Pluim's message of "Mon, 25
 Oct 2021 11:57:38 +0200")
Message-ID: <87o87d9zpv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 51384
Cc: 51384 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

On Okt 25 2021, Robert Pluim wrote:

> (substitute-command-keys "\\<undo-repeat-map>\\[undo]")
> => #("C-x u" 0 5 (face help-key-binding font-lock-face help-key-binding))

:advertised-binding takes precedence.

Andreas.

-- 
Andreas Schwab, schwab@HIDDEN
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#51384; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 25 Oct 2021 09:57:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 25 05:57:45 2021
Received: from localhost ([127.0.0.1]:41679 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mewjh-0008Ez-Nj
	for submit <at> debbugs.gnu.org; Mon, 25 Oct 2021 05:57:45 -0400
Received: from lists.gnu.org ([209.51.188.17]:47684)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1mewjg-0008Em-6S
 for submit <at> debbugs.gnu.org; Mon, 25 Oct 2021 05:57:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44664)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rpluim@HIDDEN>) id 1mewjf-0006dv-U7
 for bug-gnu-emacs@HIDDEN; Mon, 25 Oct 2021 05:57:43 -0400
Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:37841)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <rpluim@HIDDEN>) id 1mewje-0007Kd-2M
 for bug-gnu-emacs@HIDDEN; Mon, 25 Oct 2021 05:57:43 -0400
Received: by mail-wr1-x430.google.com with SMTP id e12so11763348wra.4
 for <bug-gnu-emacs@HIDDEN>; Mon, 25 Oct 2021 02:57:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=WomoSqangYxi0f+BFlQjaoOhpySsOtcrfzyeQ/fDPF0=;
 b=lmaoiFnauXgz3J2fNOl5ZcMwLYSrtKJ3mM0pJFJVwUKXca1VV/dzGaMOGDsBCCMnu0
 Td1JshYYZGtTD+0CS60azqeJuyhpOZWk3wmofXSVceeri8Vccfax8njLDvZJ2KSZiJPQ
 LPRkrQ7OWk26EqpFKjS5SGYevqbdBOwINspYskAn3hi7YoCI5JGfyQhX0k9Wbjc903Rn
 L9YA9NZrfP0ltdHvLLhJxyTuB/tNeRPmFb18bVwcHDKyPsdbwDPs7Tw28d/UzyVWB6fS
 80L797BUBbd47RAbLkS4advz63snWghERCSUW9bQ/xbfSmb88Im4sxetZlVKZRd1zKRw
 5aVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version
 :content-transfer-encoding;
 bh=WomoSqangYxi0f+BFlQjaoOhpySsOtcrfzyeQ/fDPF0=;
 b=OE06PKUV/aeDZV+n8jU2XKfBaesgJm9++WnIJwhHubp0YunBAYUaGSEOwIp3Ra0xwq
 RAYqR7NOSOqcxKFskbY5dNc2+DMdJQh45LdtaB017UmwWXH5pG3thZHVXmgdDmBujaof
 /expyct9taPxnpbKKzYLGgU5MFE5Rz4B4tktR/FQBckmNpM6NL2ZX/hLduwMY07tzvIL
 puW4e76Y3vs1IipmFWxIsoxaHYeRRegI5nY9oCAoCQww4bphEA/rgP+l+O5bKrjAX7pl
 FqHlmKf7YNQZKWvo4MJFbx8LB05vZ7Ofi5bCi0Z4RPfU58V3f1i/QUPGoCUxnJEagyWk
 EckA==
X-Gm-Message-State: AOAM533AbZu+Mow038KpYHbu3QrIPC2S40pI7mvbsJixzrFrZgobavjG
 FPBn2P3Z57CfYohei12m6vsdXA4sl0s=
X-Google-Smtp-Source: ABdhPJxlfUwK3EphyL14hgRsBUvUyRQxDXZjRXlpYROTI62TCl1UI6oI7kEXf75wfeXS+rTMxnZpNQ==
X-Received: by 2002:adf:f70f:: with SMTP id r15mr20861129wrp.328.1635155860136; 
 Mon, 25 Oct 2021 02:57:40 -0700 (PDT)
Received: from rltb ([82.66.8.55])
 by smtp.gmail.com with ESMTPSA id v6sm1635534wrx.17.2021.10.25.02.57.39
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 25 Oct 2021 02:57:39 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 28.0.60; substitute-command-keys finds global binding for undo
 instead of in specified keymap
X-Debbugs-No-Ack: yes
Date: Mon, 25 Oct 2021 11:57:38 +0200
Message-ID: <877de1s9yl.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=2a00:1450:4864:20::430;
 envelope-from=rpluim@HIDDEN; helo=mail-wr1-x430.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

The \<MAPVAR> construct is documented to set the keymap for subsequent
\[COMMAND] lookups, but for some bindings it doesn=CA=BCt seem to work,
finding the global binding instead:


emacs -Q
(require 'repeat)
(substitute-command-keys "\\<undo-repeat-map>\\[undo]")
=3D> #("C-x u" 0 5 (face help-key-binding font-lock-face help-key-binding))
(substitute-command-keys "\\{undo-repeat-map}")
=3D> #("key             binding
---             -------

u               undo

" 49 50 (face help-key-binding font-lock-face help-key-binding) 50 52 (font=
-loc\
k-face nil face nil))

This is a with-native-compilation emacs-28, but emacs-28 without
native compilation behaves the same.

In GNU Emacs 28.0.60 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, c=
airo version 1.16.0)
 of 2021-10-24 built on rltb
Repository revision: b0d64be0bc581958bf3a74152a2cd10172916b03
Repository branch: emacs-28
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure --with-native-compilation'

Robert
--=20




Report forwarded to bug-gnu-emacs@HIDDEN:
bug#51384; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 15 Nov 2021 17:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.