GNU bug report logs - #71479
30.0.50; describe-key description incorrect when using input methods

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, 10 Jun 2024 17:02:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at 71479) by debbugs.gnu.org; 15 Jun 2024 14:34:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 15 10:34:38 2024
Received: from localhost ([127.0.0.1]:51032 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sIUUI-0001uw-0s
	for submit <at> debbugs.gnu.org; Sat, 15 Jun 2024 10:34:38 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:31150)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1sIUUG-0001uY-H1
 for 71479 <at> debbugs.gnu.org; Sat, 15 Jun 2024 10:34:36 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B8FB8807F5;
 Sat, 15 Jun 2024 10:34:28 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1718462067;
 bh=7/Jii+dGm4w1fzhRNjmsADvka709zJvbN/uE7ggMZQM=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=nBkTUwKt7c+QmcPd+WRDzpnb5xIIgREUANVLtbfGxdxiroxqRhcrNSbu8I8KSzSLc
 QYrvYePmpnbLPadPWQHimYZqWoJAT4q/3YSpM76l2TcnHxagfCmYrxM/r17/+ZX8Ki
 ps4mf+6uwEW0Vy0dMQMaE6QqHuVfNznzHA+XJgPa4tlpbqqxL8i6PLyR3mgp7ExdfF
 HvyGBi4ynIiPbVqKzmMudYV0D8BYLT/wLCORcyV2vl15Ac2HORMLf+n9wFaVSV9vpI
 8+9d2l2LIw+ZWrZHDh5si1jyCg0rQnsqhj276nwsPz8cDKKNDwla5X2DfSj3EvbrSV
 S6xfCikj1CvIQ==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 9356D8060F;
 Sat, 15 Jun 2024 10:34:27 -0400 (EDT)
Received: from pastel (unknown [24.140.236.196])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 668A012067A;
 Sat, 15 Jun 2024 10:34:27 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#71479: 30.0.50; describe-key description incorrect when
 using input methods
In-Reply-To: <86bk42v67p.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 15 Jun
 2024 13:41:14 +0300")
Message-ID: <jwvbk42i8gj.fsf-monnier+emacs@HIDDEN>
References: <875xughhlb.fsf@HIDDEN> <86bk42v67p.fsf@HIDDEN>
Date: Sat, 15 Jun 2024 10:34:26 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.098 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain T_SCC_BODY_TEXT_LINE    -0.01 -
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 71479
Cc: Robert Pluim <rpluim@HIDDEN>, 71479 <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: -3.3 (---)

>> C-h k z h
>> =3D>
>>     =D0=B6 (translated from h =D0=B6) runs the command

Eww.

>> This should say '*translated from z h)'. The underlying reason is that
>> quail.el messes around with `last-command-event', which confuses
>> describe-key.
> Right, it looks like the problem is in this-single-command-raw-keys,
> and more deeply in what we store in the raw_keybuf vector.

I don't have a deep enough understanding of all the elements in play to
have a good idea how to fix it.  All I can say is that IMO `raw_keybuf`
should never see =D0=B6 because that is simply not the "raw" input.


        Stefan





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

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


Received: (at 71479) by debbugs.gnu.org; 15 Jun 2024 10:41:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 15 06:41:27 2024
Received: from localhost ([127.0.0.1]:33852 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sIQqd-0004jW-Eg
	for submit <at> debbugs.gnu.org; Sat, 15 Jun 2024 06:41:27 -0400
Received: from eggs.gnu.org ([209.51.188.92]:59772)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sIQqa-0004j8-CV
 for 71479 <at> debbugs.gnu.org; Sat, 15 Jun 2024 06:41:25 -0400
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 <eliz@HIDDEN>)
 id 1sIQqT-0005Ix-Vr; Sat, 15 Jun 2024 06:41:17 -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=SZySUBjfWBp24ZsEm9mGHFyjHJNZXW1390sCXEA4Syo=; b=RNu6jdB1kIg7pcXaDwbS
 lmWgVpvHQ1jOXVVrk2JZvZHfI9wSM02hHfu44U3QiIE0Ip2gQwnmccG+r1f+Jdupg83Svzi0LPb9l
 IJEQJ5NFLd9FMCElgAT77GwO0fMIWchbYRASBoAo/YnR5CY72sjvCz/dKLVLYATOYvPRZdY+5yR7n
 w19uOu/VL5TXKrUAvy7Yjwcljj5IqtpLVSHJNwhBT63/pJJA5KF7ea7fS7GHeQ1XXRPBS+QykCshn
 DBaDzx/9KZe69LRHgJACQv0/uqfI7AIo1/YZu1jKy5FOW5ypUkYusQGZGjjuec3ZQhjUCaYf/4CXt
 1UIpf/oP33nLxw==;
Date: Sat, 15 Jun 2024 13:41:14 +0300
Message-Id: <86bk42v67p.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>, Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <875xughhlb.fsf@HIDDEN> (message from Robert Pluim on Mon, 10
 Jun 2024 18:45:36 +0200)
Subject: Re: bug#71479: 30.0.50;
 describe-key description incorrect when using input methods
References: <875xughhlb.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 71479
Cc: 71479 <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: -3.3 (---)

> From: Robert Pluim <rpluim@HIDDEN>
> Date: Mon, 10 Jun 2024 18:45:36 +0200
> 
> 
> emacs -Q
> C-u C-\ cyrillic-translit
> C-h k z h
> 
> =>
>     ж (translated from h ж) runs the command
>     self-insert-command (found in global-map), which is an interactive
>     primitive-function in ‘C source code’.
> 
> This should say '*translated from z h)'. The underlying reason is that
> quail.el messes around with `last-command-event', which confuses
> describe-key.
> 
> I doubt this issue is confined to this particular input method.

