GNU logs - #29203, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29203: 26.0.50; Binding a key to (MAP . CHAR) no longer works
Resent-From: Fox Kiester <foxkies@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 08 Nov 2017 03:20:01 +0000
Resent-Message-ID: <handler.29203.B.151011115111638 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 29203
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 29203 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.151011115111638
          (code B ref -1); Wed, 08 Nov 2017 03:20:01 +0000
Received: (at submit) by debbugs.gnu.org; 8 Nov 2017 03:19:11 +0000
Received: from localhost ([127.0.0.1]:57353 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eCGtS-00031e-Ot
	for submit <at> debbugs.gnu.org; Tue, 07 Nov 2017 22:19:10 -0500
Received: from eggs.gnu.org ([208.118.235.92]:37742)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <foxkies@HIDDEN>) id 1eCGVn-0002Rc-G3
 for submit <at> debbugs.gnu.org; Tue, 07 Nov 2017 21:54:44 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <foxkies@HIDDEN>) id 1eCGVh-0005fi-0z
 for submit <at> debbugs.gnu.org; Tue, 07 Nov 2017 21:54:38 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM,
 HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:47724)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <foxkies@HIDDEN>) id 1eCGVg-0005fc-UD
 for submit <at> debbugs.gnu.org; Tue, 07 Nov 2017 21:54:36 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:56939)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <foxkies@HIDDEN>) id 1eCGVf-0008O1-LO
 for bug-gnu-emacs@HIDDEN; Tue, 07 Nov 2017 21:54:36 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <foxkies@HIDDEN>) id 1eCGVe-0005fJ-S6
 for bug-gnu-emacs@HIDDEN; Tue, 07 Nov 2017 21:54:35 -0500
Received: from mail-vk0-x235.google.com ([2607:f8b0:400c:c05::235]:53883)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <foxkies@HIDDEN>) id 1eCGVe-0005f4-Md
 for bug-gnu-emacs@HIDDEN; Tue, 07 Nov 2017 21:54:34 -0500
Received: by mail-vk0-x235.google.com with SMTP id k195so835262vke.10
 for <bug-gnu-emacs@HIDDEN>; Tue, 07 Nov 2017 18:54:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=1uuW/6ATjCjqu+MLBykqeXqsoglPgJJSOyg3CDhVJC8=;
 b=SZv7Xu2ePSmk5HEEUwrHFO7mOb2AaWf1+97+rUrBMfeE9czaAUpqBuogh6Bm1Xxnci
 0vxulPVT3RozyfMSXVcm0OBrwJIItxWYI4dZID355SVwWwLBa0eTp7FeKWGUT+6UfoJm
 8Kp4v121ffXpodlYAtyJI/vYvq03L6XkFY5GzWAHNL+dgOS6JQHTvSgpkc6JeffZjTq/
 HEpKsRDoVDX/zYa+ZGs9pdJXuV9qMNo+anDj7sjH4HPujIwJFr5Gz6n11Apw7l/8yxJ2
 wc3iH/JBZOWKl+KXkm+veZC0kcm9dAdCSKahX8uvbak3NUDPvHIE/5vq1/2f9YXX0AhV
 ki9g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=1uuW/6ATjCjqu+MLBykqeXqsoglPgJJSOyg3CDhVJC8=;
 b=OIW/LiByNFQuIOn9qIJwHdW0YAYrnIDwvgf1A9rozqb6VWHI3cSRtP8q/G2rl1Q+JH
 cvA1GaJaz7Oz9HWjeP3AkSZVZpiS3DD3plM4VfF8pueqskwU0ruP1XR1nwFYFUBRmbNN
 FBfNcUzegUddmkVTq6dsNvdPWSyQca/ZD5/19SJUL7y1umfVTbnxK7NinIphiEgc4pLi
 MuAf8Pne0JkoiewATcUYa+lgK0bqU5RzBdipleFad81O3cAX1WkJ6Rgr0GvsRSsAToip
 EnFDXyKaGS0AOugiUxK+C179LPIPlggEPas3qqozHtuSHELN8f+BRXrgpVIUQQq3tDZI
 HLYw==
