From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62626: 29.0.60; describe-key errors on Edit =?UTF-8?Q?=E2=86=92?= Paste from Kill Ring =?UTF-8?Q?=E2=86=92?= [any item] Date: Sat, 08 Apr 2023 20:13:25 +0300 Message-ID: <83fs9amh56.fsf@gnu.org> References: <83cz4hqljl.fsf@gnu.org> <83ttxqmtmo.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="411"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@janestreet.com, 62626@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 08 19:13:26 2023 Return-path: Envelope-to: geb-bug-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 1plC7x-000AVg-W0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 Apr 2023 19:13:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1plC7d-0000uo-O6; Sat, 08 Apr 2023 13:13:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plC7a-0000uA-UP for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 13:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1plC7a-0004HN-M8 for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 13:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1plC7a-00041N-5V for bug-gnu-emacs@gnu.org; Sat, 08 Apr 2023 13:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Apr 2023 17:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62626 X-GNU-PR-Package: emacs Original-Received: via spool by 62626-submit@debbugs.gnu.org id=B62626.168097398015449 (code B ref 62626); Sat, 08 Apr 2023 17:13:02 +0000 Original-Received: (at 62626) by debbugs.gnu.org; 8 Apr 2023 17:13:00 +0000 Original-Received: from localhost ([127.0.0.1]:59431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plC7X-000417-QY for submit@debbugs.gnu.org; Sat, 08 Apr 2023 13:13:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1plC7V-00040u-HR for 62626@debbugs.gnu.org; Sat, 08 Apr 2023 13:12:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plC7P-0004Ge-RO; Sat, 08 Apr 2023 13:12:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=yMgH16HfX75mmYzhG38lKH3bNmh1CfK8u75tXdzY220=; b=FeUhgYCAghICDRxZA1YJ I2Zr5gDDucrKcowIWDmmaVJfeYJUBKQ8d+CggLLyY9VCedzfCIBPP6CxKLOST3NaACdsrUFgmwc3R hyWQDsuma4RSRWN0hSJY1MkBJiwEXYZAA3cJSQ39uxyzv7M8dopDD2Ub+CP8JXOBMtx748eG3zCS0 vmHfHeOeZbs4ppnYr3qTxeFgEjf1NRVjDqibcO2HqQ9fGzvYU9C3pCPnP7I00iVV700faM4LSffCd lX5JFqq1jA0xj7eRIt4cUouZYZEQw1Qc6psj+vrHueTWfuukud1zvsybXYecEOJPnYi9xgUH8e6tP 0LdQ+j7cLbJsdg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1plC7P-0003Vj-04; Sat, 08 Apr 2023 13:12:51 -0400 In-Reply-To: (message from Stefan Monnier on Sat, 08 Apr 2023 11:42:40 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:259485 Archived-At: > From: Stefan Monnier > Cc: sbaugh@janestreet.com, 62626@debbugs.gnu.org > Date: Sat, 08 Apr 2023 11:42:40 -0400 > > > Aren't those integer indices the reason why the recipe below: > > > > emacs -Q > > M-x context-menu-mode RET > > Type "foobar" and kill it > > C-h k and right click, then "Paste from Kill Menu", then select string > > Observe the help buffer claims the key sequence was: > > C-a > > ^^^ > > shows the bogus "C-a" at the end of the sequence? > > Indeed. We should probably use something > like (intern (format "entry-%d" i)) to avoid confusion. Done. > `context-menu-mode` code has a few other differences with the "normal" > menu (e.g. it fails to truncate long strings, etc...), so we should > consolidate the two codes to keep the best of each. Well, each of these two approaches has its ugly aspects, so...