unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64692: Better descriptions of Cons Cells and Dotted Notation with real-life syntax
@ 2023-07-17 20:17 uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-07-18 10:32 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2023-07-18 10:54 ` Eli Zaretskii
  0 siblings, 2 replies; 11+ messages in thread
From: uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-07-17 20:17 UTC (permalink / raw)
  To: 64692

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.





^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2023-07-18 17:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-17 20:17 bug#64692: Better descriptions of Cons Cells and Dotted Notation with real-life syntax uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-18 10:32 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-18 10:36   ` Ihor Radchenko
2023-07-18 12:42     ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-18 12:58       ` Christopher Dimech
2023-07-18 13:24         ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-18 17:20   ` Drew Adams
2023-07-18 17:32     ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-18 10:54 ` Eli Zaretskii
2023-07-18 11:19   ` uzibalqa via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-07-18 17:13   ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).