GNU bug report logs - #71411
30.0.50; Show Unicode names when describing translations

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; Severity: wishlist; Reported by: Robert Pluim <rpluim@HIDDEN>; Keywords: patch; dated Fri, 7 Jun 2024 10:34:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) patch. Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 71411) by debbugs.gnu.org; 10 Jun 2024 15:12:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 10 11:12:20 2024
Received: from localhost ([127.0.0.1]:40742 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sGgh1-0003bk-PA
	for submit <at> debbugs.gnu.org; Mon, 10 Jun 2024 11:12:20 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47768)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sGggv-0003Zs-1i
 for 71411 <at> debbugs.gnu.org; Mon, 10 Jun 2024 11:12:13 -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 1sGeER-0007ym-Nu; Mon, 10 Jun 2024 08:34:39 -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=uT9yqrYiw8c/5eqNShJkowmm/li7kKzwGr1Q3/IXj+0=; b=aqV7eXKTMlN1ST95W3vk
 2Ww5lnC/BjUOZ31g793RYO4o4/jOdFe73lVuqgGVCXVnv/3Vgk3Pf77/Hc31IZBdmagOdsq7+5+uD
 FqtwY+VmWx6jcgwlf2mew/DPu0tMBbjxJYIGLVsxwM28pCE4KMSKYHKrxbVC9RfFTt31h59pQ3uLU
 kwaboiz7G+qqqFggI59Zin6gepRE+mqquFFw8U//qmrrJ8Y3RGwPAKD3J6eFrok+GP5X5o1ehZ/Ep
 FmLETK8coeotkEDEe3UdRu2IKQzg8+E/29+Q6wfJMHaVDcNaO7ScXP+86J7xrNzhI4PccaaILE29v
 aeTp+lwoRX5vIA==;
Date: Mon, 10 Jun 2024 15:34:35 +0300
Message-Id: <86wmmx7z8k.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87msntgofo.fsf@HIDDEN> (message from Robert Pluim on Mon, 10
 Jun 2024 11:03:07 +0200)
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
 <874ja5hrrt.fsf@HIDDEN> <864ja4g992.fsf@HIDDEN>
 <87zfrwhmox.fsf@HIDDEN> <86a5jvd0uf.fsf@HIDDEN> <87msntgofo.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: 71411
Cc: 71411 <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>
> Cc: 71411 <at> debbugs.gnu.org
> Date: Mon, 10 Jun 2024 11:03:07 +0200
> 
> >>>>> On Sat, 08 Jun 2024 16:24:08 +0300, Eli Zaretskii <eliz@HIDDEN> said:
> 
>     Eli> Are there any other cases of "translated characters", besides "C-x 8"?
>     Eli> If so, please mention one or two more.  If there are no other
>     Eli> examples, I'd remove "such as".
> 
> iso-transl.el is (almost) the only thing that uses
> `key-translation-map' (the other is 'double.el', but thatʼs really
> niche). I can mention the other prefixes.
> 
> -- >8 --
> *** 'C-h k' ('describe-key') shows Unicode name.
> For keybindings which produce single characters via translation (such as
> those using the 'C-x 8' or 'A-' prefix, or 'dead-acute', 'dead-grave',
> etc), 'C-h k' now shows the Unicode name of the produced character in
> addition to the character itself, e.g.
> 
> 'C-h k C-x 8 E' =>
> 
>     € 'EURO SIGN' (translated from C-x 8 E)
> 
> *** 'C-h b' ('describe-bindings') shows Unicode names.
> For keybindings which produce single characters via translation, the
> Unicode names will now be shown in addition to the character itself,
> i.e.
> 
>     A-!			¡	INVERTED EXCLAMATION MARK
>     A-$			¤	CURRENCY SIGN
> 
> and so on.

What about characters produced by input methods?  For example:

  C-u C-\ cyrillic-translit RET
  C-h k z h =>

    ж (translated from h ж) runs the command self-insert-command

(which, btw, uncovers a bug, since "h ж" is bogus and should be "z h"
instead).




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

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


Received: (at 71411) by debbugs.gnu.org; 10 Jun 2024 13:29:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 10 09:29:15 2024
Received: from localhost ([127.0.0.1]:33628 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sGf5H-0006m0-0q
	for submit <at> debbugs.gnu.org; Mon, 10 Jun 2024 09:29:15 -0400
Received: from mail-wm1-f47.google.com ([209.85.128.47]:49290)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1sGf5F-0006lh-2J
 for 71411 <at> debbugs.gnu.org; Mon, 10 Jun 2024 09:29:13 -0400
Received: by mail-wm1-f47.google.com with SMTP id
 5b1f17b1804b1-421820fc26dso10243815e9.2
 for <71411 <at> debbugs.gnu.org>; Mon, 10 Jun 2024 06:28:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1718026070; x=1718630870; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=U/+o1r9DMsvjmPD4hszjaxuJyzCOZIFf7FYUTLfJswg=;
 b=Gw8Amwn2GR3MyBwUPjggGU0ucNmh4tPhpmV7poq9v6rYeXVX6tRoZPI7+ZUKsaAJVi
 9K0g4zlXB853+8hKAk/CWuioAVdKjlaGyEf2ljLCT6vT8zPIiTXTGmetvzfhIZR2+W0a
 1Rh+gQ3s3q8wTdr9yc9y+oOnm0bLm2o/RJ/MODUIS41KmGRcjBS2wSpoztpoXrDQmjAC
 sKmHMrS+Vv74GGrwIhu10wJKzsbdh3ouSSCuD8lHbxvlqwlXaFed2+ymvrAtdELoyq1s
 cDFfddws2+ik5Oc5WH/vTKm1eU4Vm+KpRYusZSAA/brdjaniOhfB/H4OEJcIpZV/kdVb
 +TVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1718026070; x=1718630870;
 h=content-transfer-encoding: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=U/+o1r9DMsvjmPD4hszjaxuJyzCOZIFf7FYUTLfJswg=;
 b=VyJpwy4lgiK/hsb9w1WwXrMo+lMwQFmtNr86g0WdQgyvGTDc/ySBU3HpXb6S8KW9t6
 IpUhs0kdAoQnYWmxDYzVebV2fyzC4KJn5qpEEU+x13iFb7KDEyhEazHs81qdccBoZFnF
 tk1QL5CqvVy4eAqO/VkRAACeQwAw2Ga4q8aPIUN+1SaUmb8nyvkZv/C4EF427/yVvQ0E
 k7Wib3xU9UuaEMBlkbeKGFX4ePTzdK2p+q3Hf2ibO+CjtKNCzsbpCYTWRRE0ewKa1cEW
 PEcYhIUrNbZw0x2FA24/M0RvYjl7Y9aAz5lj9tJ5NhXT7y/hhtxWLUQQ3z9jJ92cAKRf
 y6Zw==
X-Gm-Message-State: AOJu0YwG37W7UdLSWnKNzirvAttrEkly8ftKbivop1xDIP5Gc+z1jH0c
 dGSHZ2mJNC6RxrKH9L/NROZgDrg+DDeDmCNgzgGg9MkkouI+ToStMJiJew==
X-Google-Smtp-Source: AGHT+IGPDsgBldQqHInLpzE2NXwyWJxT/0DT/LTIw/D6kIEsKXOYNHzsQIY4boaqjHGA9DbvF1Q6Vg==
X-Received: by 2002:a05:600c:3b08:b0:421:bb51:d605 with SMTP id
 5b1f17b1804b1-421bb51d71dmr26988395e9.6.1718024513367; 
 Mon, 10 Jun 2024 06:01:53 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4215814e7cbsm176714685e9.39.2024.06.10.06.01.52
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 10 Jun 2024 06:01:52 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
In-Reply-To: <86wmmx7z8k.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 10 Jun
 2024 15:34:35 +0300")
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
 <874ja5hrrt.fsf@HIDDEN> <864ja4g992.fsf@HIDDEN>
 <87zfrwhmox.fsf@HIDDEN> <86a5jvd0uf.fsf@HIDDEN>
 <87msntgofo.fsf@HIDDEN> <86wmmx7z8k.fsf@HIDDEN>
Date: Mon, 10 Jun 2024 15:01:51 +0200
Message-ID: <87ikyhgdds.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71411
Cc: 71411 <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 15:34:35 +0300, Eli Zaretskii <eliz@HIDDEN> said:

    Eli> What about characters produced by input methods?  For example:

    Eli>   C-u C-\ cyrillic-translit RET
    Eli>   C-h k z h =3D>

    Eli>     =D0=B6 (translated from h =D0=B6) runs the command self-insert=
-command

I completely forgot to check input methods, it works there as well:

    =D0=B6 'CYRILLIC SMALL LETTER ZHE' (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.

I=CA=BCll put that in the NEWS entry.

    Eli> (which, btw, uncovers a bug, since "h =D0=B6" is bogus and should =
be "z h"
    Eli> instead).

Right, but that=CA=BCs a separate issue.

Robert
--=20




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

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


Received: (at 71411) by debbugs.gnu.org; 10 Jun 2024 09:04:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 10 05:04:34 2024
Received: from localhost ([127.0.0.1]:47272 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sGax7-00058U-P6
	for submit <at> debbugs.gnu.org; Mon, 10 Jun 2024 05:04:34 -0400
Received: from mail-wm1-f53.google.com ([209.85.128.53]:60762)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1sGax5-000585-Ld
 for 71411 <at> debbugs.gnu.org; Mon, 10 Jun 2024 05:04:32 -0400
Received: by mail-wm1-f53.google.com with SMTP id
 5b1f17b1804b1-42198492353so6128175e9.1
 for <71411 <at> debbugs.gnu.org>; Mon, 10 Jun 2024 02:04:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1718010189; x=1718614989; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=IrhvXGyKRtbTIdf0MxGCF1GQ207vaa+qNV93+Z6Z20U=;
 b=iejBEhfvyAqykQbi7gXySbllY0K+S4oJrZaRhE9k0cU/fAIkLQ2rhjLgYtBUVdXNgw
 xxDx5p5VFbFeoA/8vSYEJNRgOnXVE+tRA2a8OFdpFS4DoHHTxngtoMcQx6ecmXywMJJf
 EvEBhJnZfHcxwI151HlsOaWSKd5/9Nls/wxEAwFlNt+yCydKiUU7YCTiXzkpm/LwTBB4
 bgkh9SfyJk2ibdNCjPWtGTGz4T53EO1oDWIfchNf9yDYUzS52EXW8MGVHss0QjuEaaig
 k5Az3hzZ1MxI9xeJWVN3619BOjttFJdma32o9UV2MQd3ZdEe0M4aIsIADTXOgY8o8P+6
 u2Bg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1718010189; x=1718614989;
 h=content-transfer-encoding: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=IrhvXGyKRtbTIdf0MxGCF1GQ207vaa+qNV93+Z6Z20U=;
 b=MjSnGAZpyS2UefNpOU20Xs96ufziYFdC2ojW7FjsYeZ2yxXfOCZn5k5kHvJ1D9mP8b
 r6kx4YwwpvsOFaTo3ziseOGC5Gm50edg9/BbsrfJVECoZshJvsRMNJrFTuDM8c6+LlBJ
 W1+LS6fqnpncTLtyX2ZkOcCKtEgr5cPChb70VpYtnbUPLCD/QRpdC2Whw950ezI4D7WB
 3UsDsUgPudb7uR0roIbtf/uj/ZzJCKTBA7DZBCozXu4LvQhuRQ+kYz/PdapdiuEDmd3N
 57Iq5LRkwc8WMm9zMtVAIkjYwQb+F5zw75qC6UBT/wz64Cg9NUUDqkVRAi+CecinjkFO
 0V8w==
X-Gm-Message-State: AOJu0YxnYAEx+hVY4kN6uIG4b689xG05qVrKdN3QgG98hC2868NqmDrS
 h+PF6xwTpmrpoD8G6p6TXX1SBjh0IIZllbJSBHQ8ecurStplstS8082gCQ==
X-Google-Smtp-Source: AGHT+IEQArpotQl36Y2MlKRycq5Sa4JE4rfS74eC2JDChysDt5uQhM3UzcoopAd849cYfwIHx8q4Ng==
X-Received: by 2002:a05:600c:4f88:b0:421:920d:dfae with SMTP id
 5b1f17b1804b1-421920de0c8mr20985085e9.13.1718010188462; 
 Mon, 10 Jun 2024 02:03:08 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-421d9d27958sm26902585e9.44.2024.06.10.02.03.07
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 10 Jun 2024 02:03:07 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
In-Reply-To: <86a5jvd0uf.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 08 Jun
 2024 16:24:08 +0300")
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
 <874ja5hrrt.fsf@HIDDEN> <864ja4g992.fsf@HIDDEN>
 <87zfrwhmox.fsf@HIDDEN> <86a5jvd0uf.fsf@HIDDEN>
Date: Mon, 10 Jun 2024 11:03:07 +0200
Message-ID: <87msntgofo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71411
Cc: 71411 <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 Sat, 08 Jun 2024 16:24:08 +0300, Eli Zaretskii <eliz@HIDDEN> said:

    >> *** 'C-h k' ('describe-key') shows Unicode name.
    >> For keybindings which produce single characters via translation (suc=
h as
    >> those using the 'C-x 8' prefix), 'C-h k' now shows the Unicode name =
of
    >> the produced character in addition to the character itself, e.g.

    Eli> Are there any other cases of "translated characters", besides "C-x=
 8"?
    Eli> If so, please mention one or two more.  If there are no other
    Eli> examples, I'd remove "such as".

iso-transl.el is (almost) the only thing that uses
`key-translation-map' (the other is 'double.el', but that=CA=BCs really
niche). I can mention the other prefixes.