X-Gm-Message-State: AJaThX7QC6HJztkVnRyGSa92exZMBbsLwDDBVqUKKiCe7RMhdoBMJwIK
 zomQKvXGv50ETBPfspDhNUEy6HF6LeZRIxEmdcDqow==
X-Google-Smtp-Source: ABhQp+RRLz1/l1z7FVCFeSs4X8lTC16aEzqu2CZJ4SkkYkGsjaCNOxsi5lWinAMK2P7qsRZzsDkAK9pW47oN63VLUjU=
X-Received: by 10.31.167.151 with SMTP id q145mr600336vke.49.1510109673275;
 Tue, 07 Nov 2017 18:54:33 -0800 (PST)
MIME-Version: 1.0
Received: by 10.176.21.178 with HTTP; Tue, 7 Nov 2017 18:54:32 -0800 (PST)
From: Fox Kiester <foxkies@HIDDEN>
Date: Tue, 7 Nov 2017 21:54:32 -0500
Message-ID: <CAOS0dwDiHwuH+8pksf-AM_EMezm=gpMY_i_quCMAE9L+98+NvA@HIDDEN>
Content-Type: multipart/alternative; boundary="001a114159eea5c636055d6fce6b"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Mailman-Approved-At: Tue, 07 Nov 2017 22:19:08 -0500
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: -4.0 (----)

--001a114159eea5c636055d6fce6b
Content-Type: text/plain; charset="UTF-8"

According to the docstring of define-key, a cons of (MAP . CHAR) is a valid
key definition that will act as CHAR in MAP. This worked in previous
versions of Emacs but now causes an error when the keybinding is executed:
"Wrong type argument: commandp..."

Initial discussion took place here:
https://emacs.stackexchange.com/questions/36641/binding-a-key-to-map-char

--001a114159eea5c636055d6fce6b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>According to the docstring of define-key, a cons of (=
MAP . CHAR) is a valid key definition that will act as CHAR in MAP. This wo=
rked in previous versions of Emacs but now causes an error when the keybind=
ing is executed: &quot;Wrong type argument: commandp...&quot;</div><div><br=
></div><div>Initial discussion took place here: <a href=3D"https://emacs.st=
ackexchange.com/questions/36641/binding-a-key-to-map-char">https://emacs.st=
ackexchange.com/questions/36641/binding-a-key-to-map-char</a></div></div>

--001a114159eea5c636055d6fce6b--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Fox Kiester <foxkies@HIDDEN>
Subject: bug#29203: Acknowledgement (26.0.50; Binding a key to (MAP .
 CHAR) no longer works)
Message-ID: <handler.29203.B.151011115111638.ack <at> debbugs.gnu.org>
References: <CAOS0dwDiHwuH+8pksf-AM_EMezm=gpMY_i_quCMAE9L+98+NvA@HIDDEN>
X-Gnu-PR-Message: ack 29203
X-Gnu-PR-Package: emacs
Reply-To: 29203 <at> debbugs.gnu.org
Date: Wed, 08 Nov 2017 03:20:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 29203 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
29203: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29203
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29203: 26.0.50; Binding a key to (MAP . CHAR) no longer works
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 08 Nov 2017 15:00:01 +0000
Resent-Message-ID: <handler.29203.B29203.151015319811487 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29203
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Fox Kiester <foxkies@HIDDEN>, 29203 <at> debbugs.gnu.org
Received: via spool by 29203-submit <at> debbugs.gnu.org id=B29203.151015319811487
          (code B ref 29203); Wed, 08 Nov 2017 15:00:01 +0000
