From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#64693: Documentation for the definition of a Menu Item Date: Tue, 18 Jul 2023 11:35:27 +0000 Message-ID: References: <83o7k97a7v.fsf@gnu.org> Reply-To: uzibalqa 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="11394"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64693-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 18 13:36:16 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 1qLj03-0002ha-RN for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 18 Jul 2023 13:36:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLizv-0005xk-5z; Tue, 18 Jul 2023 07:36:07 -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 1qLizr-0005xJ-Mi for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 07:36:03 -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 1qLizr-0003CU-Eg for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 07:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLizr-0000ts-26 for bug-gnu-emacs@gnu.org; Tue, 18 Jul 2023 07:36:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: uzibalqa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Jul 2023 11:36:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64693 X-GNU-PR-Package: emacs Original-Received: via spool by 64693-done@debbugs.gnu.org id=D64693.16896801443408 (code D ref 64693); Tue, 18 Jul 2023 11:36:03 +0000 Original-Received: (at 64693-done) by debbugs.gnu.org; 18 Jul 2023 11:35:44 +0000 Original-Received: from localhost ([127.0.0.1]:51750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLizY-0000st-BT for submit@debbugs.gnu.org; Tue, 18 Jul 2023 07:35:44 -0400 Original-Received: from mail-40140.protonmail.ch ([185.70.40.140]:16983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLizU-0000sd-EG for 64693-done@debbugs.gnu.org; Tue, 18 Jul 2023 07:35:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1689680134; x=1689939334; bh=n+gW0X23k0l5QQfECxYUGIrhl/gotqmmJ33RR6YIAbY=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=X18H58CybDWEixC5SrE4V6nTJEd/c7K2M8dB2yG35noGwwnX8XQL6hS9iTMnjOkxs qjygQ2NB6mjHEDzPCo3Qt1PwO2IXO0Y1EI9sXuM40ExQBh3EyXSdvktuUzpxKJl8gm +6Tg4/Hd4IZL9SkfF07/MQOsHmk6ZkryQfGcZ7THPXLt3oymlh7QDPF5Y6/qgydV8c z90NAH/Pk1462USTIrk0LWmbilOUkI4tZ5uK03VMvw1gTUtjm6734aSNm9JpTnwIYE cwlHgf6YeLlIdS/r6dfm/441/3TO59HBSCFhiYjjru6EomPiUmdWGjBZ2Jk5oFjG2h 79Tuja40oTGcg== In-Reply-To: <83o7k97a7v.fsf@gnu.org> Feedback-ID: 52887082:user:proton 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:265446 Archived-At: ------- Original Message ------- On Tuesday, July 18th, 2023 at 11:03 PM, Eli Zaretskii wrote= : > > Date: Mon, 17 Jul 2023 20:44:04 +0000 > > From: uzibalqa via "Bug reports for GNU Emacs, > > the Swiss army knife of text editors" bug-gnu-emacs@gnu.org > >=20 > > Have been looking at the documentation for 'DEF' in 'define-key'. > >=20 > > (define-key KEYMAP KEY DEF &optional REMOVE) > >=20 > > DEF, the definition of a Menu Item is described in form as > >=20 > > (menu-item item-name binding . item-property-list) Looking at "23.17.1.1 Simple Menu Items" nowhere does it say that the vector of symbols is equivalent to the sequence of keystrokes=20 when using keyboard bindings (key sequences). =20 =20 > > 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. > >=20 > > But such detail is not properly described. >=20 >=20 > If you type "i property list RET" in Info, you will land in the > "Property Lists" node, which starts by saying: >=20 > A =E2=80=9Cproperty list=E2=80=9D (=E2=80=9Cplist=E2=80=9D for short) is = a list of paired elements. > Each of the pairs associates a property name (usually a symbol) with a > property or value. Provide a cross-reference to 'property list' in "23.17.1.2 Extended Menu It= ems". =20 > So I think when the manual says that item-property-list is a property > list, it does a good job. >=20 > > 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. >=20 >=20 > This is all properly done elsewhere in the manual; see my response to > your report in bug#64692. >=20 > So I'm closing this bug. >