unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <14278@debbugs.gnu.org>
Subject: bug#14278: 24.3.50; doc of `defstruct'
Date: Fri, 26 Apr 2013 14:02:22 -0700	[thread overview]
Message-ID: <1D2539402A5743CCB3AEAFA999F4877B@us.oracle.com> (raw)
In-Reply-To: <66929FFAEED944A9872AEF400BED6815@us.oracle.com>



6. The manual says "(The SLOTS may begin with a string which documents the
structure type.)".  The doc string says nothing about this.

7. Does this mean that SLOTS can begin with a string or each element of SLOTS
(each slot) can begin with a string?  (Another problem with trying to make
"SLOTS" do double-duty in the doc. 

8. And in either case, how does such a string "document the structure type"?
(Is it instead perhaps a part of NAME and not SLOTS?)

I see nothing in the Common Lisp defstruct that resembles such a "string which
documents the structure type".  Searching the relevant sections of CLTL2E for
"doc" and "string" turns up nothing in this regard.

9. The doc should say, if it is true (as in Common Lisp), that no part of the
defstruct options is evaluated (unlike the case for SLOTS).






  reply	other threads:[~2013-04-26 21:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26 20:00 bug#14278: 24.3.50; doc of `defstruct' Drew Adams
2013-04-26 20:29 ` Drew Adams
2013-04-26 21:02   ` Drew Adams [this message]
2013-04-26 21:13     ` Drew Adams
2021-08-21 14:50 ` Lars Ingebrigtsen

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=1D2539402A5743CCB3AEAFA999F4877B@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=14278@debbugs.gnu.org \
    /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 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).