emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org, Muchenxuan Tong <demon386@gmail.com>
Subject: Re: Feature: Group and limit items in agenda
Date: Mon, 25 Feb 2013 10:50:38 +0100	[thread overview]
Message-ID: <87r4k4oh75.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAJcAo8sGDeJinm-5EsKqF8JG2VbVmZ59uWUS4VCegzjp+c7CsQ@mail.gmail.com> (Samuel Wales's message of "Sun, 24 Feb 2013 13:23:34 -0700")

Hi Samuel,

Samuel Wales <samologist@gmail.com> writes:

> One other use here is to show a small random sample of your tasks
> without affecting speed.
>
> In before sorting filter function, set a pseudorandom number (biased
> according to a distribution of your choice) on a text property.  You
> can set some to appear always.
>
> In the mapcar function, use user-defined sorting to sort according to
> the numbers and limit to just the first 5.

Yes, this is a nice use of `org-agenda-before-sorting-filter-function'.

> Can defadvice be relied on to keep working in future versions of Org?

As much as possible, yes.

-- 
 Bastien

      reply	other threads:[~2013-02-25  9:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-23 18:13 Feature: Group and limit items in agenda Muchenxuan Tong
2013-01-23 21:35 ` AW
2013-02-07 10:41 ` Bastien
2013-02-11  5:10   ` Muchenxuan Tong
2013-02-11 13:42     ` Bastien
2013-02-17  6:29       ` Muchenxuan Tong
2013-02-23  9:58         ` Bastien
2013-02-24 20:23           ` Samuel Wales
2013-02-25  9:50             ` Bastien [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

  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=87r4k4oh75.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=demon386@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@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/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).