From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alan E. Davis" Subject: Feature Request: Assort a subtree randomly ? Date: Mon, 17 Jan 2011 11:51:52 +1000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0868245194==" Return-path: Received: from [140.186.70.92] (port=48584 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PeeGe-000354-6c for emacs-orgmode@gnu.org; Sun, 16 Jan 2011 20:52:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PeeGc-0001SA-50 for emacs-orgmode@gnu.org; Sun, 16 Jan 2011 20:52:23 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:52953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PeeGc-0001Rd-05 for emacs-orgmode@gnu.org; Sun, 16 Jan 2011 20:52:22 -0500 Received: by wyj26 with SMTP id 26so4743177wyj.0 for ; Sun, 16 Jan 2011 17:52:20 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode --===============0868245194== Content-Type: multipart/alternative; boundary=0016e6d785a5d0a927049a0108e8 --0016e6d785a5d0a927049a0108e8 Content-Type: text/plain; charset=ISO-8859-1 Let's say I have a subtree, of review materials, for example. I would like to randomize the order of the elements. I would like to have the option to randomize the subtree in some different ways: 1. sort the members of one subtree that is a list, randomly. 2. sort all the headlines, randomly. 3. sort the subtrees randomly, and the lists within each sub-subtree also randomly, ad nauseum. I have written a sort routine in elisp. It's been many long years ago, but I remember that the basis support for writing sorts is pretty general. Suppose I had time to do this. What would I need to look at? Of course, my need is today, to sort review materials for my students in random order. Alan Davis "Pollution is nothing but the resources we are not harvesting. We allow them to disperse because we've been ignorant of their value." --- R. Buckminster Fuller --0016e6d785a5d0a927049a0108e8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Let's say I have a subtree, of review materials, for example.=A0 I woul= d like to randomize the order of the elements.=A0 I would like to have the = option to randomize the subtree in some different ways:

=A0=A0=A0 1.= =A0 sort the members of one subtree that is a list, randomly.
=A0=A0=A0 2.=A0 sort all the headlines, randomly.
=A0=A0=A0 3.=A0 sort t= he subtrees randomly, and the lists within each sub-subtree also randomly, = ad nauseum.

I have written a sort routine in elisp.=A0 It's bee= n many long years ago, but I remember that the basis support for writing so= rts is pretty general.

Suppose I had time to do this.=A0 What would I need to look at?

= Of course, my need is today, to sort review materials for my students in ra= ndom order.

Alan Davis


=09
"Pollution is nothing but the resources we=20 are not harvesting. We allow them to disperse because we've been=20 ignorant of their value."
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0=A0=A0=A0 --- R. Buckminster Fuller

--0016e6d785a5d0a927049a0108e8-- --===============0868245194== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0868245194==--