all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: design ponderings: plist to alist
Date: Wed, 16 Apr 2014 10:16:19 +0200	[thread overview]
Message-ID: <87zjjl1ygc.fsf@gmail.com> (raw)
In-Reply-To: 87a9bl7rkd.fsf@zigzag.favinet

Thien-Thi Nguyen <ttn@gnu.org> writes:

> includes a function to convert plist (succinct to humans) to alist
> (succinct to computers).  I spent 20 minutes poking around the Emacs
> source searching for something builtin, to no avail.  

Are you aware of package kv.el from Nic Ferrier?

,--------------------------------------------------------------------------------
| 43 matches for "^[[:space:]]*(def[maus][^elt][a-z]*\*? " in buffer: kv.el
|      37:(defun kvalist->hash (alist &rest hash-table-args)
|      48:(defun kvhash->alist (hash &optional func)
|      68:(defun kvfa (key alist receive)
|      77:(defun kva (key alist)
|      83:(defun kvaq (key alist)
|      89:(defun kvaqc (key alist)
|      97:(defun kvassoc= (key value alist)
|     107:(defun kvassoqc (key alist)
|     115:(defun kvassoq= (key value alist)
|     129:(defun kvmatch (key regex alist)
|     134:(defun* kvquery->func (query &key
|     177:(defun kvplist2get (plist2 keyword value)
|     183:(defun kvthing->keyword (str-or-symbol)
|     192:(defun kvalist->plist (alist)
|     201:(defun kvacons (&rest args)
|     205:(defun keyword->symbol (keyword)
|     213:(defun kvplist->alist (plist &optional keys-are-keywords)
|     228:(defun kvalist2->plist (alist2)
|     234:(defun kvalist->keys (alist)
|     238:(defun kvalist->values (alist)
|     242:(defun kvalist-sort (alist pred)
|     246:(defun kvalist-sort-by-value (alist pred)
|     250:(defun kvalist->filter-keys (alist &rest keys)
|     258:(defun kvplist->filter-keys (plist &rest keys)
|     273:(defun kvplist2->filter-keys (plist2 &rest keys)
|     278:(defun kvalist2->filter-keys (alist2 &rest keys)
|     283:(defun kvalist2->alist (alist2 car-key cdr-key &optional proper)
| 
|     317:(defun* kvalist-keys->symbols (alist &key (first-fn 'identity))
|     329:(defun kvalist2-filter (alist2 fn)
|     337:(defun kvidentity (a b)
|     341:(defun kvcar (a b)
|     345:(defun kvcdr (a b)
|     349:(defun kvcmp (a b)
|     356:(defun kvqsort (lst)
|     368:(defun kvalist-set-value! (alist key value)
|     378:(defun kvdotassoc-fn (expr table func)
|     412:(defun kvdotassoc (expr table)
|     416:(defun kvdotassq (expr table)
|     420:(defun kvdotassoc= (expr value table)
|     428:(defmacro kv--destructuring-map (map-function args sequence &rest body)
|     436:(defmacro kvmap-bind (args sexp seq)
|     449:(defun kvplist-merge (&rest plists)
`--------------------------------------------------------------------------------

-- 
cheers,
Thorsten




  reply	other threads:[~2014-04-16  8:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-16  5:48 design ponderings: plist to alist Thien-Thi Nguyen
2014-04-16  8:16 ` Thorsten Jolitz [this message]
2014-04-16  8:35   ` Thien-Thi Nguyen
2014-04-16 10:04 ` Pascal J. Bourguignon
2014-04-16 17:20   ` Stefan Monnier
2014-04-16 17:29 ` Stefan Monnier

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=87zjjl1ygc.fsf@gmail.com \
    --to=tjolitz@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.