GNU bug report logs - #64692
Better descriptions of Cons Cells and Dotted Notation with real-life syntax

Previous Next

Package: emacs;

Reported by: uzibalqa <uzibalqa <at> proton.me>

Date: Mon, 17 Jul 2023 20:18:02 UTC

Severity: normal

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: uzibalqa <uzibalqa <at> proton.me>
Subject: bug#64692: closed (Re: bug#64692: Better descriptions of Cons
 Cells and Dotted Notation with real-life syntax)
Date: Tue, 18 Jul 2023 10:34:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#64692: Better descriptions of Cons Cells and Dotted Notation with real-life syntax

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 64692 <at> debbugs.gnu.org.

-- 
64692: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64692
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Po Lu <luangruo <at> yahoo.com>
To: uzibalqa <uzibalqa <at> proton.me>
Cc: 64692-done <at> debbugs.gnu.org
Subject: Re: bug#64692: Better descriptions of Cons Cells and Dotted
 Notation with real-life syntax
Date: Tue, 18 Jul 2023 18:32:55 +0800
uzibalqa <uzibalqa <at> proton.me> writes:

> 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 
> Lisp Reference Manual isn't designed as a tutorial with explanations,
> the "Introduction to Programming in Emacs Lisp" simply refers to the 
> "Emacs Lisp Reference Manual" for understanding Cons Cells and Dotted Notation.
>
> This means that the "Introduction to Programming in Emacs Lisp" would benefit 
> from some real-life list syntax. Currently I find it short and far from real-life.
>
> For instance, whilst it cam became natural for users to make menus. it would be 
> difficult for them to understand that 
>
> (menu-item item-name real-binding . item-property-list)
>
> describes how "item-property-list" would not produce a list inside a list, but a 
> single "(menu-item ..." list.
>
> In general, the construction of menus should be better described as it is currently 
> too theoretical in the reference.

The node containing your example is located in the Emacs Lisp reference
manual, which contains two adequate descriptions of both dotted lists
and dotted pair notation.  I see no problem here; closing.

[Message part 3 (message/rfc822, inline)]
From: uzibalqa <uzibalqa <at> proton.me>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Better descriptions of Cons Cells and Dotted Notation with real-life
 syntax
Date: Mon, 17 Jul 2023 20:17:19 +0000
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 
Lisp Reference Manual isn't designed as a tutorial with explanations,
the "Introduction to Programming in Emacs Lisp" simply refers to the 
"Emacs Lisp Reference Manual" for understanding Cons Cells and Dotted Notation.

This means that the "Introduction to Programming in Emacs Lisp" would benefit 
from some real-life list syntax. Currently I find it short and far from real-life.

For instance, whilst it cam became natural for users to make menus. it would be 
difficult for them to understand that 

(menu-item item-name real-binding . item-property-list)

describes how "item-property-list" would not produce a list inside a list, but a 
single "(menu-item ..." list.

In general, the construction of menus should be better described as it is currently 
too theoretical in the reference.



This bug report was last modified 1 year and 311 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.