Received: (at 29203) by debbugs.gnu.org; 8 Nov 2017 14:59:58 +0000
Received: from localhost ([127.0.0.1]:58702 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eCRpd-0002zD-T1
	for submit <at> debbugs.gnu.org; Wed, 08 Nov 2017 09:59:58 -0500
Received: from aserp1040.oracle.com ([141.146.126.69]:31482)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1eCRpb-0002yz-Nm
 for 29203 <at> debbugs.gnu.org; Wed, 08 Nov 2017 09:59:56 -0500
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234])
 by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id
 vA8Exn54004483
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Wed, 8 Nov 2017 14:59:49 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235])
 by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id vA8ExmIb001822
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Wed, 8 Nov 2017 14:59:49 GMT
Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20])
 by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vA8ExmPv026439;
 Wed, 8 Nov 2017 14:59:48 GMT
MIME-Version: 1.0
Message-ID: <8aca0911-3eba-4c46-8a3c-fd3ec6ef5152@default>
Date: Wed, 8 Nov 2017 06:59:47 -0800 (PST)
From: Drew Adams <drew.adams@HIDDEN>
References: <CAOS0dwDiHwuH+8pksf-AM_EMezm=gpMY_i_quCMAE9L+98+NvA@HIDDEN>
In-Reply-To: <CAOS0dwDiHwuH+8pksf-AM_EMezm=gpMY_i_quCMAE9L+98+NvA@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4600.0 (x86)]
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Source-IP: aserv0022.oracle.com [141.146.126.234]
X-Spam-Score: -2.3 (--)
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 (--)

This is apparently a regression, introduced in Emacs 24.
The problem does not exist in Emacs 20 through Emacs 23.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29203: 26.0.50; Binding a key to (MAP . CHAR) no longer works
Resent-From: Stefan Kangas <stefan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 11 Nov 2019 02:34:02 +0000
Resent-Message-ID: <handler.29203.B29203.157343958927997 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29203
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Fox Kiester <foxkies@HIDDEN>
Cc: 29203 <at> debbugs.gnu.org, Drew Adams <drew.adams@HIDDEN>
Received: via spool by 29203-submit <at> debbugs.gnu.org id=B29203.157343958927997
          (code B ref 29203); Mon, 11 Nov 2019 02:34:02 +0000
