From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: Request: Specification For Denoting Keys Date: Tue, 6 Oct 2020 08:05:12 -0700 Message-ID: <24444.34728.646398.923214@retriever.mtv.corp.google.com> References: <83k0w3c1er.fsf@gnu.org> <24444.33059.201129.378700@retriever.mtv.corp.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18303"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, eliz@gnu.org, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 06 17:07:14 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kPoYc-0004gM-HY for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Oct 2020 17:07:14 +0200 Original-Received: from localhost ([::1]:51500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kPoYb-0008H9-IN for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Oct 2020 11:07:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kPoWm-0006Vu-Qd for emacs-devel@gnu.org; Tue, 06 Oct 2020 11:05:28 -0400 Original-Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:40758) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kPoWk-0001tz-9X for emacs-devel@gnu.org; Tue, 06 Oct 2020 11:05:20 -0400 Original-Received: by mail-pf1-x441.google.com with SMTP id w21so9186583pfc.7 for ; Tue, 06 Oct 2020 08:05:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:mime-version:content-transfer-encoding:message-id:date:to:cc :subject:in-reply-to:references; bh=L8zemAhmQKhLFdjPV4DnJY3pYu8ajHN15AcfTPVWbOE=; b=bst+49AJwoqBXABMwUtgGnaOclJ+pWwt5yfMZbmDcwrVDWEeQKbRZ/zqHkAPmt/myN r1lBp9ZvPHvF35C1AWwTWh3svGb+4OoA2PxHe2fyIRBYlBVvDxsd3I1Bjhjn4ePNY/66 Ivx+5LDGf7fjKNUMfAWSl5jVwXQBT4u+lsUBKXaXAJQN19wXd7/Ra5kAEqlpRENTBaMe 6Y4KOvNAAZgIn75JJmd9/4bdAXMlxNrMe+ynzPwLX1Io4mAsmd7kttc+uDdNPkKhru7N Kt8ADzwiGM0K3tnda/N6dKgvvLs4FFTAg08OjE1rIwICH6wJPEn1QU9VOwN2IkmDiABi +hMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:content-transfer-encoding :message-id:date:to:cc:subject:in-reply-to:references; bh=L8zemAhmQKhLFdjPV4DnJY3pYu8ajHN15AcfTPVWbOE=; b=i2Syq+tR2WlYsRbwhksem5w22ImHBHgwbUQ9ctPXDNYdxFaxJTaIMcnX0CVzqP5wIH /dduqt6waTKpvNQb4ag5HleoFJxOT4K0zEUWtejFdcFq6m/QXOSJP3l9uXxOl5I1ztZH 6nNhb00tQOLruJw7F2x0sxrpAAQ2EscrNsiZjz42Yz+0BNyHZY9ESkP2830ILKW9BtaQ A5N1yjYpz18Y/9zhmSVDlvEm6nI36xOzFRx7jLHESmXP6FgIW0U+l/1nhn2ffgwBDR9/ RcXUEe619GKEf2WSj5hsbTHdpcbuI1Pvhg4+/m58NvLmDDwExG2+sHS28TUPow0MH1TF uWUQ== X-Gm-Message-State: AOAM533qSd99A9nWyXMjJcrnwU6eJWROg8nf8armjcm/B8VlyccedPBR XW+GLKDQLugQMtRPwzpKQKYfwA== X-Google-Smtp-Source: ABdhPJxvL1c1UcDXD0jcAVqScpRr7VW2i8bTEGKbvVlb2yu6WWVELSMlsP586/5eThIqhfzsOLQfaw== X-Received: by 2002:a62:3382:0:b029:150:bde9:d408 with SMTP id z124-20020a6233820000b0290150bde9d408mr5496821pfz.12.1601996714671; Tue, 06 Oct 2020 08:05:14 -0700 (PDT) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1510:7220:84ff:fe0f:a150]) by smtp.gmail.com with ESMTPSA id d1sm3937064pfn.220.2020.10.06.08.05.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Oct 2020 08:05:13 -0700 (PDT) Original-Received: by retriever.mtv.corp.google.com (Postfix, from userid 13930) id AF93318003AE; Tue, 6 Oct 2020 08:05:12 -0700 (PDT) In-Reply-To: X-Mailer: VM 8.1.1 under 28.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::441; envelope-from=raman@google.com; helo=mail-pf1-x441.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:257169 Archived-At: thx. Because kbd traces back to reading in recorded kbd macros, it does more than what a function that you use in defining keys need to do -- look at edmacro-parse-keys to see what I mean by the above. For instance, kbd handles things like M-x command-name that might have been invoked while defining or recording a macro. Stefan Monnier writes: > > It gives examples, but it's unclear that it covers all notations t= hat > > have been used in the wild over the years --- as in "everything in= the > > info node is handled by (kbd ...)" but not everything handled by (= kbd > > ...) is in the info node. I'm not saying that the latter should > > happen, I'm looking at what a new parallel ( (call it keyname) > > function should be prepared to consume. >=20 > I'm not sure I understand what you're getting at, but `kbd` should > (hopefully) be the reverse of `key-description`. IIRC there are a f= ew > discrepancies between the two functions, but they should be consider= ed > as bugs rather than as features. >=20 >=20 > Stefan --=20 =E2=99=89Id: kg:/m/0285kf1 =F0=9F=A6=AE=E2=99=89 -- ♉Id: kg:/m/0285kf1 🦮♉