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


Message #16 received at 64692-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
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 13:54:13 +0300
> Date: Mon, 17 Jul 2023 20:17:19 +0000
> From:  uzibalqa via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> 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.

There's a node "Cons Cells" in the manual which explains that.

The cons cells are so central to Emacs Lisp that it is impractical to
explain them in each place where we use them in the manual, or even
provide a cross-reference in each such place.

> 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.

The Introduction manual has a node "List diagrammed", to which you
will get if you type "i cons cell RET", which describes that, with
pictures.

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

I disagree that it's "theoretical": it's quite practical, and even
includes an example.

So I don't think we have any problems in this area, and I'm therefore
closing this bug.




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.