From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Spencer Baugh 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: Thu, 06 Apr 2023 09:07:46 -0400 Message-ID: References: <83bkk1qlhi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2686"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 62626@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 06 15:08:18 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 1pkPLe-0000RX-Ll for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Apr 2023 15:08:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkPLQ-0003Yu-K8; Thu, 06 Apr 2023 09:08:04 -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 1pkPLO-0003Yj-MP for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 09:08:02 -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 1pkPLO-0004OO-DD for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 09:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pkPLN-0001Cp-MZ for bug-gnu-emacs@gnu.org; Thu, 06 Apr 2023 09:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Spencer Baugh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Apr 2023 13:08:01 +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.16807864774625 (code B ref 62626); Thu, 06 Apr 2023 13:08:01 +0000 Original-Received: (at 62626) by debbugs.gnu.org; 6 Apr 2023 13:07:57 +0000 Original-Received: from localhost ([127.0.0.1]:53647 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkPLI-0001CV-JX for submit@debbugs.gnu.org; Thu, 06 Apr 2023 09:07:56 -0400 Original-Received: from mxout1.mail.janestreet.com ([38.105.200.78]:36587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pkPLD-0001CD-SU for 62626@debbugs.gnu.org; Thu, 06 Apr 2023 09:07:55 -0400 In-Reply-To: <83bkk1qlhi.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 06 Apr 2023 14:49:13 +0300") 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:259324 Archived-At: Eli Zaretskii writes: >> From: Spencer Baugh >> Date: Sun, 02 Apr 2023 15:06:53 -0400 >> >> describe-key is also broken with context-menu-mode in a different way, >> btw. It generates the help buffer fine, but the last key in the >> sequence is wrong. It looks like read-key-sequence returns a numeric >> index into the menu for that key, counting up from from the last menu >> entry and starting at 1, and then the help buffer is interpreting that >> number as a key. > > Please provide a recipe (and perhaps report this as a different bug, > unless my proposed solution happens to fix this one as well, by sheer > luck). > > Thanks. Ah I wasn't clear, it's also an issue with yank-menu. Probably basically the same bug? Recipe: 1. emacs -Q 2. M-x context-menu-mode RET 3. Type "foobar" and kill it 4. C-h k and right click, then "Paste from Kill Menu", then "(any string)". 5. Observe the help buffer claims the key sequence was: C-a