all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Stefan Kangas <stefan@marxist.se>
Cc: 17403@debbugs.gnu.org, Noam Postavsky <npostavs@gmail.com>
Subject: bug#17403: 24.4.50; package-alist doc-string error
Date: Wed, 17 Jul 2019 15:23:03 +0100	[thread overview]
Message-ID: <87o91sg2pk.fsf@tcd.ie> (raw)
In-Reply-To: <CADwFkmkhtMEJTUYj0dyd2fxhoWx0aFYr8ORDzcZ_zcf2e05Qnw@mail.gmail.com> (Stefan Kangas's message of "Sun, 14 Jul 2019 17:58:16 +0200")

tags 17403 notabug
close 17403
quit

Stefan Kangas <stefan@marxist.se> writes:

> Is it a problem that this is documented as "(PKG . DESCS)" when the
> printed representation is "(PKG DESCS)"?

No, because the implicit printed representation is actually
(PKG DESC...), not (PKG DESCS).  In other words, the cadr of each alist
element is a single package-desc structure, not a list thereof.  Both
the code and the docstring agree on this AFAICT.

Dotted notation is often employed in documentation in order to more
explicitly describe metasyntactic structure.  This may initially confuse
users who see the implicit printed representation, but sooner or later
all Emacsites ought to learn that (A B) is equivalent to (A . (B)).

> If not, we can close this as notabug.

Done, thanks.

-- 
Basil





  reply	other threads:[~2019-07-17 14:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-05  1:42 bug#17403: 24.4.50; package-alist doc-string error Richard Kim
2019-07-14  3:22 ` Stefan Kangas
2019-07-14 14:26   ` Noam Postavsky
2019-07-14 15:58     ` Stefan Kangas
2019-07-17 14:23       ` Basil L. Contovounesios [this message]
2019-07-14 22:58     ` Michael Heerdegen
2019-07-17 14:10       ` Basil L. Contovounesios

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87o91sg2pk.fsf@tcd.ie \
    --to=contovob@tcd.ie \
    --cc=17403@debbugs.gnu.org \
    --cc=npostavs@gmail.com \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.