From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.help Subject: Re: double angled brackets in kbd: <> Date: Thu, 01 Feb 2024 10:11:48 +0100 Message-ID: <87le8435wr.fsf@gmx.net> References: <87r0hx33r6.fsf@t-online.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33694"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Olaf Rogalsky Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 01 10:12:21 2024 Return-path: Envelope-to: geh-help-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 1rVT7M-0008YJ-5q for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 01 Feb 2024 10:12:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVT71-0000KD-5d; Thu, 01 Feb 2024 04:11:59 -0500 Original-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 ) id 1rVT6z-0000H2-49 for help-gnu-emacs@gnu.org; Thu, 01 Feb 2024 04:11:57 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVT6v-00063q-BR for help-gnu-emacs@gnu.org; Thu, 01 Feb 2024 04:11:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=s31663417; t=1706778710; x=1707383510; i=stephen.berman@gmx.net; bh=c4SycQWhjP1712QUqSYXpIy+RNOGJL4yR6cCbVUcsu8=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References: Date; b=asb54dcDv821Y/afYW4GvAoUELmVRt5y+s5u1xi1QJ1AmxreAWq0y9mGmIz41QXy heJoZllbwsTbhdjJu4Txc+XNOcnFNAH+Oa4vIe6nMtCShsGCSTXncrDjcBc5pvvgS 9mQRP18vez5h65ljXb2JC2QLY6sPjdBxElVGxr3jYUTnbVqGcpmnQaiflE1Y9Ywwz Bf4IPLCNQx9H9635qCJLmRdlj/XxWB5KQ2TEIvkZ+3SmhAwqjWv8OQRcvA3/wyCax mdgmAiTynF2uqho3aNnQk/bbZnJBfCzd+1HSG4by0jN88rWknsX67k3FPcW8Ocsth NLWYTrwuc0ZCWG3s7A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Original-Received: from strobelfs2 ([94.134.94.52]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N17YY-1r2MkW0Vxa-012Zzr; Thu, 01 Feb 2024 10:11:50 +0100 In-Reply-To: <87r0hx33r6.fsf@t-online.de> (Olaf Rogalsky's message of "Wed, 31 Jan 2024 16:18:09 +0100") X-Provags-ID: V03:K1:TFl3FAOGM3aymbqcyS7l+PZ3FlH0WWq2jEeSEi+srsiGcw8xz6W ZylEN4sXuqhMd+PgBkt45YhTSAcXLGaS2cArSGEj9Htn2/ZZkT9CUR9QtaputEf9BnKBxLR tJJudX0qIS/UACoISS+RvIWZ3HSquVApsBO6I3UBzdOxDBeiSMNfE95XliTzWKCnqa/plpA HMTQiCDGlfRNe9ELWx0/A== UI-OutboundReport: notjunk:1;M01:P0:PxDSsKa1NB4=;974gKgAeCWAEOKKnE7MQky2DtCj 7KQmKeCg6YB8w2Kxeq5ZyGpkZ4ES8+Khih2tsE2eZx7nOEnC9qQSNfmlCNSlW4PlzcI1KWo6c VHO27xWD29tLyVcbp7T4llVmUrFiJDJE0cCzOAHLxuecSs2vH/STUOzbNo4qOxX+YR8EzCUC3 J78btlirfr0TEpTIXlxpde49MSH3yAuuKgRDmWdnHylHHgWGy2+8L6dPLhoBc87DqThDmgWiu V0bt9tBAjR19AEd+795VO8Ct3X+oCaA0EEm7W1Ad8536B4zVrpxqSVoYvpeU+pC0JR5saIa9c 4CMj3LXQAkrJJ17rAA8Cblno0VlmTJOwMExAWB0dn/ZrtClxW0MhDmfAM4xsU076XTxTx8qHP dJQxnU6i4xb21V07kmi7fpT+qY0GIP4gWIcGrE4+qG67+sG11gcEowvArcU/QBxTJ7lQZvd+K 9qCSWmRgHPZ8A+Us1srjNXMoc1rXiaR0OyidDSTR5iYoCdvKEmflSCAcw59LkmS3unHm6bIA0 cvR38LC9Una8kxJ3nK4dPFyGS5X0ZFtolmt/RuG8hz/8ah+ZkGzu8gfIYynINplzDRW8KtpdU 3ZJnhFKCataifo4HL3FlblVpl0+k736IUT0umyqKsn8z2L0sVvSjt8LIF1lhythB3opei7ld2 qr36iGIF8TSXomH9Ull0Lks+Aysf6p8joqhfi9DYW23Z9rK1zGD2h81p7OwB67EtVvTV89qv6 +AW5FO7ros65Fsy1QJr7pM3y0Ne0DjmSpXSAEyEXFU343XnwMSsyWbZkaqUscQdkacn8PCMY Received-SPF: pass client-ip=212.227.17.20; envelope-from=stephen.berman@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145842 Archived-At: On Wed, 31 Jan 2024 16:18:09 +0100 Olaf Rogalsky wrote: > Hi, > > while reading the definition of `key-parse' I noticed, that the `kbd' > function converts strings enclosed in double angled brackets into a > the key strokes for an `execute-extended-command'. > > (equal (kbd "<>") > (kbd "M-x my-command\r")) > -> t > > I wonder, what is the use-case for these double angled brackets? They're used when editing keyboard macros, cf. this bit of the doc string of edmacro-mode: "Double angle brackets enclose command names: <> is shorthand for M-x next-line RET." Steve Berman