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#64692: Better descriptions of Cons Cells and Dotted Notation with real-life syntax Date: Mon, 17 Jul 2023 20:17:19 +0000 Message-ID: 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="10486"; mail-complaints-to="usenet@ciao.gmane.io" To: 64692@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 17 22:18:24 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 1qLUfm-0002XD-Sx for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 17 Jul 2023 22:18:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qLUfU-0004ht-VO; Mon, 17 Jul 2023 16:18:05 -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 1qLUfT-0004hS-Bv for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2023 16:18: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 1qLUfT-0007v0-4A for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2023 16:18:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qLUfS-0007pS-K3 for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2023 16:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: uzibalqa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 17 Jul 2023 20:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64692 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.168962505930049 (code B ref -1); Mon, 17 Jul 2023 20:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Jul 2023 20:17:39 +0000 Original-Received: from localhost ([127.0.0.1]:50983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLUf5-0007ob-9w for submit@debbugs.gnu.org; Mon, 17 Jul 2023 16:17:39 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:60098) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qLUf3-0007oN-4X for submit@debbugs.gnu.org; Mon, 17 Jul 2023 16:17:37 -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 1qLUeu-0004ee-BB for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2023 16:17:29 -0400 Original-Received: from mail-4319.protonmail.ch ([185.70.43.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qLUes-0007pl-1P for bug-gnu-emacs@gnu.org; Mon, 17 Jul 2023 16:17:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1689625043; x=1689884243; bh=8tx3TzOH3IkbA2O2+9p6KwDlbrE1kbDR1J6EN0ELM5A=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=PPqoUTUq44SoWD36ljX8hkMgXgFtvk507jMzKFUQsQrBVsyyC9rsbFBEzESpvNhxS qoXjgFDAwO9kQnwR3fDcmgqO+/e+HBM+BP5kGR43C2P6KRuTp4C/q0t1Va/Ok2Hssn ly0BV8Wn4pO41xKAr8J0sB8RlHKVPAPij0Amdz6V1ZMdyEAM+kPoo0DOU4r+XYD1ao 82y4lHNx1CoP5FxRuXAE4NT0ul189W0+fVjRiub9qI9KXkZlAXq4bUGi24TK0dgkgl C/62anta7pjMF3PyVH+LNN1hcpmrU7SZsJtttcgDeHPuHHLyWhcuC0So8IlcF3eRGq l0iQnta9eT3wg== Feedback-ID: 52887082:user:proton Received-SPF: pass client-ip=185.70.43.19; envelope-from=uzibalqa@proton.me; helo=mail-4319.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-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: 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:265413 Archived-At: Have been looking at the documentation of menu-item described as (menu-item item-name real-binding . item-property-list) This requires a good understanding of Cons Cells and Dotted Notation. But I do not see a serious attempt to explain this. Whereas the Emacs=20 Lisp Reference Manual isn't designed as a tutorial with explanations, the "Introduction to Programming in Emacs Lisp" simply refers to the=20 "Emacs Lisp Reference Manual" for understanding Cons Cells and Dotted Notat= ion. This means that the "Introduction to Programming in Emacs Lisp" would benef= it=20 from some real-life list syntax. Currently I find it short and far from rea= l-life. For instance, whilst it cam became natural for users to make menus. it woul= d be=20 difficult for them to understand that=20 (menu-item item-name real-binding . item-property-list) describes how "item-property-list" would not produce a list inside a list, = but a=20 single "(menu-item ..." list. In general, the construction of menus should be better described as it is c= urrently=20 too theoretical in the reference.