unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: per.abrahamsen@gmail.com, emacs-devel@gnu.org
Subject: Re: no doc for `group' in custom :type
Date: Mon, 26 Nov 2007 00:34:25 -0500	[thread overview]
Message-ID: <E1IwWbx-0007cF-4E@fencepost.gnu.org> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICOEIIEBAA.drew.adams@oracle.com>

    The doc bug described below was apparently fixed by just adding an
    explanation of the type `group' (in node Common Keywords).

I do not see that.  Can you please SHOW the text you are referring
to rather than describing it?

Anyway that is the wrong place to explain a type.
So I just wrote text to expain `group' in Composite Types.
  
    However, the example that should have been changed to use `list' instead of
    `group' still uses `group'. See type `alist' in node Simple Types.

Do you mean this?

    @smallexample
    (defcustom list-alist '(("foo" 1) ("bar" 2) ("baz" 3))
      "Each element is a list of the form (KEY VALUE)."
      :type '(alist :value-type (group integer)))
    @end smallexample

I think it is ok to use `group' if that looks better.

  reply	other threads:[~2007-11-26  5:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <66a8b7a0708010919o38956bf6o844746290dad6a56@mail.gmail.com>
2007-11-25  0:50 ` no doc for `group' in custom :type Drew Adams
2007-11-26  5:34   ` Richard Stallman [this message]
2007-11-26 18:16     ` Drew Adams
2007-11-27  5:31       ` Richard Stallman
2007-11-27  5:48         ` Drew Adams
     [not found] <BDEIJAFNGDOAGCJIPKPBKEPJCEAA.drew.adams@oracle.com>
2007-06-09 20:24 ` Richard Stallman
2007-07-23 18:06 ` Richard Stallman

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=E1IwWbx-0007cF-4E@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=per.abrahamsen@gmail.com \
    /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).