From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#45536: [PATCH] Pretty-print keys without <> around modifiers Date: Tue, 29 Dec 2020 10:31:45 -0800 (PST) Message-ID: <188d3006-24cf-4597-8c30-1009c62b269f@default> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29504"; mail-complaints-to="usenet@ciao.gmane.io" To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , 45536@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 29 19:34:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kuJp6-0007Yd-Sx for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Dec 2020 19:34:20 +0100 Original-Received: from localhost ([::1]:33182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kuJp5-0000W3-Uj for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Dec 2020 13:34:19 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35118) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kuJoq-0000Vv-MZ for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2020 13:34:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kuJon-00075A-So for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2020 13:34:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kuJon-0005FP-PM for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2020 13:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2020 18:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45536 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 45536-submit@debbugs.gnu.org id=B45536.160926683620158 (code B ref 45536); Tue, 29 Dec 2020 18:34:01 +0000 Original-Received: (at 45536) by debbugs.gnu.org; 29 Dec 2020 18:33:56 +0000 Original-Received: from localhost ([127.0.0.1]:40152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuJoh-0005F4-NM for submit@debbugs.gnu.org; Tue, 29 Dec 2020 13:33:55 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:52552) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kuJog-0005Er-9Y for 45536@debbugs.gnu.org; Tue, 29 Dec 2020 13:33:55 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0BTIV0si101022; Tue, 29 Dec 2020 18:33:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=HrQWdnWLBpYJDBXoAkodurqSI/RaJC1rZjfbLLajqVI=; b=o04ZIDeoTHriA6W+DbqadtgGiR5jagn5apLllnj2Fi0eLbO92++ggQd9CIt8FuPvHBTg z1aLP6MHbS8lC9pg0BfzzNFoMlT6LeGkRWmPV12UlE5JkFdMjKKDpl2fKaqW1yGqfRpi f0tQkooDZN4BcuV0C0rIj3qYlvnh/2eou4Y+E/j/7Y5mps9BJCZUjasX+uEo4T5hiTjJ 6z0ofyCVPY8rKLB17Fc6LXLPYkuJo0LKo+WRTMUwIOZxz6aVb+ksHabK6G9CcLmL6Tcx ioKI3EAai4mkJIeP5q9YegKXxEADPBfq6RydncVr7+S7v8KpqulDSLLzxB5hZ+cLITca 0g== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2130.oracle.com with ESMTP id 35ntpaq429-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 29 Dec 2020 18:33:47 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0BTIQNGV023975; Tue, 29 Dec 2020 18:31:47 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 35pf2xafvd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Dec 2020 18:31:47 +0000 Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0BTIVkET010688; Tue, 29 Dec 2020 18:31:46 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5095.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9849 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 mlxlogscore=999 mlxscore=0 bulkscore=0 malwarescore=0 suspectscore=0 spamscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012290117 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9849 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 adultscore=0 mlxscore=0 mlxlogscore=999 clxscore=1011 phishscore=0 lowpriorityscore=0 bulkscore=0 impostorscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012290117 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196960 Archived-At: > It is a bit inconsistent that keys are described as C-x and but = return>. It would be more logical to write C-. The key parser wil= l > happily accept either, but descriptions without modifiers in <> brackets = are > more legible, and the result is easier to understand and explain. >=20 > Attached is a patch which adapts the code that pretty-prints keys. This i= s a > change for human consumption only; it seems unlikely to affect compatibil= ity. > With the patch, is now printed as C-M-. >=20 > I'd be happy to update the manuals accordingly, and add a NEWS entry if > required. Related: https://www.emacswiki.org/emacs/NaKeD https://www.emacswiki.org/emacs/download/naked.el