Right, it looks like the problem is in this-single-command-raw-keys,
and more deeply in what we store in the raw_keybuf vector.

Stefan, any suggestions for how we could fix this?




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

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


Received: (at 71479) by debbugs.gnu.org; 11 Jun 2024 20:21:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 11 16:21:56 2024
Received: from localhost ([127.0.0.1]:36341 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sH80C-0002eN-Do
	for submit <at> debbugs.gnu.org; Tue, 11 Jun 2024 16:21:56 -0400
Received: from out-183.mta1.migadu.com ([95.215.58.183]:62674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jb@HIDDEN>) id 1sH809-0002e9-Mp
 for 71479 <at> debbugs.gnu.org; Tue, 11 Jun 2024 16:21:54 -0400
X-Envelope-To: 71479 <at> debbugs.gnu.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net;
 s=key1; t=1718137307;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=afqFY5+caO8wcJCgqCZ4rj5CT+Tx6YIMzSGXw90reyo=;
 b=MZOhzlOnCvgtlLwnD7pM8kJgEKXbHkwBpuEvUWjlTyA2MDJnB9zpwZThLu1nnMTYnEQFMy
 zgCTvtO1fet7OvncAUkqSQfdNE4uztNPRO7McyjmvQ25q0/kVUjqj8apXTIYB+ToS37hiC
 oT6q6gtz44///wzt8prAdcI6fo0OeYZAmGB0YuoLiTUWkVNJkcEbUs3Z5kIMkRTT2h1ppE
 EpMtMhq1sxSDJYdqQ3DLeISCR/CTKPB470ubA62aF05t37sSPfjXRodzydJ5fmDtWSkDNL
 VwgN69sd9yIFO0WKBvKc9uJ1niZrVHtdtxmHLk36kD29afb8A5iL/vkTWr3dww==
X-Envelope-To: rpluim@HIDDEN
References: <875xughhlb.fsf@HIDDEN> <87ikyg78x9.fsf@HIDDEN>
 <871q54gcgz.fsf@HIDDEN>
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Jeremy Bryant <jb@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#71479: 30.0.50; describe-key description incorrect when
 using input methods
Date: Tue, 11 Jun 2024 21:18:02 +0100
In-reply-to: <871q54gcgz.fsf@HIDDEN>
Message-ID: <87sexjdycn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71479
Cc: 71479 <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 (-)


Robert Pluim <rpluim@HIDDEN> writes:

>>>>>> On Mon, 10 Jun 2024 23:02:58 +0100, Jeremy Bryant <jb@HIDDEN=
et> said:
>
>     Jeremy> Robert Pluim <rpluim@HIDDEN> writes:
>     >> emacs -Q
>     >> C-u C-\ cyrillic-translit
>     >> C-h z h
>
>     Jeremy> When testing, I get
>     Jeremy> C-h z is undefined
>
> Because I messed up the key binding, it should be 'C-h k z'
>
> Robert

As I test this (on 29.3), the result is:

=D0=B7 (translated from <return> =D0=B7) runs the command self-insert-comma=
nd




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

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


Received: (at 71479) by debbugs.gnu.org; 11 Jun 2024 16:10:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 11 12:10:03 2024
Received: from localhost ([127.0.0.1]:35905 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sH44R-0001Ge-FO
	for submit <at> debbugs.gnu.org; Tue, 11 Jun 2024 12:10:03 -0400
Received: from mail-pl1-f172.google.com ([209.85.214.172]:45107)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1sH44P-0001G0-1W
 for 71479 <at> debbugs.gnu.org; Tue, 11 Jun 2024 12:10:01 -0400
Received: by mail-pl1-f172.google.com with SMTP id
 d9443c01a7336-1f4a0050b9aso48360485ad.2
 for <71479 <at> debbugs.gnu.org>; Tue, 11 Jun 2024 09:10:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1718122137; x=1718726937; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=lDYsxKlxjM7zEFoRG0fn58+MOhjPyQWQKOMpQGRNx4I=;
 b=Wb0xvv118aLQi4hAdE9L3MK5xaaWugcQsNpmAvG8Egv70ey+MuqYCbPqxMXQlFWAta
 NMVLXmR5sx+FKHhXM2WVdgy2c5OG7v11Wn5LWf6L57ESu/vmFMgjr/H0SZ9mW+mVPRVO
 03XXeLMkok1pEZTVSMD0yHd2QRPQktrm5pJjQaMMCdoT9Am+piIBj0IgJO7rc1u617zg
 2heI+DQjJxab6LJq+sbfRoM9KQEn7BXZqOybdQ5Ng2Q/gi2rqoVyR3DNVLvTRbOj56+N
 sbzg7FNvODdJDgPQgi/vygggY938hAat2NZ/CWETE/Q05VyV4kOwdYMCNn+SQ3gilmo8
 i4cQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1718122137; x=1718726937;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=lDYsxKlxjM7zEFoRG0fn58+MOhjPyQWQKOMpQGRNx4I=;
 b=aEcD+5A4OU9pblXmlPMJyN9X54eOf00BURCWu3y50ToOSLaSlYmfq6R59BP6qRUxoG
 EoEnh8lW3mEu6Z99jbaOzq0VFIAP43KxnNqOC/TdcwUVPUxTfjCQZFjtJT+Osnmdvt8X
 sallKK8PQMiwtmNBGOQ67pu99TkMHKTKrbWVJ5UVcSJOL4ciXQwFfon6oOaUmZj8Oazt
 kNHq8hgJl1MU0yge/mj5IzeSzYRR1A8oWTqV2fSOVi5KMwvaBi3FssQtlaVXI23ZOu4L
 hDXhxqwaLoBvdph838aDR83COR5wGGj9ctq244OruaPl5ToyDmOKNfA5QJHulap8pLox
 gbDQ==
X-Gm-Message-State: AOJu0YwgKeA1jhWEYC8YFE8PPOxgiZRubDrfEyKl1K3OXdOT7lwHB1sC
 YtQhbfNEI6zeMamIY/mZWyjHvBq2Hhq/3/1w/fwxqfH08y5Fgj5odM8qXg==
X-Google-Smtp-Source: AGHT+IEeG2BvInwV7RHDAGX2KZDw2ZJMw5ElqXeizPfIS72QESXuVvcJM2W7CE921OBjEzr/wfwRHg==
X-Received: by 2002:a05:6214:5982:b0:6b0:7ceb:3070 with SMTP id
 6a1803df08f44-6b07ceb32b9mr48381926d6.17.1718091231332; 
 Tue, 11 Jun 2024 00:33:51 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 6a1803df08f44-6b082239be3sm14483316d6.17.2024.06.11.00.33.50
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 11 Jun 2024 00:33:50 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Jeremy Bryant <jb@HIDDEN>
Subject: Re: bug#71479: 30.0.50; describe-key description incorrect when
 using input methods
In-Reply-To: <87ikyg78x9.fsf@HIDDEN> (Jeremy Bryant's message of
 "Mon, 10 Jun 2024 23:02:58 +0100")
References: <875xughhlb.fsf@HIDDEN> <87ikyg78x9.fsf@HIDDEN>
Date: Tue, 11 Jun 2024 09:33:48 +0200
Message-ID: <871q54gcgz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71479
Cc: 71479 <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, 10 Jun 2024 23:02:58 +0100, Jeremy Bryant <jb@HIDDEN> said:

    Jeremy> Robert Pluim <rpluim@HIDDEN> writes:
    >> emacs -Q
    >> C-u C-\ cyrillic-translit
    >> C-h z h

    Jeremy> When testing, I get
    Jeremy> C-h z is undefined

Because I messed up the key binding, it should be 'C-h k z'

Robert
-- 




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

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


Received: (at 71479) by debbugs.gnu.org; 11 Jun 2024 15:52:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 11 11:52:38 2024
Received: from localhost ([127.0.0.1]:35832 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sH3na-0000jG-0L
	for submit <at> debbugs.gnu.org; Tue, 11 Jun 2024 11:52:38 -0400
Received: from out-180.mta0.migadu.com ([91.218.175.180]:41312)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jb@HIDDEN>) id 1sH3nX-0000ix-F7
 for 71479 <at> debbugs.gnu.org; Tue, 11 Jun 2024 11:52:36 -0400
X-Envelope-To: 71479 <at> debbugs.gnu.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeremybryant.net;
 s=key1; t=1718056981;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=EvC5KBEEG/7yjNXh0oP2TRqrZBJ2OcVGKqEp88f2h6k=;
 b=e9n08QOOFO/etyR5jhQovnUnnKwazJdDv22xvkDvr5qtplj3wbQGTIgXVjJBuOwyevjWBY
 5IPveSYv9Po9xHXOkanVpTxT86hMW9WOICoMDyUXGa9HKXW7/uFyaxoXGZ0AaqeClH1Pb/
 tGktQkmy1UDu7q89b2hY66x5Bni0QP0AuXmI6UuPt9JmXpKuHuRWTyF6w0krwjMLlH0d/A
 fwLrz5ia0U6c2pIqiIYNCPQhU/ZQrZ+xx09nWbbPQT9bgTJg8H/V/4RFXuXS4ZI/iiQ3K0
 Qz8Nk5H1Ni7Pf7/cvebvon7PP1mqHLY6FMARKQzKMESIqibjKrccLpGqXV73OA==
X-Envelope-To: rpluim@HIDDEN
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
From: Jeremy Bryant <jb@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#71479: 30.0.50; describe-key description incorrect when
 using input methods
In-Reply-To: <875xughhlb.fsf@HIDDEN> (Robert Pluim's message of "Mon, 10
 Jun 2024 18:45:36 +0200")
References: <875xughhlb.fsf@HIDDEN>
Date: Mon, 10 Jun 2024 23:02:58 +0100
Message-ID: <87ikyg78x9.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: 0.8 (/)
X-Debbugs-Envelope-To: 71479
Cc: 71479 <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.2 (/)

Robert Pluim <rpluim@HIDDEN> writes:

> emacs -Q
> C-u C-\ cyrillic-translit
> C-h z h

When testing, I get
C-h z is undefined

>
> =3D>
>     =D0=B6 (translated from h =D0=B6) runs the command
>     self-insert-command (found in global-map), which is an interactive
>     primitive-function in =E2=80=98C source code=E2=80=99.
>
> This should say '*translated from z h)'. The underlying reason is that
> quail.el messes around with `last-command-event', which confuses
> describe-key.
>
> I doubt this issue is confined to this particular input method.
>
> Robert




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

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


Received: (at submit) by debbugs.gnu.org; 10 Jun 2024 17:01:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 10 13:01:50 2024
Received: from localhost ([127.0.0.1]:46851 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sGiP0-0006AX-0o
	for submit <at> debbugs.gnu.org; Mon, 10 Jun 2024 13:01:50 -0400
Received: from lists.gnu.org ([209.51.188.17]:33972)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1sGiOv-00069Y-Vg
 for submit <at> debbugs.gnu.org; Mon, 10 Jun 2024 13:01:46 -0400
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 <rpluim@HIDDEN>) id 1sGi9O-0007qu-2b
 for bug-gnu-emacs@HIDDEN; Mon, 10 Jun 2024 12:45:47 -0400
Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <rpluim@HIDDEN>) id 1sGi9L-0002wC-Ln
 for bug-gnu-emacs@HIDDEN; Mon, 10 Jun 2024 12:45:41 -0400
Received: by mail-wr1-x42a.google.com with SMTP id
 ffacd0b85a97d-35f23f3da44so1198753f8f.0
 for <bug-gnu-emacs@HIDDEN>; Mon, 10 Jun 2024 09:45:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1718037937; x=1718642737; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=qoel8Jj4DizbNDSwYO54WDUP/j0tHMDLyAVodirb1Ek=;
 b=QpAofSY6HNNhWi9DDyus9+obpsiEdDQTNUj7zAEh/ObqonNhu8wEZHsWhSd8r5LO9+
 aFkN6BKKo3CGqM1OYnuzsd4rMtYubOaglJqUsuwXXg6q0JyLpfD9jpQ8/uhASYX+OCna
 Qp9gTsbWWiTDhONVbD5sCNDgkJ395HvzeN9Kapl/o4XjwnsQucbu078gzLy9eIz9raBj
 uFPFCPeXD4mLAVZ8QDB+sgqgMBLkJutShB84frIiekBHETsUMHaXSzFKX7ujYNk7Zs8T
 +JHypof7Yn+L8nIOHkBVRKKNhWK0MA0FssehrLCbtyGVwl0UKBiC7XW/5XOZn8h1p4KU
 n0JA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1718037937; x=1718642737;
 h=content-transfer-encoding:mime-version:message-id:date:subject:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=qoel8Jj4DizbNDSwYO54WDUP/j0tHMDLyAVodirb1Ek=;
 b=OW2OcKAxP9tsU/WbeqPSg6TPHMW1dK6/Ik+VKeVrnzDpfg1zofHQmN+/Qr4P+XNBtw
 wbIsjKT/AMNaHwvOAI+qmtO4e2HdTYQFt4mLbvh4wi6jdepqTXM1cGuPyyMJCcAMzqo9
 fSZgNDJj1FLcDkWlTxaREPRuIusNpD4kGHlQhHutqhfOKLbE72mp3srQXrYs99m2S/8Z
 AsevKsyGxrzbjtM4FysmexUT20NYFHi0ek6GNY9liy8DD/VtVdaUdnT63QexOoK1J41f
 m/RioRctORDcFR9mV6umCfECnrRviNMpFX7xsfCtPzs+K9HZjaUEN2PvAw6RvaUbk5qS
 LkzQ==
X-Gm-Message-State: AOJu0Yw9G3O3STEGZAUPCBqIevoQSRLu+5rqKOgGygYDtjcqX321mH9N
 aYULfyxuiqWIOsT7ooBWffftyQkiOswDgp6eCNgJiKK/Tc4a3Dds5xCysA==
X-Google-Smtp-Source: AGHT+IFLOBvv1YAi7MLjJGZx90+Zjc7Sw1JfZv48hyeMSZPX9Ms3sTZlqHVgRbrt5K6LTqZqRROmbg==
X-Received: by 2002:a5d:554f:0:b0:35f:1c9b:ff04 with SMTP id
 ffacd0b85a97d-35f1c9bff52mr3547969f8f.45.1718037937366; 
 Mon, 10 Jun 2024 09:45:37 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-35ef5fc3197sm11580679f8f.101.2024.06.10.09.45.36
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 10 Jun 2024 09:45:37 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; describe-key description incorrect when using input methods
X-Debbugs-No-Ack: yes
X-Debbugs-Cc: 
Date: Mon, 10 Jun 2024 18:45:36 +0200
Message-ID: <875xughhlb.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::42a;
 envelope-from=rpluim@HIDDEN; helo=mail-wr1-x42a.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,
 T_SCC_BODY_TEXT_LINE=-0.01 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 (--)


emacs -Q
C-u C-\ cyrillic-translit
C-h z h

=3D>
    =D0=B6 (translated from h =D0=B6) runs the command
    self-insert-command (found in global-map), which is an interactive
    primitive-function in =E2=80=98C source code=E2=80=99.

This should say '*translated from z h)'. The underlying reason is that
quail.el messes around with `last-command-event', which confuses
describe-key.

I doubt this issue is confined to this particular input method.

Robert
--=20




Report forwarded to bug-gnu-emacs@HIDDEN:
bug#71479; 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: Sat, 15 Jun 2024 14:45:02 UTC

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