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#64693: Documentation for the definition of a Menu Item Date: Tue, 18 Jul 2023 14:03:32 +0300 Message-ID: <83o7k97a7v.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9342"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64693-done@debbugs.gnu.org To: uzibalqa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 18 13:04:32 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 1qLiVL-00024p-2I for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Jul 2023 13:04:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLiUu-00072p-Mc; Tue, 18 Jul 2023 07:04:04 -0400 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 1qLiUs-00071P-S3 for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 07:04:02 -0400 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 1qLiUs-0007ZU-K0 for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 07:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLiUs-0005yR-0Z for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 07:04:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2023 11:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 64693 X-GNU-PR-Package: emacs Mail-Followup-To: 64693@debbugs.gnu.org, eliz@gnu.org, uzibalqa@proton.me Original-Received: via spool by 64693-done@debbugs.gnu.org id=D64693.168967821222921 (code D ref 64693); Tue, 18 Jul 2023 11:04:01 +0000 Original-Received: (at 64693-done) by debbugs.gnu.org; 18 Jul 2023 11:03:32 +0000 Original-Received: from localhost ([127.0.0.1]:51672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLiUO-0005xd-2m for submit@debbugs.gnu.org; Tue, 18 Jul 2023 07:03:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLiUM-0005xL-FF for 64693-done@debbugs.gnu.org; Tue, 18 Jul 2023 07:03:30 -0400 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 1qLiUF-0007MG-9c; Tue, 18 Jul 2023 07:03:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=nFkLLNmgj4SbToCpJpraW1eYqEvsiMQXuplfa26GC7k=; b=ACRp8xOSACge2bg3Tq1O +0AlOmGFudqjl480m8H+/uENwoYp/LUpCLdVcolp6j9kpD5OrKcRM5u6h2QDHOQW4/etQaD9IC7FJ mo6yf0vTQcV/Aw+v5BqHGu21nj8WlGWGrIELCnoSPQOOToVL2IaG5RY6C+7SWfaE5XrELi25zzWRN mFkv9oIWa350ShKkCg3BLNN4v9byNscGZweI7vQtPV39C9CK7KmuviA5TkJuoCRqhVGgjkZa2INid nTo3+9nVv5eJSrmA5bwSJWSWr1/giUZNtEM94R4hlUTgC7PrBSpzv+BI9MQBMHXRTjKkp4tZedMh0 vcpiqFBEuu2HtA==; 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 1qLiU2-0003qH-Rg; Tue, 18 Jul 2023 07:03:21 -0400 In-Reply-To: (bug-gnu-emacs@gnu.org) 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:265437 Archived-At: > Date: Mon, 17 Jul 2023 20:44:04 +0000 > From: uzibalqa via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > Have been looking at the documentation for 'DEF' in 'define-key'. > > (define-key KEYMAP KEY DEF &optional REMOVE) > > DEF, the definition of a Menu Item is described in form as > > (menu-item item-name binding . item-property-list) > > Note that DEF constitutes a single list. The special > dotted notation indicates that 'item-property-list' is not > a separate list but rather enables any number of property > elements in the form of ':keyword value' within the same > list structure. > > But such detail is not properly described. If you type "i property list RET" in Info, you will land in the "Property Lists" node, which starts by saying: A “property list” (“plist” for short) is a list of paired elements. Each of the pairs associates a property name (usually a symbol) with a property or value. So I think when the manual says that item-property-list is a property list, it does a good job. > Furthermore, a more comprehensive explanation of Cons Cells, Dotted > Notation, and Backquote Construct, should be introduced and backed up > with real-life syntax such as the one described here. This is all properly done elsewhere in the manual; see my response to your report in bug#64692. So I'm closing this bug.