Received: (at 29203) by debbugs.gnu.org; 11 Nov 2019 02:33:09 +0000
Received: from localhost ([127.0.0.1]:52942 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iTzVs-0007HU-Ri
	for submit <at> debbugs.gnu.org; Sun, 10 Nov 2019 21:33:09 -0500
Received: from host.gofardesign.uk ([208.79.239.190]:57943)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefan@HIDDEN>)
 id 1iTzVr-0007HA-49; Sun, 10 Nov 2019 21:33:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=0PCXVEssLaztRqZDijAwOeJNKWfgPsL4rXGFhrKluz4=; b=qPmcrKO6NyLmJQIvg/NAfImE2L
 ueGDYnio2+e57qxc5qNrYahjdxfpDk74nDQji+j7hXwgHYHHkL6+JFDvbUksQm6aO4XLQLhK8Od0S
 vP1djitkyXCKUk+7lyeSsK+grpyqzNK0Ov7gmfq5Iov/bDnRuzSNIWHgJQRMf9nE6jyU=;
Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:54506
 helo=localhost)
 by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.92) (envelope-from <stefan@HIDDEN>)
 id 1iTzVj-0005Lp-KR; Sun, 10 Nov 2019 20:33:01 -0600
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <CAOS0dwDiHwuH+8pksf-AM_EMezm=gpMY_i_quCMAE9L+98+NvA@HIDDEN>
 (Fox Kiester's message of "Tue, 7 Nov 2017 21:54:32 -0500")
References: <CAOS0dwDiHwuH+8pksf-AM_EMezm=gpMY_i_quCMAE9L+98+NvA@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Date: Mon, 11 Nov 2019 03:32:57 +0100
Message-ID: <87y2wnqh0m.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.gofardesign.uk
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - marxist.se
X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id:
 stefan@HIDDEN
X-Authenticated-Sender: host.gofardesign.uk: stefan@HIDDEN
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Spam-Score: -0.0 (/)
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 (-)

found 29203 27.0.50
thanks

Fox Kiester <foxkies@HIDDEN> writes:

> According to the docstring of define-key, a cons of (MAP . CHAR) is
> a valid key definition that will act as CHAR in MAP. This worked in
> previous versions of Emacs but now causes an error when the
> keybinding is executed: "Wrong type argument: commandp..."
>
> Initial discussion took place here: https://emacs.stackexchange.com/questions/36641/binding-a-key-to-map-char

I can reproduce this using:

0. (define-key global-map (kbd "C-c ,") (cons help-map ?r))
1. C-c ,

Drew Adams <drew.adams@HIDDEN> writes:

> This is apparently a regression, introduced in Emacs 24.
> The problem does not exist in Emacs 20 through Emacs 23.

So was the behaviour changed willingly?  That is, is this a bug in the
documentation or in the code?

Best regards,
Stefan Kangas




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


Received: (at control) by debbugs.gnu.org; 11 Nov 2019 02:33:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 10 21:33:09 2019
Received: from localhost ([127.0.0.1]:52944 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iTzVt-0007HW-3Y
	for submit <at> debbugs.gnu.org; Sun, 10 Nov 2019 21:33:09 -0500
Received: from host.gofardesign.uk ([208.79.239.190]:57943)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefan@HIDDEN>)
 id 1iTzVr-0007HA-49; Sun, 10 Nov 2019 21:33:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=0PCXVEssLaztRqZDijAwOeJNKWfgPsL4rXGFhrKluz4=; b=qPmcrKO6NyLmJQIvg/NAfImE2L
 ueGDYnio2+e57qxc5qNrYahjdxfpDk74nDQji+j7hXwgHYHHkL6+JFDvbUksQm6aO4XLQLhK8Od0S
 vP1djitkyXCKUk+7lyeSsK+grpyqzNK0Ov7gmfq5Iov/bDnRuzSNIWHgJQRMf9nE6jyU=;
Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:54506
 helo=localhost)
 by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.92) (envelope-from <stefan@HIDDEN>)
 id 1iTzVj-0005Lp-KR; Sun, 10 Nov 2019 20:33:01 -0600