-- >8 --
*** 'C-h k' ('describe-key') shows Unicode name.
For keybindings which produce single characters via translation (such as
those using the 'C-x 8' or 'A-' prefix, or 'dead-acute', 'dead-grave',
etc), 'C-h k' now shows the Unicode name of the produced character in
addition to the character itself, e.g.

'C-h k C-x 8 E' =3D>

    =E2=82=AC 'EURO SIGN' (translated from C-x 8 E)

*** 'C-h b' ('describe-bindings') shows Unicode names.
For keybindings which produce single characters via translation, the
Unicode names will now be shown in addition to the character itself,
i.e.

    A-!			=C2=A1	INVERTED EXCLAMATION MARK
    A-$			=C2=A4	CURRENCY SIGN

and so on.
-- >8 --
Robert
--=20




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

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


Received: (at 71411) by debbugs.gnu.org; 8 Jun 2024 13:24:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 08 09:24:53 2024
Received: from localhost ([127.0.0.1]:37870 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sFw3x-000538-4z
	for submit <at> debbugs.gnu.org; Sat, 08 Jun 2024 09:24:53 -0400
Received: from eggs.gnu.org ([209.51.188.92]:44306)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sFw3t-00052r-VL
 for 71411 <at> debbugs.gnu.org; Sat, 08 Jun 2024 09:24:51 -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 1sFw3Y-0006PJ-LP; Sat, 08 Jun 2024 09:24:28 -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=AofF/8fr3rasb1QNPCIhnSVEUUTLHe55Z6skIN6PcWQ=; b=YBlH7Dd3HsqNwXeutFGZ
 P3GhfIdO//vJwgyoGLapixnSXz1xVlRMJwUbCIotcpE+mSS2sLgyDDV44mV+8ySxyDtONeWwp4jWY
 s22ICQs2T0VR7SN3DcUyZW5KDwVSxeI+UV56DwWlbTCrSp+rbBjUWbfVETsaEKDzh6S2YuaU9IZ+B
 6bfD1GEJ4uJNhawbPUwUDvkzGRo4v4k99MqIDkHYuuNMfU2umo/JiUV457OTad8fZ4hnPNRN9DWGH
 oUsTDwdkawlkZsl/gge5wjh2ZbQ1MFNYErsmjCpcyiWaw2ENk4Fx4HXxz7N0RXfsSH5FRZA939IAE
 FIhHJoeG3nhquA==;
Date: Sat, 08 Jun 2024 16:24:08 +0300
Message-Id: <86a5jvd0uf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <87zfrwhmox.fsf@HIDDEN> (message from Robert Pluim on Fri, 07
 Jun 2024 16:06:22 +0200)
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
 <874ja5hrrt.fsf@HIDDEN> <864ja4g992.fsf@HIDDEN> <87zfrwhmox.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: 71411
Cc: 71411 <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>
> Cc: 71411 <at> debbugs.gnu.org
> Date: Fri, 07 Jun 2024 16:06:22 +0200
> 
> >>>>> On Fri, 07 Jun 2024 16:42:01 +0300, Eli Zaretskii <eliz@HIDDEN> said:
> 
>     Eli> What is a "translated binding" or "translated key"?  Without
>     Eli> explaining that, at least the NEWS entries are not clear enough.
> 
> Itʼs anything that goes through `key-translation-map'. How
> about:
> 
> -- >8 --
>     *** 'C-h k' ('describe-key') shows Unicode name.
>     For keybindings which produce single characters via translation (such as
>     those using the 'C-x 8' prefix), 'C-h k' now shows the Unicode name of
>     the produced character in addition to the character itself, e.g.

Are there any other cases of "translated characters", besides "C-x 8"?
If so, please mention one or two more.  If there are no other
examples, I'd remove "such as".

Otherwise, LGTM; please install.




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

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


Received: (at 71411) by debbugs.gnu.org; 7 Jun 2024 14:40:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 10:40:17 2024
Received: from localhost ([127.0.0.1]:35411 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sFalM-00028H-I8
	for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 10:40:17 -0400
Received: from mout.gmx.net ([212.227.17.20]:49483)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1sFabR-0001cF-3r
 for 71411 <at> debbugs.gnu.org; Fri, 07 Jun 2024 10:30:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net;
 s=s31663417; t=1717770579; x=1718375379; i=stephen.berman@HIDDEN;
 bh=tvfcp8VSihvC2AdBnAd/QyiqvpgLmOw4gt27yYmESQ4=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
 Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc:
 content-transfer-encoding:content-type:date:from:message-id:
 mime-version:reply-to:subject:to;
 b=gVJawdvN7pNXb+9RlpdW7DI4kovO6qV45WqcCamWw0mwPWk4ydfIzLANuGJKnA3f
 XQK0aWQ3TGYTT75+SNQBssY6xsIUhpi6zzAbJjK5vZo3SvB/b3ZK49jX0iIVVUiG/
 5d3cSw2ItwYkJH54sIdIAs/T8vm32EfLiFDPzHZJN8HpmlBTowGmYTu7YErWnMWt4
 vU6KAaryKMWa/yFfGcdcnovWUVVw1+P0w2aJsi0uuzfyOr4JtwPtfxd7IhJZV5spg
 356Qh4L/wk+hmbjqc4nxY1agreY58UQcMmSKJiS/n3u45IJ2rIDEkQAm9XWhzr9cb
 YmAhm1GndzXjcTTvWg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from strobelfs ([94.134.95.44]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MI5QF-1sBUGa0hy3-002g7N; Fri, 07
 Jun 2024 16:29:39 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
In-Reply-To: <87v82khltj.fsf@HIDDEN> (Robert Pluim's message of "Fri, 07
 Jun 2024 16:25:12 +0200")
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
 <874ja5hrrt.fsf@HIDDEN> <87wmn0rgvu.fsf@HIDDEN>
 <87v82khltj.fsf@HIDDEN>
Date: Fri, 07 Jun 2024 16:29:38 +0200
Message-ID: <87sexorfl9.fsf@HIDDEN>
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-Provags-ID: V03:K1:RSxp1oJin92sOb/slpU6YhyH7L4ve4FnmlAk43sXyNF7dV5PftQ
 K5N04tAVmdM0tYZk7F9E/FQBsJ0VUrk4O9yKDPkG9BBTZhTl4+TAhNO/OtBs5J+N7zUnrax
 rM/SF+/EcJJdMxAlDHnyEObJ2A+hDE59GMjVsgeCqherrqujylQl8EVbCOv0yDebu13f13R
 cWvcRsAtwMaofEZf5h64Q==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:2G9CBiQ+X2g=;vKMcks3UDDeLnmNj1VFpx8kK6Bl
 HgyAyCx1JtPZNKFCso3G7AoVFiFnafarJl0h70wtxMsoL3rKzrINJCErkrX77glx9CdlI+JHL
 tKiP93j+v3718aXUbWGziePWPxmSySwWezA2gLJTizkIxKwERkLBFJG+0fWjuqWEKhhsSvF+A
 tgrkxqLu3gij4kMR3Ul+3DeYrrOv2P6+oE+647e/2rzG9W/DdgsqMXmWQsVglorMpNd32CPOi
 KkolFseIqYIHg/AV1JQ+ylmio4BwE2LhohB1iYKLc4VqNZB9aR81M55zVJhpe7kDWlAnRuSm2
 9LkSAo4tuBoEGP+APBZwRWQpcjtck/2QoDgUyxu4wdISirzjQwmco2Y1e39FkSXLdpR/hHNgW
 9/CwhOGUea5cH4ju+zyc0qpGpq44qT3TV/fbdvUYx8EDDwAim58m/VFm/MaGy7gnciDQ7jcZI
 AjnsZGIWuEFKIehf6l0cPSQB7/5xpKOJY/CUJte5ieboSGh/tsQLtwKXlEnzBFqY3Iibn11vT
 zJcm/DDaINMBdavT+wCrX9hf5e/dpmJJ+hJhnAYKTnYJgk7E0iOkWYondCPIjW2OdsNmJkJ4h
 kGBlv/9YmNoEr1aajiYrOGU7O/9EIZOh4MgBlWCWz+ktdmKbXFQ4iBxib8+ziWS3ZNWjmmbmk
 NfS+voj7WZNK6Q7aQL4236YWe8XnN+75x9xN2lmxUMw0VH1aclO02P6+XzY5pwNx/7+BdGWfp
 1IoJNwnPnyvj5b4JdvZ4y/nMvA9v561zmdaH2/SyoJIdfQsLdecXyeLd+lmxF6PcGN+o13dGT
 HVbbSw74pJ/GQdshIVZ4X8fo17h7WKOhhrbXctPu5KjNc=
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  On Fri, 07 Jun 2024 16:25:12 +0200 Robert Pluim wrote: >>>>>>
 On Fri, 07 Jun 2024 16:01:41 +0200, Stephen Berman > said: > > Stephen> On
 Fri, 07 Jun 2024 14:16:38 +0200 Robert Pluim > Stephen> wrote: > >>>>>>>
 On Fri, 07 Jun 2024 14:08:33 +0300, Eli Z [...] 
 Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [94.134.95.44 listed in zen.spamhaus.org]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.20 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [212.227.17.20 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (stephen.berman[at]gmx.net)
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
X-Debbugs-Envelope-To: 71411
Cc: Eli Zaretskii <eliz@HIDDEN>, 71411 <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.8 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  On Fri, 07 Jun 2024 16:25:12 +0200 Robert Pluim wrote: >>>>>>
    On Fri, 07 Jun 2024 16:01:41 +0200, Stephen Berman > said: > > Stephen> On
    Fri, 07 Jun 2024 14:16:38 +0200 Robert Pluim > Stephen> wrote: > >>>>>>>
   On Fri, 07 Jun 2024 14:08:33 +0300, Eli Z [...] 
 
 Content analysis details:   (1.8 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [94.134.95.44 listed in zen.spamhaus.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [212.227.17.20 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.20 listed in list.dnswl.org]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (stephen.berman[at]gmx.net)
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

On Fri, 07 Jun 2024 16:25:12 +0200 Robert Pluim <rpluim@HIDDEN> wrote:

>>>>>> On Fri, 07 Jun 2024 16:01:41 +0200, Stephen Berman
> <stephen.berman@HIDDEN> said:
>
>     Stephen> On Fri, 07 Jun 2024 14:16:38 +0200 Robert Pluim
>     Stephen> <rpluim@HIDDEN> wrote:
>     >>>>>>> On Fri, 07 Jun 2024 14:08:33 +0300, Eli Zaretskii <eliz@HIDDEN=
rg> said:
>     >>=20
>     Eli> Does this mean that if I type "C-h k a" I will be told that a is=
 LATIN
>     Eli> SMALL LETTER A?  That'd be an annoyance, I think.
>     >>=20
>     >> That=CA=BCs not a translated binding, so no.
>     >>=20
>     >> Let me attach the patches.
>     Stephen> [...]
>     >> diff --git a/etc/NEWS b/etc/NEWS
>     >> index c63e231f44f..66bc4d741ff 100644
>     >> --- a/etc/NEWS
>     >> +++ b/etc/NEWS
>     >> @@ -182,6 +182,20 @@ This user option controls outline visibility =
in
>     >> the output buffer of
>     >> *** 'C-h m' ('describe-mode') uses outlining by default.
>     >> Set 'describe-mode-outline' to nil to get back the old behavior.
>     >>=20
>     >> +*** 'C-h k' ('describe-key') shows Unicode name.
>     >> +For translated keys only, this will now show the Unicode name of =
the
>     >> +translation, e.g. 'C-h k C-x 8 E' will now show
>     >> +
>     >> +    =E2=82=AC 'EURO SIGN' (translated from C-x 8 E)
>
>     Stephen> How do you input 'C-h k C-x 8 E'?  I can only input 'C-h k C=
-x 8 e'.
>     Stephen> (Also with 'C-x 8' typing 'E' (i.e. 'S-e') inputs 'e').
>
> It=CA=BCs a binding I added to master on Monday.

Ah, time to git pull again.

>                                             You can use
>
> 'C-h k C-x 8 * E'
>
> instead.

Oh, right, I forgot about that.  Thanks.

Steve Berman




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

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


Received: (at 71411) by debbugs.gnu.org; 7 Jun 2024 14:40:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 10:40:10 2024
Received: from localhost ([127.0.0.1]:35405 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sFalG-00027u-8K
	for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 10:40:10 -0400
Received: from mail-wm1-f53.google.com ([209.85.128.53]:44231)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1sFalE-00027W-Am
 for 71411 <at> debbugs.gnu.org; Fri, 07 Jun 2024 10:40:09 -0400
Received: by mail-wm1-f53.google.com with SMTP id
 5b1f17b1804b1-42172ed3487so3852835e9.0
 for <71411 <at> debbugs.gnu.org>; Fri, 07 Jun 2024 07:39:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1717771127; x=1718375927; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=mwIHIDP7Y/dI6nahnOVJ31uzIFtk/xgDy19m4ockmIM=;
 b=BZ8L6uVrxXWTnLEIRCNlnb/rOr/Ue/R5cpSDfKDbi76/PapWmu+BPAClbj9PKsETeX
 hBnBpxmtMKRCCufbN16VMTnoye8+/AJ20gMihY/X9bKA8Ez1knx7DL1v7KNc/rJHzYWe
 r6ijhXGso/xmMx3OuWyVFvU8dzoklo/o1o9dKT8fq2oqnacwA+3QeotggBcTNwoGeq5V
 oc6QgtisMWcuSELcIB7ELyTzbK3elmYswcP/+Oa3wVU2LWJgnSSHCVzN/jMzreFjrsFA
 gq6bHc8cugyf//UPtsCrnTXIhspnox/NfFPs5qxkJ1R29VaXhfFLQCWzDmfP/n+W64AM
 lNnQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1717771127; x=1718375927;
 h=content-transfer-encoding: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=mwIHIDP7Y/dI6nahnOVJ31uzIFtk/xgDy19m4ockmIM=;
 b=cHIuKMGZlYVdwcIASep0OjFjyvkf7f9MWGI7veGHt6+KMrG0D86vuqQGmPe5EX9C9N
 tgrDQQW3H6sy5hh8iCqsFv09hjTLEyL8xrYUT6gKSBkcJInOxTEb+ePENFGKYMhOHXO0
 WdYiW61BiPf1/T7PM0nb2aSY7YFbp2C29HSpCKubk0Tj+t2xgrwNtTPDIMrodlx+dFde
 XYVwqHSOfvVWd1DM32DyMRJFI4T4muu4EUTWTYSnCOil3m7hX8ySAUIceHVFLjiU9B26
 x6izFckjC8vk8PJglUjj/+uji9SWiB9znpfYt+zD3rLDpPQWvoKr2RE2xOtQQFA9rtKD
 HJ9g==
X-Forwarded-Encrypted: i=1;
 AJvYcCVTEKWCBsImC6TDg5Fptv8wcplzQvmQke+eKdbR2WfkHpdkZLWLmnIR7cyPVsOm8TYLx1MqaBN/mZU3DBo3osD555IgtKo=
X-Gm-Message-State: AOJu0YzfgJ88Jxli9L2uOmsrYvpVbJn/3/ZFTH7X5g0VO3UmycCpbo/D
 Tojnbx0dw36RdlFojyzoupKJDs5o6gZPjHctCbaAe579GqKpFYwA9hc+jw==
X-Google-Smtp-Source: AGHT+IGmJPa/znbOj0zDnm3mUd1Oc7WoOdHrivRPrVH+Kodbz57Kxkc8OIau863ZlW+lROSM9FOyTQ==
X-Received: by 2002:a5d:40c7:0:b0:354:eb2d:be00 with SMTP id
 ffacd0b85a97d-35efee11e5dmr2012423f8f.62.1717770686459; 
 Fri, 07 Jun 2024 07:31:26 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-35ef5d2e73dsm4180935f8f.16.2024.06.07.07.31.25
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 07 Jun 2024 07:31:26 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
In-Reply-To: <87sexorfl9.fsf@HIDDEN> (Stephen Berman's message of "Fri, 07
 Jun 2024 16:29:38 +0200")
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
 <874ja5hrrt.fsf@HIDDEN> <87wmn0rgvu.fsf@HIDDEN>
 <87v82khltj.fsf@HIDDEN> <87sexorfl9.fsf@HIDDEN>
Date: Fri, 07 Jun 2024 16:31:25 +0200
Message-ID: <87r0d8hlj6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71411
Cc: Eli Zaretskii <eliz@HIDDEN>, 71411 <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 Fri, 07 Jun 2024 16:29:38 +0200, Stephen Berman <stephen.berman@gm=
x.net> said:

    >> You can use
    >>=20
    >> 'C-h k C-x 8 * E'
    >>=20
    >> instead.

    Stephen> Oh, right, I forgot about that.  Thanks.

That=CA=BCs why I added 'C-x 8 E' =F0=9F=98=80

Robert
--=20




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

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


Received: (at 71411) by debbugs.gnu.org; 7 Jun 2024 14:26:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 10:26:37 2024
Received: from localhost ([127.0.0.1]:34393 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sFaY9-0001SK-BG
	for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 10:26:37 -0400
Received: from mail-wm1-f50.google.com ([209.85.128.50]:42282)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1sFaY6-0001Rs-NE
 for 71411 <at> debbugs.gnu.org; Fri, 07 Jun 2024 10:26:35 -0400
Received: by mail-wm1-f50.google.com with SMTP id
 5b1f17b1804b1-42122ac2f38so13014395e9.1
 for <71411 <at> debbugs.gnu.org>; Fri, 07 Jun 2024 07:26:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1717770313; x=1718375113; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=N+ehQikEen/JGWw2wCJ4jt6qxT0rV2xozktY6hWPCgQ=;
 b=QCPfKIU/daef/id+AcuEOo6cPAYSKR/tl9KkeBPiSZw+/k/+5a5qbUGv8geLxQORc3
 fErAU5NqqF7KyOCZS3kvyDGmG8x28epIoB9ZENDpaTeDVK4BHzI8finn0piWfjBa5wKh
 UREQZAZip7i4OoGGN1neVAtsCFKzarNhjo0CB6S94sjXjOgHPeJBUjDE7PxU5b5ww9s0
 l/ikc1Gnz3NKQHhOKcMzTZ+s3EVLaV/9QP7pnzlMCQxAk8ziYV7zr81MJ0lvUaXqUoK5
 W64ivwOf3DF+6+kmJufwtPvy3GYtUoXJQbh/b7Ty9M547gMdHjfRWIEPPWCCbBkGAZzW
 Si1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1717770313; x=1718375113;
 h=content-transfer-encoding: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=N+ehQikEen/JGWw2wCJ4jt6qxT0rV2xozktY6hWPCgQ=;
 b=KnufMIh+zF22NzqMODD9PdIaQ2ZmqNG2vHtgi1Q76Sj39Cr6xHYkMV0LjS4KXiHLYi
 wkkyipNliPVq7ytCpV+t0d1omfy1XvBnYirJYbZFD4Sek/g96HSl3rZnU4UBfnW7hpHI
 3cuoyKL6ZVpSLRO752fLisQ3mkmJog8iEnYx7XZmT86f00Zi3uQlTzS8Cv/Ep04HmroO
 wWu2FS2LJQlRzmf1p1tsdM5WYNYV8fh2numN6jcpi9fVpJqsU4oVY9ICS5TkEaRsvYF/
 MOWI4JNI9xbAUL0DT6CoTiOvgVObwTHLqwiIcU8UZCc7F2oj/iv8ME/K98M1J/xtLAKE
 blYA==
X-Forwarded-Encrypted: i=1;
 AJvYcCWshQZYni+8vTDtG1Czr+0ucOMohSIAVcfOjalgmtLkoNIuJS2tUp1jxAm1tYGb8+XdHSPEU9lBtRn48ucK4I63BXOJfbU=
X-Gm-Message-State: AOJu0YxuNUKsJDYxx7PcVHe3dpeAxw2S54S42aZmJQn+u3TnBZ0AwxmK
 2ax1/fG0hEIYf87eXwm/1kEJRGK5CYUOGz4pu58G+75hLv7aByzCkDcNxw==
X-Google-Smtp-Source: AGHT+IGyIyPwJNI/6I0ylLKADryqmqJmhQ3ALIGA6J6FCYu8/mvFEOsKOlZnh9PMqwxmJ8o/hAytqQ==
X-Received: by 2002:a05:600c:3ca7:b0:421:392b:7e13 with SMTP id
 5b1f17b1804b1-4215acbf7a8mr55597165e9.4.1717770313113; 
 Fri, 07 Jun 2024 07:25:13 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4215c2a6c9fsm54745965e9.28.2024.06.07.07.25.12
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 07 Jun 2024 07:25:12 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
In-Reply-To: <87wmn0rgvu.fsf@HIDDEN> (Stephen Berman's message of "Fri, 07
 Jun 2024 16:01:41 +0200")
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
 <874ja5hrrt.fsf@HIDDEN> <87wmn0rgvu.fsf@HIDDEN>
Date: Fri, 07 Jun 2024 16:25:12 +0200
Message-ID: <87v82khltj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71411
Cc: Eli Zaretskii <eliz@HIDDEN>, 71411 <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 Fri, 07 Jun 2024 16:01:41 +0200, Stephen Berman <stephen.berman@gm=
x.net> said:

    Stephen> On Fri, 07 Jun 2024 14:16:38 +0200 Robert Pluim <rpluim@gmail.=
com> wrote:
    >>>>>>> On Fri, 07 Jun 2024 14:08:33 +0300, Eli Zaretskii <eliz@HIDDEN=
> said:
    >>=20
    Eli> Does this mean that if I type "C-h k a" I will be told that a is L=
ATIN
    Eli> SMALL LETTER A?  That'd be an annoyance, I think.
    >>=20
    >> That=CA=BCs not a translated binding, so no.
    >>=20
    >> Let me attach the patches.
    Stephen> [...]
    >> diff --git a/etc/NEWS b/etc/NEWS
    >> index c63e231f44f..66bc4d741ff 100644
    >> --- a/etc/NEWS
    >> +++ b/etc/NEWS
    >> @@ -182,6 +182,20 @@ This user option controls outline visibility in=
 the output buffer of
    >> *** 'C-h m' ('describe-mode') uses outlining by default.
    >> Set 'describe-mode-outline' to nil to get back the old behavior.
    >>=20
    >> +*** 'C-h k' ('describe-key') shows Unicode name.
    >> +For translated keys only, this will now show the Unicode name of the
    >> +translation, e.g. 'C-h k C-x 8 E' will now show
    >> +
    >> +    =E2=82=AC 'EURO SIGN' (translated from C-x 8 E)

    Stephen> How do you input 'C-h k C-x 8 E'?  I can only input 'C-h k C-x=
 8 e'.
    Stephen> (Also with 'C-x 8' typing 'E' (i.e. 'S-e') inputs 'e').

It=CA=BCs a binding I added to master on Monday. You can use

'C-h k C-x 8 * E'

instead.

Robert
--=20




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

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


Received: (at 71411) by debbugs.gnu.org; 7 Jun 2024 14:07:48 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 10:07:48 2024
Received: from localhost ([127.0.0.1]:32821 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sFaFw-0000Ri-F6
	for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 10:07:48 -0400
Received: from mail-wm1-f43.google.com ([209.85.128.43]:61930)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1sFaFt-0000RJ-A1
 for 71411 <at> debbugs.gnu.org; Fri, 07 Jun 2024 10:07:48 -0400
Received: by mail-wm1-f43.google.com with SMTP id
 5b1f17b1804b1-4215ac379fdso20249245e9.3
 for <71411 <at> debbugs.gnu.org>; Fri, 07 Jun 2024 07:07:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1717769184; x=1718373984; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=F1OPl4lrim5SwqUZpnBXOqXBN8Gn+VYAqN0bVcop/a8=;
 b=I9oXATpLF4WKszExl2huyEdjNglubyIp+FB+ziLcnf4DlJT27DUcS5BL/SRhbpnBkV
 6hzq0+GasMKP5Xsl9zQ0yN0rw1dAXg7DvPSMUkV9sjQ3aJXIwiztk4SUGf5xQsSWfm2f
 n7mtxC3kf1BAhZcoU6L+T4FOYgi1mRnFmpYkOiMqA+YxlTU6mRl0XrQGG9eOxl/pbJiK
 VEENNNeXmTvwZKWDbjat9sEWsfaVuoTN7UEiLtijzb0/hhjZxTFxtaB2r4ffor7FfYn0
 2sZ9dFwMkVU1cnF3JCkPgcEJIkDgD03o8s7bIZoPiRDV8UwJxcjzcBUaXC1oxZwlYt3u
 3iGA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1717769184; x=1718373984;
 h=content-transfer-encoding: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=F1OPl4lrim5SwqUZpnBXOqXBN8Gn+VYAqN0bVcop/a8=;
 b=ICl7NvplU+sGCmYPnNGU08KyL7Jj7Xqf4N3x3P3xcaWDh73oSHQgcbobM6cUA/vSzG
 dDzepSuY//dz72LfLQHGG2jf+xkQOuD/IOMr7NyjjgdsjJ8VCcos0XDC0KPM9gd6LWKe
 foirt3PGB3BQ3UGiDI/YqQuLEP+keKiJidC0UfQcBKbSvLrT0CiBbcxQVkg6pvmHkODd
 +CDIJ/6gJvwtUskCqn8h4vB2MHrKfAUM1Gm6tvA+wO3RnYqEoiHTOihB0SSmenwH/RoO
 ZXgHhnWSwos4qnBTLkyziCWr/xPe97+kLSxkrpKK+ER3j2+x5axNj0V+PhLaazeBlCtH
 guYQ==
X-Gm-Message-State: AOJu0YwdQ+VZM5ZVwXrdfE4CjIbyZDQrtSFazzmaeTTCgZhS/0IDy7Ub
 JHZV+TxMaU4RyurDru+7dAsjpXU91o+jT7n/vADLDeymphpy0uqWky4IlA==
X-Google-Smtp-Source: AGHT+IExFTwa6SywTLs3r/33O5voD6UdVl4976N9tOWnj7GRF+KI6TGWxO8IKIjq09eeYnevyVkIAQ==
X-Received: by 2002:a7b:cc89:0:b0:421:54d0:510f with SMTP id
 5b1f17b1804b1-421649fe9aemr24683975e9.13.1717769183725; 
 Fri, 07 Jun 2024 07:06:23 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4215810242fsm86338695e9.12.2024.06.07.07.06.22
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 07 Jun 2024 07:06:23 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
In-Reply-To: <864ja4g992.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 07 Jun
 2024 16:42:01 +0300")
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
 <874ja5hrrt.fsf@HIDDEN> <864ja4g992.fsf@HIDDEN>
Date: Fri, 07 Jun 2024 16:06:22 +0200
Message-ID: <87zfrwhmox.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71411
Cc: 71411 <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 Fri, 07 Jun 2024 16:42:01 +0300, Eli Zaretskii <eliz@HIDDEN> said:

    >> From: Robert Pluim <rpluim@HIDDEN>
    >> Cc: 71411 <at> debbugs.gnu.org
    >> Date: Fri, 07 Jun 2024 14:16:38 +0200
    >>=20
    Eli> Does this mean that if I type "C-h k a" I will be told that a is L=
ATIN
    Eli> SMALL LETTER A?  That'd be an annoyance, I think.
    >>=20
    >> That=CA=BCs not a translated binding, so no.

    Eli> What is a "translated binding" or "translated key"?  Without
    Eli> explaining that, at least the NEWS entries are not clear enough.

It=CA=BCs anything that goes through `key-translation-map'. How
about:

-- >8 --
    *** 'C-h k' ('describe-key') shows Unicode name.
    For keybindings which produce single characters via translation (such as
    those using the 'C-x 8' prefix), 'C-h k' now shows the Unicode name of
    the produced character in addition to the character itself, e.g.

    'C-h k C-x 8 E' =3D>

        =E2=82=AC 'EURO SIGN' (translated from C-x 8 E)

    *** 'C-h b' ('describe-bindings') shows Unicode names.
    For keybindings which produce single characters via translation, the
    Unicode names will now be shown in addition to the character itself,
    i.e.

        A-!			=C2=A1	INVERTED EXCLAMATION MARK
        A-$			=C2=A4	CURRENCY SIGN

    and so on.
-- >8 --

Robert
--=20




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

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


Received: (at 71411) by debbugs.gnu.org; 7 Jun 2024 14:07:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 10:07:17 2024
Received: from localhost ([127.0.0.1]:32786 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sFaFQ-0000QA-BS
	for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 10:07:17 -0400
Received: from mout.gmx.net ([212.227.17.20]:47847)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1sFaFO-0000Pn-Uj
 for 71411 <at> debbugs.gnu.org; Fri, 07 Jun 2024 10:07:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net;
 s=s31663417; t=1717769213; x=1718374013; i=stephen.berman@HIDDEN;
 bh=wsXIk8w0B6w4nDsGkbfQd4IAD28ttQ5aZfUj7LTZDyM=;
 h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date:
 Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:cc:
 content-transfer-encoding:content-type:date:from:message-id:
 mime-version:reply-to:subject:to;
 b=PeovXQNETshDzl+QGwUTCebApOGQJanvdbP0ZNRLcUj6mtcYkQe/J3ProShi+DVV
 ab3YGSWHIg5rRqqW+hy7PdsPKuiDNnDAS65x6PyACvjr/LzSfTynGCd1PeNJCbCHd
 XfBjPammqsZMgVNyYf6LWGuDANuULjbLJZ77g8vsKSEqhQbEGG5DAe9/vTcHyBhu8
 Udr72lqMRe3OpWC5ESyqRxsjLfzKaiegUyHPdRkZN7DCvTRjYgYVzZ+dner8IHCap
 5eXFIZB5JH4i6jGt75hx2QmZny2YEgxnG7QIm3k1YpB1nJRF6TqFFKtu020SWDC9W
 /MqhOEDtLoywHJs1ZQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from strobelfs ([94.134.95.44]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MfpSb-1svEZr42i9-00eBnQ; Fri, 07
 Jun 2024 16:01:43 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
In-Reply-To: <874ja5hrrt.fsf@HIDDEN> (Robert Pluim's message of "Fri, 07
 Jun 2024 14:16:38 +0200")
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
 <874ja5hrrt.fsf@HIDDEN>
Date: Fri, 07 Jun 2024 16:01:41 +0200
Message-ID: <87wmn0rgvu.fsf@HIDDEN>
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-Provags-ID: V03:K1:eE/n9lfleMslUpKuOKDg8O5VxsDRBnfCfF3p5TvkSuD9MdV0e0A
 x50fTZkPAPhkzB75P7I5b10Y5+16qTcwzFzAk3Kj1au0Aj9r36fEqLagnr26/QTUQIJfwwN
 rHLvZBVCvJ8gSHMVfBX6+DDqHXGYEDteNlFkRyYyHYJsUesXif/U6IOLISyOxEw6Xs8QrAy
 Z+lldYfPo4xoKbYAMZIug==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:6eAcbs2a4xM=;+l5iiP/UptSJqq1gyyolxNxubfq
 RM8zCQAbpaNA9dTXBX774L0sYD9O/Ox7v5FH1GIwfPMFA6FIUSE3/4nMa+561WFJs+oKc+4cB
 lXOB03SxaX/q9z+rBoGEbM7okNJMlKtMNbU1nqc3KMx5po46/Oeh3OpFXGujI/hdJutU2iyfk
 6ffKj05ddmH3j/cRz+3D1eYaDCeZkqs6IU+DRCvmYQByxTIMIk9KGvJf1VYjcTh0puBpi2KE9
 aYCNr1pfUNINROpCWSwQdFra2YxEySL0mAXhyZrumyUp0C0x+AVSBzRtiNL+j8UTwE5M+euCt
 QxPQ1QQQzDvjxYrq2N3dI5chJ4L5lFudeohamyb11Mal4Prui3ob6eSlx4nYGi9cNnfxK2ATP
 SMgRg2HyEAZvUlEjrgVwRuTw5zJ56+un2xdxNk007QtGryON3H1FnYkfzIFknXJFrzxWA6EXX
 tZPh+13wJcsQrqvAAUgHvtrsZ9F0Hm9l4+lKUYhxq6Ai3deUSlFbF8haxNtdM7LoZzUMp0DQW
 oGI2nnL+7S59yUrF4uQBxJ/ChtXygc+zbVlq5FYGPAstRQdw0IAhBTVZ4mgAuVZ/x8rcpruMW
 8361Z57SAkcF9RH6OhKYHs1ufvlibiI7OSeNs8Ps0jyrL3kvIaKaCpaENTVdVCpPvf6IKqLwt
 /zNFutF8aw1RSYj1fi1UNSBzgq6GQ8OU3KT3/baOlGRVS1OGOYZPwju5wK4nTTG8Bk8K5mbm0
 2VY4SzywBwKuVnDALjoHZMh4Be0jj4trIhh0PrSEpY2jB/mkLAa3jzfcLmvPb5MPW5wNK01BO
 3ySPofklFC9fPuKJgTrg+lsBsjeHnV6Cm7z3BCK4cM8QU=
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  On Fri, 07 Jun 2024 14:16:38 +0200 Robert Pluim wrote: >>>>>>
 On Fri, 07 Jun 2024 14:08:33 +0300, Eli Zaretskii said: > > Eli> Does this
 mean that if I type "C-h k a" I will be told that a is LATIN > Eli> SMALL
 LETTER A? That'd be an annoyance, I think. [...] 
 Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [94.134.95.44 listed in zen.spamhaus.org]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.20 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (stephen.berman[at]gmx.net)
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [212.227.17.20 listed in wl.mailspike.net]
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
X-Debbugs-Envelope-To: 71411
Cc: Eli Zaretskii <eliz@HIDDEN>, 71411 <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.8 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  On Fri, 07 Jun 2024 14:16:38 +0200 Robert Pluim wrote: >>>>>>
    On Fri, 07 Jun 2024 14:08:33 +0300, Eli Zaretskii said: > > Eli> Does this
    mean that if I type "C-h k a" I will be told that a is LATIN > Eli> SMALL
    LETTER A? That'd be an annoyance, I think. [...] 
 
 Content analysis details:   (1.8 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [94.134.95.44 listed in zen.spamhaus.org]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.20 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [212.227.17.20 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (stephen.berman[at]gmx.net)
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

On Fri, 07 Jun 2024 14:16:38 +0200 Robert Pluim <rpluim@HIDDEN> wrote:

>>>>>> On Fri, 07 Jun 2024 14:08:33 +0300, Eli Zaretskii <eliz@HIDDEN> sai=
d:
>
>     Eli> Does this mean that if I type "C-h k a" I will be told that a is=
 LATIN
>     Eli> SMALL LETTER A?  That'd be an annoyance, I think.
>
> That=CA=BCs not a translated binding, so no.
>
> Let me attach the patches.
[...]
> diff --git a/etc/NEWS b/etc/NEWS
> index c63e231f44f..66bc4d741ff 100644
> --- a/etc/NEWS
> +++ b/etc/NEWS
> @@ -182,6 +182,20 @@ This user option controls outline visibility in the =
output buffer of
>  *** 'C-h m' ('describe-mode') uses outlining by default.
>  Set 'describe-mode-outline' to nil to get back the old behavior.
>=20=20
> +*** 'C-h k' ('describe-key') shows Unicode name.
> +For translated keys only, this will now show the Unicode name of the
> +translation, e.g. 'C-h k C-x 8 E' will now show
> +
> +    =E2=82=AC 'EURO SIGN' (translated from C-x 8 E)

How do you input 'C-h k C-x 8 E'?  I can only input 'C-h k C-x 8 e'.
(Also with 'C-x 8' typing 'E' (i.e. 'S-e') inputs 'e').

Steve Berman




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

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


Received: (at 71411) by debbugs.gnu.org; 7 Jun 2024 13:42:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 09:42:44 2024
Received: from localhost ([127.0.0.1]:58048 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sFZrf-0007OK-R6
	for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 09:42:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:42130)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sFZrd-0007Nv-MW
 for 71411 <at> debbugs.gnu.org; Fri, 07 Jun 2024 09:42:42 -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 1sFZrI-00066l-PK; Fri, 07 Jun 2024 09:42:20 -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=EnisQsEJvptrMyjRZE2zHNRNhWBAL0GjL230QrLxVmk=; b=dId+sencBLCufOPIQzdK
 Yo6Qzrogpi1OKhAjqVZNLHUet3bWt1F7D2e2wUIcp5o+jf+emuDcvkeKLViC69o606JBjhK6tpvX8
 mK4uHRvDbDM0uGuY/RRNxzmVft3CRAR7o5w3x0xZRD3B528jKZn8TknyV+HGb3drXOvouxtEpPvOO
 Jku9i5m5zxebgOg4jsKdqTg7pyKWcQc31jsF4/EuEFZzE51SOUkhxZ6Ae0iycvKvd6UKvlizA+CkH
 PkaYmnVBkaHhj9ExECoCaUJMSn737aenMiAtRdu2P3rhLMMvg4ZZbW2kDNrYcrwkwZZXsU6RoXZ9R
 5jaYHJY36olaLw==;
Date: Fri, 07 Jun 2024 16:42:01 +0300
Message-Id: <864ja4g992.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <874ja5hrrt.fsf@HIDDEN> (message from Robert Pluim on Fri, 07
 Jun 2024 14:16:38 +0200)
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
 <874ja5hrrt.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: 71411
Cc: 71411 <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>
> Cc: 71411 <at> debbugs.gnu.org
> Date: Fri, 07 Jun 2024 14:16:38 +0200
> 
>     Eli> Does this mean that if I type "C-h k a" I will be told that a is LATIN
>     Eli> SMALL LETTER A?  That'd be an annoyance, I think.
> 
> Thatʼs not a translated binding, so no.

What is a "translated binding" or "translated key"?  Without
explaining that, at least the NEWS entries are not clear enough.




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

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


Received: (at 71411) by debbugs.gnu.org; 7 Jun 2024 12:18:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 08:18:06 2024
Received: from localhost ([127.0.0.1]:52125 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sFYXk-0003Dt-P5
	for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 08:18:06 -0400
Received: from mail-lf1-f54.google.com ([209.85.167.54]:61947)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1sFYXi-0003DD-1f
 for 71411 <at> debbugs.gnu.org; Fri, 07 Jun 2024 08:18:03 -0400
Received: by mail-lf1-f54.google.com with SMTP id
 2adb3069b0e04-52bc335e49aso120491e87.3
 for <71411 <at> debbugs.gnu.org>; Fri, 07 Jun 2024 05:17:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1717762600; x=1718367400; 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=/B41zgEkNm4Uqi+3b7H1Gs+bAfJ+sOxFMXOSfldkxP0=;
 b=JCr7A/cUxR9LpdMXzcL6T9Dc96u8H5AYMPRlmY5d+8MeHeYO4t4OfiT50QAi7xFhUk
 iggK5ceyFW0u2NPmqvqxWLCpvJP3XVFQCDpig+rneD9aOh4e3zosMrusRieVqizthTy1
 EuE0i5SddIaebaHRzemKqlDFme8LwBmH95k/rzIFZgu8n0gPkjWJzj9zm5/9DKHMP4Nz
 R6H7dAj5ONi8HhRhC354oa1rJlbJ1BAHTUyupuDZ5/tkOP9B1RE0UF4f17wA2mKnxNiZ
 p/L/Vc39rS+mZbFgh2ArhmxHbdYyG22ijhxya61c1ZSqNXZEuB+F2UcGSNj6SvJnHkBY
 MxVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1717762600; x=1718367400;
 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=/B41zgEkNm4Uqi+3b7H1Gs+bAfJ+sOxFMXOSfldkxP0=;
 b=EWfI93jCskC7y8P69cxjoZX4MLTtEPmIpMcVbd0VatK/w4MmqmXPfEX7i7p3B8aMcL
 XKcmkDu91fPfP3S3/aY9NwlM3/bI43Vw46eDj6OKajG+KQNSZrn4g+mHb2y9fzGS/n0Q
 kqmfNoMtEug9sfdxD8g0lqubGxF4gCMVO16MRMGCOiH6oosmDAOsttswXCzoU+QWkIM7
 bZHyrUFrGRzDgfZEU541L80gr6Zu4nHjrZfL7vM3g5Zfumi0SHBz4FHe5zAT14e9RtHk
 SyBRhCdeOxQcQqwu2sBUepQEMn55ny83OCftN3uWfzI7jQ/bZ0MOtMpnNvv7Q+ojqzOR
 GRzA==
X-Gm-Message-State: AOJu0YwlKVApcCbVP9ZXvRa3VvOecGqM5Hkx/mG12p4SLmB69Gmjsmqz
 z9hOkL/z9UlTIKUZFUZk4X0J85fAJ46VNGdxeUdrkNixEW6RYwAfyVSjPg==
X-Google-Smtp-Source: AGHT+IEyzRvh3C1Cq4O7PklZnE44sVprnBLhioW8IA7H0x4MPQJ5LzTLf/5XxvwxJySB+ubwg6b9uQ==
X-Received: by 2002:ac2:482c:0:b0:529:b634:bed1 with SMTP id
 2adb3069b0e04-52bb9fd8c72mr1312714e87.58.1717762600056; 
 Fri, 07 Jun 2024 05:16:40 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-4215c2a6c9fsm51732125e9.28.2024.06.07.05.16.39
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 07 Jun 2024 05:16:39 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#71411: 30.0.50; Show Unicode names when describing
 translations
In-Reply-To: <86frtpf1se.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 07 Jun
 2024 14:08:33 +0300")
References: <878qzhhwkl.fsf@HIDDEN> <86frtpf1se.fsf@HIDDEN>
Date: Fri, 07 Jun 2024 14:16:38 +0200
Message-ID: <874ja5hrrt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71411
Cc: 71411 <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 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

>>>>> On Fri, 07 Jun 2024 14:08:33 +0300, Eli Zaretskii <eliz@HIDDEN> said:

    Eli> Does this mean that if I type "C-h k a" I will be told that a is L=
ATIN
    Eli> SMALL LETTER A?  That'd be an annoyance, I think.

That=CA=BCs not a translated binding, so no.

Let me attach the patches.

Robert
--=20

--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0001-Add-char-to-name-convenience-function.patch

From 847d582f89110f8c2f0e88c1533ced0606970fba Mon Sep 17 00:00:00 2001
From: Robert Pluim <rpluim@HIDDEN>
Date: Fri, 7 Jun 2024 12:05:34 +0200
Subject: [PATCH 1/3] Add 'char-to-name' convenience function
To: emacs-devel@HIDDEN

* lisp/international/mule-cmds.el (char-to-name): New function.  This is
the inverse of 'char-from-name'.
* doc/lispref/nonascii.texi (Character Codes): Document it.
* etc/NEWS: Announce it.
---
 doc/lispref/nonascii.texi       | 5 +++++
 etc/NEWS                        | 4 ++++
 lisp/international/mule-cmds.el | 7 +++++++
 3 files changed, 16 insertions(+)

diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index b33082e2b24..195b818c0bd 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -435,6 +435,11 @@ Character Codes
 @end example
 @end defun
 
+@defun char-to-name char
+This function returns the Unicode name of @var{char}.  Returns
+@code{nil} if @var{char} is not a character or has no Unicode name.
+@end defun
+
 @defun get-byte &optional pos string
 This function returns the byte at character position @var{pos} in the
 current buffer.  If the current buffer is unibyte, this is literally
diff --git a/etc/NEWS b/etc/NEWS
index 5fb1625a76c..c63e231f44f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2186,6 +2186,10 @@ it returns a short "unique" string that identifies the function.
 In either case, the string is propertized so clicking on it gives
 further details.
 
+** New function 'char-to-name'.
+This is a convenience function to return the Unicode name of a char (if
+it has one).
+
 ** New function 'cl-type-of'.
 This function is like 'type-of' except that it sometimes returns
 a more precise type.  For example, for nil and t it returns 'null'
diff --git a/lisp/international/mule-cmds.el b/lisp/international/mule-cmds.el
index e80c42f523a..7d784ef3b1b 100644
--- a/lisp/international/mule-cmds.el
+++ b/lisp/international/mule-cmds.el
@@ -3183,6 +3183,13 @@ mule--ucs-names-group
            (script (and char (aref char-script-table char))))
       (if script (symbol-name script) "ungrouped"))))
 
+(defun char-to-name (char)
+  "Return the Unicode name for CHAR, if it has one, else nil.
+Return nil if CHAR is not a character."
+  (and (characterp char)
+       (or (get-char-code-property char 'name)
+           (get-char-code-property char 'old-name))))
+
 (defun char-from-name (string &optional ignore-case)
   "Return a character as a number from its Unicode name STRING.
 If optional IGNORE-CASE is non-nil, ignore case in STRING.
-- 
2.39.2


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment; filename=0002-Use-char-to-name.patch

From 5ff4c3ac95d8dfcc172ad36f0ebd9c12443c9046 Mon Sep 17 00:00:00 2001
From: Robert Pluim <rpluim@HIDDEN>
Date: Fri, 7 Jun 2024 12:07:50 +0200
Subject: [PATCH 2/3] Use 'char-to-name'
To: emacs-devel@HIDDEN

* lisp/international/emoji.el (emoji--name): Lookup name using 'char-to-name'.
* lisp/international/textsec.el (textsec-domain-suspicious-p): And here.
* lisp/simple.el (what-cursor-position): And here.
---
 lisp/international/emoji.el   | 2 +-
 lisp/international/textsec.el | 2 +-
 lisp/simple.el                | 3 +--
 3 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/lisp/international/emoji.el b/lisp/international/emoji.el
index 4f3aab5a6be..cbf7c547f4c 100644
--- a/lisp/international/emoji.el
+++ b/lisp/international/emoji.el
@@ -245,7 +245,7 @@ emoji--fontify-glyph
 
 (defun emoji--name (glyph)
   (or (gethash glyph emoji--names)
-      (get-char-code-property (aref glyph 0) 'name)))
+      (char-to-name (aref glyph 0))))
 
 (defvar-keymap emoji-list-mode-map
   "RET" #'emoji-list-select
diff --git a/lisp/international/textsec.el b/lisp/international/textsec.el
index 4740dd81345..224363732fe 100644
--- a/lisp/international/textsec.el
+++ b/lisp/international/textsec.el
@@ -296,7 +296,7 @@ textsec-domain-suspicious-p
                             ""
                           (concat ": " (string char)))
                         char
-                        (get-char-code-property char 'name)))))
+                        (char-to-name char)))))
      domain)
     ;; Does IDNA allow it?
     (unless (puny-highly-restrictive-domain-p domain)
diff --git a/lisp/simple.el b/lisp/simple.el
index 68209eadc41..8d7e379b584 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -1827,8 +1827,7 @@ what-cursor-position
   (interactive "P")
   (let* ((char (following-char))
          (char-name (and what-cursor-show-names
-                         (or (get-char-code-property char 'name)
-                             (get-char-code-property char 'old-name))))
+                         (char-to-name char)))
          (char-name-fmt (if char-name
                             (format ", %s" char-name)
                           ""))
-- 
2.39.2


--=-=-=
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment;
 filename=0003-Show-character-names-when-describing-translations.patch
Content-Transfer-Encoding: quoted-printable

From a2adb11e15a60ad30741c6cd8c47f03b5b1a902e Mon Sep 17 00:00:00 2001
From: Robert Pluim <rpluim@HIDDEN>
Date: Fri, 7 Jun 2024 12:21:11 +0200
Subject: [PATCH 3/3] Show character names when describing translations
To: emacs-devel@HIDDEN

This implements Bug#71411.

* lisp/help.el (help-key-description): Use 'char-to-name' to show the
Unicode name of translated keys.
(help--describe-command): And here.

* etc/NEWS: Announce the change.
---
 etc/NEWS     | 14 ++++++++++++++
 lisp/help.el |  9 +++++++--
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index c63e231f44f..66bc4d741ff 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -182,6 +182,20 @@ This user option controls outline visibility in the ou=
tput buffer of
 *** 'C-h m' ('describe-mode') uses outlining by default.
 Set 'describe-mode-outline' to nil to get back the old behavior.
=20
+*** 'C-h k' ('describe-key') shows Unicode name.
+For translated keys only, this will now show the Unicode name of the
+translation, e.g. 'C-h k C-x 8 E' will now show
+
+    =E2=82=AC 'EURO SIGN' (translated from C-x 8 E)
+
+*** 'C-h b' ('describe-bindings') shows Unicode names.
+For translated keys only, Unicode names will now be shown, i.e.
+
+    A-!			=C2=A1	INVERTED EXCLAMATION MARK
+    A-$			=C2=A4	CURRENCY SIGN
+
+and so on.
+
 ** Outline mode
=20
 *** New commands to show/hide outlines by regexp.
diff --git a/lisp/help.el b/lisp/help.el
index 2feb178ff6c..878dd404256 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -883,7 +883,9 @@ help-key-description
       (let ((otherstring (help--key-description-fontified untranslated)))
 	(if (equal string otherstring)
 	    string
-	  (format "%s (translated from %s)" string otherstring))))))
+          (if-let ((char-name (char-to-name (aref string 0))))
+              (format "%s '%s' (translated from %s)" string char-name othe=
rstring)
+            (format "%s (translated from %s)" string otherstring)))))))
=20
 (defun help--binding-undefined-p (defn)
   (or (null defn) (integerp defn) (equal defn #'undefined)))
@@ -1664,7 +1666,10 @@ help--shadow-lookup
 (defun help--describe-command (definition &optional translation)
   (cond ((or (stringp definition) (vectorp definition))
          (if translation
-             (insert (key-description definition nil) "\n")
+             (insert (concat (key-description definition nil)
+                             (when-let ((char-name (char-to-name (aref def=
inition 0))))
+                               (format "\t%s" char-name))
+                             "\n"))
            ;; These should be rare nowadays, replaced by `kmacro's.
            (insert "Keyboard Macro\n")))
         ((keymapp definition)
--=20
2.39.2


--=-=-=--




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

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


Received: (at 71411) by debbugs.gnu.org; 7 Jun 2024 11:43:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 07:43:00 2024
Received: from localhost ([127.0.0.1]:49638 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sFXzn-0001ZO-Or
	for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 07:43:00 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37742)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sFXzj-0001YS-6E
 for 71411 <at> debbugs.gnu.org; Fri, 07 Jun 2024 07:42:56 -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 1sFXSY-0007zx-6M; Fri, 07 Jun 2024 07:08:38 -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=w1c2NPKbEnkLgvhJiOnKZvLw9DSZn8PobKr3fmBgUNQ=; b=PwvONkylgVCwkymn1ZdG
 qdIuqTit01CuCtoJ58y7TwbcC2UlG8x4K5DfAaLIBToF9OtuKTRXqZEg7MWSUAeDY6OlUXdKIxSPR
 Lk+uUlrP1SiFPIJ+8agPz05ez9Dq2++SOrtUKOOxxm+6b+g5T2qi0yip6p2L/vpkrUJcCvyOLWKYB
 7oYHfn/AT7fxcVu5h9lHrZPScQ9rlbm48S7Hd+0xmJf4fZ+2+15Zv1mrjKFV6BUGCbfNoEv3B/jL7
 R/TBbUaKsSyNT0pdT8E24ZnCm98//s+qikxYa+jxUkauHrLkvMiAszimmeY8ATA0fEv/4gOrQFcSz
 Jo3I71KQWT3qnw==;
Date: Fri, 07 Jun 2024 14:08:33 +0300
Message-Id: <86frtpf1se.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Robert Pluim <rpluim@HIDDEN>
In-Reply-To: <878qzhhwkl.fsf@HIDDEN> (message from Robert Pluim on Fri, 07
 Jun 2024 12:32:58 +0200)
Subject: Re: bug#71411: 30.0.50;
 Show Unicode names when describing translations
References: <878qzhhwkl.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: 71411
Cc: 71411 <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: Fri, 07 Jun 2024 12:32:58 +0200
> 
> 
> 'C-x 8 RET' will show Unicode names when it shows completions, which
> helps people find the complete name of the character they want to use.
> 
> I have a patch to do something similar for 'C-h k' and 'C-h b' (for
> translated keys only), so youʼd get
> 
> 'C-h k C-x 8 E' =>
> 
>     € 'EURO SIGN' (translated from C-x 8 E)
> 
> Since the purpose of this is to provide more information by default in
> situations where people are searching for answers, I
> donʼt think this needs a configuration variable, unlike the analogous
> feaure in 'what-cursor-position'. (yes, people can hit 'C-u C-x =' in
> the *Help* buffer, but first they have to know about that).

Does this mean that if I type "C-h k a" I will be told that a is LATIN
SMALL LETTER A?  That'd be an annoyance, I think.




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

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


Received: (at submit) by debbugs.gnu.org; 7 Jun 2024 10:33:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 07 06:33:22 2024
Received: from localhost ([127.0.0.1]:44788 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sFWuP-0003zf-QL
	for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 06:33:22 -0400
Received: from lists.gnu.org ([209.51.188.17]:33140)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rpluim@HIDDEN>) id 1sFWuN-0003zT-Gz
 for submit <at> debbugs.gnu.org; Fri, 07 Jun 2024 06:33:20 -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 1sFWu8-00045V-1Z
 for bug-gnu-emacs@HIDDEN; Fri, 07 Jun 2024 06:33:04 -0400
Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <rpluim@HIDDEN>) id 1sFWu6-0001eR-CS
 for bug-gnu-emacs@HIDDEN; Fri, 07 Jun 2024 06:33:03 -0400
Received: by mail-lf1-x130.google.com with SMTP id
 2adb3069b0e04-52b9af7a01bso2516602e87.0
 for <bug-gnu-emacs@HIDDEN>; Fri, 07 Jun 2024 03:33:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1717756380; x=1718361180; 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=3QkMzGLyuyXdVXlDeqbYKXFIdhS58C9vUwlqI4D8rQc=;
 b=DGcjmjvqhzMbWtYvnfvIYmbxfysqHy7pjzhhMx/hVuz4UCXni7t+gl9oJ+1Xwu74ZR
 XpceedKY0i+9wTNKUBMgrc0/3NzHSd/GM0+8XlabnSFj93fEHXemj9uNkRblYKpvwihT
 rixx4vGEPbmGEgkaSnZJY1osd2NHbhXv+QSVkGpn1kABvekUCX4+E5QsQpaSNZVzpf8/
 Rsk6u08mo5YJsu6xqSGYPAGZXXErZcjJCMGekt1s6pKYlujhNZT6hxAJnFYtl0P6rnim
 zhe7WY0bTt6+kupOgTRCSNJo8Q9OrW1SSeS3JsN3/t9GJIMpwYybuWM3XxCCG15tCZWz
 5nlA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1717756380; x=1718361180;
 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=3QkMzGLyuyXdVXlDeqbYKXFIdhS58C9vUwlqI4D8rQc=;
 b=czas+e4gEKPDbrLxZNxMpwIw2o5b0F8zylcHN9xZYSd4b2V/YBY4JbYH4yU7oOBTaB
 cjFOboLUkJJvm3IfMNG3qBNpB0uABzGyKjFHuk8Y79cI+e9EPtLDzdarnCM0EPzm9dr8
 g0c5tmqe4t5AeovDieE+9v80ErCYYDg9BR0M4MjkWtts+uZKBv86GU1HCVD+cia2sZOj
 y5PHBvwPyzaExr5HcH0m8JGiHWioqEDCZcAtY1K6kfdx9ZilQaiOtt0nQYYcVq1cZ4t0
 +FvFrOM/78rMeZEWs7VHujyDIA/+mjSRvwSyja0K14FgkiE7A3fT+IcjfAKkaFw0Hd2F
 YtOA==
X-Gm-Message-State: AOJu0Yz6r1NayjtDfjWNRZfZ6I/RWaneETb4MVJt6YqerTaGpW6ie70k
 RYT/NjMoiDBxaS6i9oD8oymj2HdA0y6IKgesduVlSGMV6UdBr2aEaxvMNA==
X-Google-Smtp-Source: AGHT+IFI+EEXcIHCJ6Af5YPnygPnv4saqN62UMR5A46b9Nvd0cFYI+XB5bPq45hCDkaFLDKy87ZT1Q==
X-Received: by 2002:ac2:42c6:0:b0:523:e756:2838 with SMTP id
 2adb3069b0e04-52bb9f8190dmr1240769e87.39.1717756379528; 
 Fri, 07 Jun 2024 03:32:59 -0700 (PDT)
Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-35ef5d29e63sm3692892f8f.17.2024.06.07.03.32.58
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 07 Jun 2024 03:32:58 -0700 (PDT)
From: Robert Pluim <rpluim@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; Show Unicode names when describing translations
X-Debbugs-No-Ack: yes
X-Debbugs-Cc: 
Date: Fri, 07 Jun 2024 12:32:58 +0200
Message-ID: <878qzhhwkl.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::130;
 envelope-from=rpluim@HIDDEN; helo=mail-lf1-x130.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 (--)


'C-x 8 RET' will show Unicode names when it shows completions, which
helps people find the complete name of the character they want to use.

I have a patch to do something similar for 'C-h k' and 'C-h b' (for
translated keys only), so you=CA=BCd get

'C-h k C-x 8 E' =3D>

    =E2=82=AC 'EURO SIGN' (translated from C-x 8 E)

Since the purpose of this is to provide more information by default in
situations where people are searching for answers, I
don=CA=BCt think this needs a configuration variable, unlike the analogous
feaure in 'what-cursor-position'. (yes, people can hit 'C-u C-x =3D' in
the *Help* buffer, but first they have to know about that).

Patch to follow when I have the bug number.

Robert
--=20




Report forwarded to bug-gnu-emacs@HIDDEN:
bug#71411; 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: Sun, 30 Jun 2024 05:45:02 UTC

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