From: jrwats <jrwats@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Specifying plist requirements in defcustom?
Date: Wed, 15 Oct 2008 10:43:11 -0700 (PDT) [thread overview]
Message-ID: <558517ef-7001-469e-898c-3f1580f22fea@j68g2000hsf.googlegroups.com> (raw)
In-Reply-To: mailman.1126.1224089933.25473.help-gnu-emacs@gnu.org
> I'm no expert on Customize. The code in wid-edit+.el might help
> (http://www.emacswiki.org/emacs/wid-edit%2b.el), or it might not - dunno.
>
> If not, I believe that Lennart has some widget code that might help. And of
> course you can look in the Lisp sources that come with Emacs. And there's the
> widget Info manual, FWIW.
>
> If you do write some useful widget/Customize code, please share it (e.g.
> gnu-emacs-sour...@gnu.org or Emacs Wiki).- Hide quoted text -
>
Thanks for all the help guys. I'll definitely look into it, but will
likely cave and use the list type :)
What would be magically cool is if a repeat type could have the
options tag in it (which specifies keys in alists/plists).
(defcustom plist-opts3 nil
"uh"
:type '(repeat plist
:options '((name string) (branch string) (drive
string) (path string))))
Alas the options tag only works w/ defcustom...
prev parent reply other threads:[~2008-10-15 17:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-12 20:46 Specifying plist requirements in defcustom? jrwats
2008-10-12 23:18 ` Lennart Borgman (gmail)
2008-10-13 1:31 ` Drew Adams
[not found] ` <mailman.901.1223861517.25473.help-gnu-emacs@gnu.org>
2008-10-15 14:32 ` jrwats
2008-10-15 14:50 ` Drew Adams
2008-10-15 14:54 ` Lennart Borgman (gmail)
2008-10-15 15:41 ` Drew Adams
[not found] ` <mailman.1123.1224085332.25473.help-gnu-emacs@gnu.org>
2008-10-15 16:27 ` jrwats
2008-10-15 16:33 ` jrwats
2008-10-15 16:48 ` jrwats
2008-10-15 16:58 ` Drew Adams
[not found] ` <mailman.1126.1224089933.25473.help-gnu-emacs@gnu.org>
2008-10-15 17:43 ` jrwats [this message]
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=558517ef-7001-469e-898c-3f1580f22fea@j68g2000hsf.googlegroups.com \
--to=jrwats@gmail.com \
--cc=help-gnu-emacs@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 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.