From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#60859: [PATCH] Remove reference to the kbd function from documentation Date: Mon, 16 Jan 2023 16:47:32 +0200 Message-ID: <83ilh64juj.fsf@gnu.org> References: <87pmbeivcl.fsf@panoramix.zarniwoop.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6187"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60859@debbugs.gnu.org To: Panagiotis Koutsourakis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 16 15:48:33 2023 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 1pHQmm-0001Oo-OM for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Jan 2023 15:48:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHQmU-00009R-L6; Mon, 16 Jan 2023 09:48:14 -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 1pHQmI-00005V-Qi for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2023 09:48:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHQmI-0000h9-Im for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2023 09:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHQmI-0000mE-Cy for bug-gnu-emacs@gnu.org; Mon, 16 Jan 2023 09:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Jan 2023 14:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60859 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60859-submit@debbugs.gnu.org id=B60859.16738804572840 (code B ref 60859); Mon, 16 Jan 2023 14:48:02 +0000 Original-Received: (at 60859) by debbugs.gnu.org; 16 Jan 2023 14:47:37 +0000 Original-Received: from localhost ([127.0.0.1]:32807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHQls-0000jj-Jz for submit@debbugs.gnu.org; Mon, 16 Jan 2023 09:47:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHQlo-0000jG-9Z for 60859@debbugs.gnu.org; Mon, 16 Jan 2023 09:47:32 -0500 Original-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 ) id 1pHQlh-0000dK-CS; Mon, 16 Jan 2023 09:47:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=o2TcFBIFPGEXMyYt0U5OX1IjDnX+smxd87j07YHSHGA=; b=BTPqcEuRjZV9 50Je5uUqEsXaBPmshx+KUJ03Xch2W7ug+T6aNAnYbIPqDcmEV3pc5d3YCZM1l63pA1Vm2Cyr7Pqeq d8Tzb3hhcR0X0m0tukTu/hDjv0HAFSVoRiQDInDyk8B0aVJXgrMgKHzWiM4Ak78Tz8lkS7KQCcKv4 tEsdIkGt1d3g3qtfuh4xNzSYPylx9z27gw0hi2aoT2LlhmNg2/8vbrddO3IQAHMaDfWDJfa25qkPL KWFZWVvGw116Hl8juuSYcwS7RATC0QdImje/S/duHaZu4OK3JPAPAuUgbntIrEE57mThQUcSJtz1P WPuZoEjdfCTxQ7U3afwDzg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pHQlg-0000vD-9o; Mon, 16 Jan 2023 09:47:25 -0500 In-Reply-To: <87pmbeivcl.fsf@panoramix.zarniwoop.org> (message from Panagiotis Koutsourakis on Mon, 16 Jan 2023 13:15:22 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:253500 Archived-At: > From: Panagiotis Koutsourakis > Date: Mon, 16 Jan 2023 13:15:22 +0200 > > diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi > index 91df15a21d7..650a96f14b1 100644 > --- a/doc/emacs/custom.texi > +++ b/doc/emacs/custom.texi > @@ -1887,12 +1887,8 @@ Init Rebinding > you can specify them in your initialization file by writing Lisp code. > @xref{Init File}, for a description of the initialization file. > > -@findex kbd > - There are several ways to write a key binding using Lisp. The > -simplest is to use the @code{kbd} function, which converts a textual > -representation of a key sequence---similar to how we have written key > -sequences in this manual---into a form that can be passed as an > -argument to @code{keymap-global-set}. For example, here's how to bind > + The simplest way to write a key binding using Lisp is to use the > +@code{keymap-global-set} function. For example, here's how to bind > @kbd{C-z} to the @code{shell} command (@pxref{Interactive Shell}): I'm not sure we want to stop talking about 'kbd' in the manual. How about just adding the 'keymap-global-set' alternative without removing 'kbd'? > I think that this change qualifies as "small", but let me know if you > think I need to assign copyright. You don't need for this change, but if you intend to contribute to Emacs in the future, I recommend to start your legal paperwork now, so that we will have it ready when you submit your next contribution. If you agree, I will send you the form to fill. Thanks.