emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Muchenxuan Tong <demon386@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Feature: Group and limit items in agenda
Date: Sat, 23 Feb 2013 10:58:09 +0100	[thread overview]
Message-ID: <87ppzr2tn8.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CANvjMg=c_hRXwQvzcCwMzXjtc=U7EvJRg4FR5As+-LNGSHeCvA@mail.gmail.com> (Muchenxuan Tong's message of "Sun, 17 Feb 2013 14:29:12 +0800")

Hi Muchenxuan,

Muchenxuan Tong <demon386@gmail.com> writes:

> There's a 'org-agenda-before-sorting-filter-function' variable.
> However, I'm not able to use it for grouping things, because it's
> used as '(mapcar org-agenda-before-sorting-filter-function list)'
>
> Would it be useful to add another function here, not used in
> 'mapcar', but work directly on the whole list? I don't know whether
> it is worthy, and I'm OK if that's not general enough to be added,
> because I can use defadvice anyway :)

Well, I guess you don't want the grouping to take place *before* the
sorting, as the sorting may destroy it, so a defadvice is the way to
go here I'd say.  If your defadvice can be useful for others, please
consider adding it to Worg! (Just send me your public key and I'll
give you write access to Worg.)

Thanks,

-- 
 Bastien

  reply	other threads:[~2013-02-23 10:48 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 [this message]
2013-02-24 20:23           ` Samuel Wales
2013-02-25  9:50             ` Bastien

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=87ppzr2tn8.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=demon386@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).