From: Stefan Kangas <stefan@HIDDEN>
To: Fox Kiester <foxkies@HIDDEN>
Subject: Re: bug#29203: 26.0.50; Binding a key to (MAP . CHAR) no longer works
In-Reply-To: <CAOS0dwDiHwuH+8pksf-AM_EMezm=gpMY_i_quCMAE9L+98+NvA@HIDDEN>
 (Fox Kiester's message of "Tue, 7 Nov 2017 21:54:32 -0500")
References: <CAOS0dwDiHwuH+8pksf-AM_EMezm=gpMY_i_quCMAE9L+98+NvA@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Date: Mon, 11 Nov 2019 03:32:57 +0100
Message-ID: <87y2wnqh0m.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.gofardesign.uk
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - marxist.se
X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id:
 stefan@HIDDEN
X-Authenticated-Sender: host.gofardesign.uk: stefan@HIDDEN
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
Cc: 29203 <at> debbugs.gnu.org, Drew Adams <drew.adams@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.0 (-)

found 29203 27.0.50
thanks

Fox Kiester <foxkies@HIDDEN> writes:

> According to the docstring of define-key, a cons of (MAP . CHAR) is
> a valid key definition that will act as CHAR in MAP. This worked in
> previous versions of Emacs but now causes an error when the
> keybinding is executed: "Wrong type argument: commandp..."
>
> Initial discussion took place here: https://emacs.stackexchange.com/questions/36641/binding-a-key-to-map-char

I can reproduce this using:

0. (define-key global-map (kbd "C-c ,") (cons help-map ?r))
1. C-c ,

Drew Adams <drew.adams@HIDDEN> writes:

> This is apparently a regression, introduced in Emacs 24.
> The problem does not exist in Emacs 20 through Emacs 23.

So was the behaviour changed willingly?  That is, is this a bug in the
documentation or in the code?

Best regards,
Stefan Kangas




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29203: 26.0.50; Binding a key to (MAP . CHAR) no longer works
Resent-From: Drew Adams <drew.adams@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 11 Nov 2019 03:52:01 +0000
Resent-Message-ID: <handler.29203.B29203.157344428926291 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29203
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Kangas <stefan@HIDDEN>, Fox Kiester <foxkies@HIDDEN>
Cc: 29203 <at> debbugs.gnu.org
Received: via spool by 29203-submit <at> debbugs.gnu.org id=B29203.157344428926291
          (code B ref 29203); Mon, 11 Nov 2019 03:52:01 +0000
Received: (at 29203) by debbugs.gnu.org; 11 Nov 2019 03:51:29 +0000
Received: from localhost ([127.0.0.1]:53047 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iU0jg-0006pz-Lw
	for submit <at> debbugs.gnu.org; Sun, 10 Nov 2019 22:51:28 -0500
Received: from aserp2120.oracle.com ([141.146.126.78]:54426)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1iU0je-0006pk-TF
 for 29203 <at> debbugs.gnu.org; Sun, 10 Nov 2019 22:51:27 -0500
Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1])
 by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xAB3nGi0005978;
 Mon, 11 Nov 2019 03:51:20 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=mime-version :
 message-id : date : from : sender : to : cc : subject : references :
 in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05;
 bh=rhcSIsPapvfQqNsPGq5IdFMiWd4pQayE1AddW1a0EXE=;
 b=OiHp4KargjMsnty2DJ4ST9T3FXxA6SnQIfJ2Ur6RZs0H3ykxmYdmEj+tgGlCGo40pobg
 3NKAZZ0pKeZO7PQvmnfjv6ry/6ThmPcRwAjESbZA+I/u+KhAcdLIR9ZQhHrkbgvRoA2X
 gVXlBfg2qyFEsp3Z3q3jPLENqgVmMI0S2AKToKhg9TYdSs8oDnYlNLSJ58usv4BqAPbb
 8a1Mcw5HxLGZvij1C9FsBP2V8VHr0t/x0yR4noP56uGM47fHdCbTJ+BzeeHsJjsTGipd
 72UCvfDuNNroiNHrmZvw8TA8pd0UBFsPOAdRAjIz0W0YRebt7C1TfrVMVfAtvJJAmKjo VQ== 
Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71])
 by aserp2120.oracle.com with ESMTP id 2w5ndpvgsv-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Mon, 11 Nov 2019 03:51:20 +0000
Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1])
 by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xAB3i1SN137489;
 Mon, 11 Nov 2019 03:51:19 GMT
Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236])
 by aserp3030.oracle.com with ESMTP id 2w6r8h8bsf-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Mon, 11 Nov 2019 03:51:19 +0000
Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8])
 by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id xAB3pIqr005951;
 Mon, 11 Nov 2019 03:51:19 GMT
MIME-Version: 1.0
Message-ID: <3d022941-7208-4688-98d8-77ca3d8c8fb4@default>
Date: Mon, 11 Nov 2019 03:51:17 +0000 (UTC)
From: Drew Adams <drew.adams@HIDDEN>
References: <CAOS0dwDiHwuH+8pksf-AM_EMezm=gpMY_i_quCMAE9L+98+NvA@HIDDEN>
 <87y2wnqh0m.fsf@HIDDEN>
In-Reply-To: <87y2wnqh0m.fsf@HIDDEN>
X-Priority: 3
X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1  (1003210) [OL
 16.0.4900.0 (x86)]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9437
 signatures=668685
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0
 malwarescore=0
 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=679
 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.0.1-1910280000 definitions=main-1911110034
X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9437
 signatures=668685
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0
 priorityscore=1501 malwarescore=0
 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011
 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=770 adultscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1910280000
 definitions=main-1911110035
X-Spam-Score: -2.3 (--)
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: -3.3 (---)

