From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hong Xu Newsgroups: gmane.emacs.bugs Subject: bug#74999: [PATCH v3] Recommend `keymap-set' instead of `define-key' in emacs lisp intro Date: Mon, 23 Dec 2024 12:42:34 -0800 Message-ID: <87a5cm1685.fsf@topbug.net> References: <20241220214351.57036-1-hong@topbug.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20532"; mail-complaints-to="usenet@ciao.gmane.io" To: 74999@debbugs.gnu.org, Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 23 21:43:22 2024 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 1tPpGr-0005D3-So for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Dec 2024 21:43:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPpGe-0003ue-PX; Mon, 23 Dec 2024 15:43:08 -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 1tPpGa-0003pf-Hv for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 15:43:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tPpGY-0004Cc-VP for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 15:43:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:In-Reply-To:From:To:References:Subject; bh=PAbTvSscsgYWKUNXpObCCgdoBwQAF4P9Z5JtP5/JjUI=; b=Y2eda7QIIFUvz7pUcm4HBLS4HwIzKgeFoPy0ZvZslzECPTI15Fvrwfrpt8RlSSc9IUcSbHGVTPQ4SwczyOIsDlUCy+TdQocg/RpgMhXEdR2qWFIX3wdABkWZ9VQYdA/GbzyB69+l+AQvdDX4O5MWjZjkcg+AKW2WjPzX5NMvnGISUjXd8VPbVEJ/46kYLXw4IgqsqlmZhUqx2tCGpKki0ovS6pP8aF+D8Y0m2y8B3QSq4MV5ARmY8oub+SBpFw5OFZQMXvXIZSEB+869HdniNEd0tLa1Qy8sH+CZTic2UHFlgcKFRXgSpgdEi4AXVOg5XY8ZmvfJqPPwHWvs1dgpDQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tPpGY-0002cL-ES for bug-gnu-emacs@gnu.org; Mon, 23 Dec 2024 15:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Hong Xu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Dec 2024 20:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74999 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74999-submit@debbugs.gnu.org id=B74999.173498657410043 (code B ref 74999); Mon, 23 Dec 2024 20:43:02 +0000 Original-Received: (at 74999) by debbugs.gnu.org; 23 Dec 2024 20:42:54 +0000 Original-Received: from localhost ([127.0.0.1]:58193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPpGP-0002bu-A5 for submit@debbugs.gnu.org; Mon, 23 Dec 2024 15:42:53 -0500 Original-Received: from sender4-of-o52.zoho.com ([136.143.188.52]:21288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tPpGM-0002bm-Nq for 74999@debbugs.gnu.org; Mon, 23 Dec 2024 15:42:51 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1734986558; cv=none; d=zohomail.com; s=zohoarc; b=aAYPLSVXiQNSQAeJ2KlX/3nMnYmJqhA9lf6c35+zh6y6t2cxN4d//MwNzDoMQV6FJzk7bsxFmsOalU8iogOYaft98b2qPevhPfslqwMI0gkXInUOjnks8++u/7scmcS2C2nGFJ9ZCkxOdXBeNwEDn3WlWsJp9Dss6PTTun7ALLg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1734986558; h=Content-Type:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=PAbTvSscsgYWKUNXpObCCgdoBwQAF4P9Z5JtP5/JjUI=; b=TI2JdePMODKOW5N8MJH4+D0Ztbv8vH4aq8a854uqqnwum6KzhD2OWsHWhaIwa0Fjk9nHOZn47qoNV5mDXMJWsUm/eJ/gPTQhsnB0zRn54E+8jGyfeCT9ssfOBX046dz8FyB/bUonGmOSFOZ2UwZ7qw1zxoezNGba6erM8j6m60A= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=topbug.net; spf=pass smtp.mailfrom=hong@topbug.net; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1734986558; s=zoho; d=topbug.net; i=hong@topbug.net; h=From:From:To:To:Subject:Subject:In-Reply-To:Date:Date:Message-ID:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=PAbTvSscsgYWKUNXpObCCgdoBwQAF4P9Z5JtP5/JjUI=; b=E0kDeODMyl6UCivKTiUCtfpB6j1IldRC+tk24WcNvO+sYgRsigV/BpXXWJbotak1 Tfkn1n1B47P9v1bocmMOPQ1Rz5sRRG3Kn5R1Z9tG+LF0+cn2sq1LxgNzE8vokkkih1r mKvLusvWlLDQDcoIK2NJ/B4sliiSn94uqpQ7HMrc= Original-Received: by mx.zohomail.com with SMTPS id 1734986555609455.9858013384576; Mon, 23 Dec 2024 12:42:35 -0800 (PST) In-Reply-To: <20241221080552.259664-1-hong@topbug.net> (Hong Xu's message of "Sat, 21 Dec 2024 00:03:54 -0800") X-ZohoMailClient: External 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:297663 Archived-At: References: <86y1098pvj.fsf@gnu.org> <20241221080552.259664-1-hong@topbug.net> User-Agent: mu4e 1.12.8; emacs 29.4 Date: Mon, 23 Dec 2024 12:42:29 -0800 On 2024-12-21 Sat 00:03 GMT-08, Hong Xu wrote: > * Since `define-key' is considered legacy and we encourage `keymap-set' > now. > --- > doc/lispintro/emacs-lisp-intro.texi | 25 ++++++++++++++++++------- > 1 file changed, 18 insertions(+), 7 deletions(-) > > <...> In case you missed this, are you still interested in reviewing this patch? -- Hong