emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Alan E. Davis" <lngndvs@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Feature Request: Assort a subtree randomly ?
Date: Mon, 17 Jan 2011 11:51:52 +1000	[thread overview]
Message-ID: <AANLkTimRRrQNCGwaHon=k18GCZWFniDoTvDJtXWCcX0b@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 894 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1124 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

             reply	other threads:[~2011-01-17  1:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-17  1:51 Alan E. Davis [this message]
2011-01-29 14:42 ` Feature Request: Assort a subtree randomly ? Matt Lundin
2011-01-30 11:37   ` Alan E. Davis
2011-02-02 15:47   ` Bastien
2011-02-02 17:55     ` Matt Lundin

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.orgmode.org/

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

  git send-email \
    --in-reply-to='AANLkTimRRrQNCGwaHon=k18GCZWFniDoTvDJtXWCcX0b@mail.gmail.com' \
    --to=lngndvs@gmail.com \
    --cc=emacs-orgmode@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/org-mode.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).