From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#1111: describe-key's key notation display inconsistency Date: Thu, 8 Aug 2019 17:14:44 -0700 (PDT) Message-ID: <76f8d8ae-83ef-4062-881d-8e60a2a148a6@default> References: <06D80DE1-FCD6-45BB-B2D9-A968F797971C@xahlee.org> <85mugj3aqp.fsf@gmail.com> <0d832886-8112-4331-bd84-b9edbeac4398@default> <85k1bn3527.fsf@gmail.com> <87sgqbqmv8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="214356"; mail-complaints-to="usenet@blaine.gmane.org" Cc: xah lee , 1111@debbugs.gnu.org, Stefan Kangas To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 09 02:16:08 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hvsZk-000tg0-7V for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Aug 2019 02:16:08 +0200 Original-Received: from localhost ([::1]:55778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvsZj-0003c9-4X for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Aug 2019 20:16:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57186) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hvsZf-0003bp-3a for bug-gnu-emacs@gnu.org; Thu, 08 Aug 2019 20:16:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hvsZe-0008TN-Fy for bug-gnu-emacs@gnu.org; Thu, 08 Aug 2019 20:16:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33093) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hvsZe-0008TE-Bu for bug-gnu-emacs@gnu.org; Thu, 08 Aug 2019 20:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hvsZe-0000bz-0v for bug-gnu-emacs@gnu.org; Thu, 08 Aug 2019 20:16:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Aug 2019 00:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1111 X-GNU-PR-Package: emacs Original-Received: via spool by 1111-submit@debbugs.gnu.org id=B1111.156530970231071 (code B ref 1111); Fri, 09 Aug 2019 00:16:01 +0000 Original-Received: (at 1111) by debbugs.gnu.org; 9 Aug 2019 00:15:02 +0000 Original-Received: from localhost ([127.0.0.1]:41914 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvsYf-00084v-H0 for submit@debbugs.gnu.org; Thu, 08 Aug 2019 20:15:02 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:38808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hvsYd-00084Z-J2 for 1111@debbugs.gnu.org; Thu, 08 Aug 2019 20:15:01 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7904eE9175924; Fri, 9 Aug 2019 00:14:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=VGMeov5PlM/33y5eksa9S3lapyIE59qq5cA1EDP/K7g=; b=Pf1H27DW86/7jic8OMWDIdi05kzLxRgsYTEjbluUdVaVYDPK1nlhBABBAeIWBGYAf5J4 p0wsz11SG+XzeWUbwEMAVDsC7mq4+tJdP1bwVfeOm2Q8BHJTtr6OsWi+lJ5pIIP3uBNO 9aDxDRA9BlkeDNV224zQtlaz0oNJh4yqUQw9adgjLXSp0d5UWzNPeCsDv1l/wH+NKYLi xeXH5dPI/wrvHCvgJpIfGQPydW+4Wv/eRPM1mSKcQ89cUTH0vLcUdqaFatKPozuXoDCD 6WyiBoyBorUy5xuvkBSA0R7q23Cq1nz0Z3kGlISy28p2eV+HfS7rlDouEo9RTf4Trb2M pg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=VGMeov5PlM/33y5eksa9S3lapyIE59qq5cA1EDP/K7g=; b=LDzihKetjLW0Ya3g8qYJQlmH89E7RClb0cl0S2OF+ZaQpiZyrgRBNKPwyCJKFlvzPqaA eB5qxvCiVYG4LRfNhI0E2J25XqJJ1iNdYWR9+I1lgEQKXCs2oCn66zbEGTN70DLl0Xsj zngxv/gtDfVzmNApZbQek0a1NUcvHfts4DhXb1667oHBl6QtvnnaQfUTrYy1i/pcPk6V Pqmyfq4dv3T/seQGWhKJhRoVWIYkP3+Bb7vtT0nDKbvLOKjRiA8+fYFPrxOOFMQ6/hRr YWuZXTdIBWvhBg0sV3PbiWGx/TafRWIS9NfeyrANyB0tQeeOWgqIk/HDBFJpFNpSQq1l xw== Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2u8hascc9n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 09 Aug 2019 00:14:53 +0000 Original-Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7908bdc145096; Fri, 9 Aug 2019 00:14:53 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserp3030.oracle.com with ESMTP id 2u8x1g83hg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 09 Aug 2019 00:14:52 +0000 Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x790EjvX002871; Fri, 9 Aug 2019 00:14:46 GMT In-Reply-To: <87sgqbqmv8.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9343 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908080214 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9343 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908080214 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164787 Archived-At: > > The value of the event is a symbol. >=20 > I don't understand where you're getting that idea from. > (info "(elisp) Keyboard Events"): >=20 > There are two kinds of input you can get from the keyboard: > ordinary keys, and function keys. Ordinary keys correspond to=20 > (possibly modified) characters; the events they generate are=20 > represented in Lisp as characters. We're not talking about ordinary keys. We're talking about function keys. They're not represented as characters. They're represented as Lisp symbols. (elisp) `Function Keys': Function keys are represented in Emacs Lisp as symbols; the symbol's name is the function key's label, in lower case. For example, pressing a key labeled generates an input event represented by the symbol 'f1'. (Note: not the symbol `' - see my statement that I think the doc that says that the angle brackets are part of the event name is incorrect, per this doc passage.) The event type of a function key event is the event symbol itself. See Classifying Events. ... the symbol for the key with held down is `M-f3'. Similarly, in (elisp) `Classifying Events' it talks about event types also being symbols: ... the event type for a function key symbol is the symbol itself. "Function key symbol", there seems to be the symbol talked about in `Function Keys'. So function keys and their events and the event types are all "represented in Emacs Lisp by symbols". Likewise, event modifiers are symbols.