> found 29203 27.0.50
> thanks
> =20
> I can reproduce this using:
>=20
> 0. (define-key global-map (kbd "C-c ,") (cons help-map ?r))
> 1. C-c ,
>=20
> > This is apparently a regression, introduced in Emacs 24.
> > The problem does not exist in Emacs 20 through Emacs 23.
>=20
> So was the behaviour changed willingly?  That is, is this a bug in the
> documentation or in the code?

Not sure whom you're asking (maybe anyone who knows?),
but IMO it's an (unannounced?) incompatible step
backward.  Stefan seems to have agreed that it's just
a code bug, in the cited emacs.SE comments.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#29203: 26.0.50; Binding a key to (MAP . CHAR) no longer works
Resent-From: Stefan Kangas <stefan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 11 Nov 2019 19:11:01 +0000
Resent-Message-ID: <handler.29203.B29203.157349940425879 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 29203
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Drew Adams <drew.adams@HIDDEN>
Cc: Fox Kiester <foxkies@HIDDEN>, 29203 <at> debbugs.gnu.org
Received: via spool by 29203-submit <at> debbugs.gnu.org id=B29203.157349940425879
          (code B ref 29203); Mon, 11 Nov 2019 19:11:01 +0000
Received: (at 29203) by debbugs.gnu.org; 11 Nov 2019 19:10:04 +0000
Received: from localhost ([127.0.0.1]:56007 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iUF4e-0006jK-8v
	for submit <at> debbugs.gnu.org; Mon, 11 Nov 2019 14:10:04 -0500
Received: from host.gofardesign.uk ([208.79.239.190]:47200)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefan@HIDDEN>) id 1iUF4b-0006ib-T4
 for 29203 <at> debbugs.gnu.org; Mon, 11 Nov 2019 14:10:02 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; 
 s=default;
 h=Content-Type:MIME-Version:Message-ID:Date:References:
 In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=E8Uu3q5qjYfTwRHiq/LScZeUtaSZDVhbctwxcaHkMWY=; b=GAX1gM19VMmnacb2Ueld7hh2Gq
 gSruYz5d+QllX1NGKOtscdksbPWVfoOE06Mj//LTPPd5tdoUArSrKMyC18DVxZhCZYrXCpEPT8yoU
 rj/9/+3Q5rRz/BDf0OvxO+XoGUVv5hwExtoyfqx94tH9C0NEDEMegCw7KnKqfxnIVJMk=;
Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:47506
 helo=localhost)
 by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
 (Exim 4.92) (envelope-from <stefan@HIDDEN>)
 id 1iUF4V-0001yu-1r; Mon, 11 Nov 2019 13:09:55 -0600
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <3d022941-7208-4688-98d8-77ca3d8c8fb4@default> (Drew Adams's
 message of "Mon, 11 Nov 2019 03:51:17 +0000 (UTC)")
References: <CAOS0dwDiHwuH+8pksf-AM_EMezm=gpMY_i_quCMAE9L+98+NvA@HIDDEN>
 <87y2wnqh0m.fsf@HIDDEN>
 <3d022941-7208-4688-98d8-77ca3d8c8fb4@default>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
Date: Mon, 11 Nov 2019 20:09:53 +0100
Message-ID: <87r22ensam.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse,
 please include it with any abuse report
X-AntiAbuse: Primary Hostname - host.gofardesign.uk
X-AntiAbuse: Original Domain - debbugs.gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - marxist.se
X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id:
 stefan@HIDDEN
X-Authenticated-Sender: host.gofardesign.uk: stefan@HIDDEN
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-Spam-Score: -0.0 (/)
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 (-)

Drew Adams <drew.adams@HIDDEN> writes:

> Not sure whom you're asking (maybe anyone who knows?),

Yes, anyone who knows.  Thanks for replying.

> but IMO it's an (unannounced?) incompatible step
> backward.  Stefan seems to have agreed that it's just
> a code bug, in the cited emacs.SE comments.

OK, unless anyone says something else, let's treat that as
authoritative.

Best regards,
Stefan Kangas





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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