From: Muchenxuan Tong <demon386@gmail.com>
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Feature: Group and limit items in agenda
Date: Sun, 17 Feb 2013 14:29:12 +0800 [thread overview]
Message-ID: <CANvjMg=c_hRXwQvzcCwMzXjtc=U7EvJRg4FR5As+-LNGSHeCvA@mail.gmail.com> (raw)
In-Reply-To: <87d2w6kier.fsf@bzg.ath.cx>
[-- Attachment #1: Type: text/plain, Size: 1976 bytes --]
Yes I understand your point. However, setting TODO for each category
manually would be laborious in my situation, I have to adjust the
configuration file each time I add/delete the project.
For my implementation, I advice on function 'org-agenda-finalize-entries'
to put lists into different groups, limit them and add separator after the
line '(setq list (mapcar 'org-agenda-highlight-todo list))'
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 :)
On Mon, Feb 11, 2013 at 9:42 PM, Bastien <bzg@altern.org> wrote:
> Hi Muchenxuan,
>
> Muchenxuan Tong <demon386@gmail.com> writes:
>
> > My intention is to limit the number of tasks in each category.
>
> Did you check (info "(org)Block Agenda") ?
>
> That's the way I would suggest: define a block agenda listing
> the various categories, then use `org-agenda-max-todos' in each
> of them to limit the number of TODOs.
>
> > For the new proposed 'org-agenda-max-todos', I can only limit the
> > number of TODOs in the whole TODO lists.
> >
> > Maybe for what I want, it's desirable to add a auto-split or
> > auto-group features, where a list of TODOs, can be split further into
> > multiple lists of TODOs, by a certain criteria (tags, category).
> >
> > What do you think about it?
>
> I understand defining block agendas is not as straightforward than the
> solution you envision, but my feeling is that allowing grouping+limits
> will have too much overlap with the block agenda functionality.
>
> Let me know if you find the path to happiness with a combinaison of
> block agendas and the new variables.
>
> Thanks,
>
> --
> Bastien
>
[-- Attachment #2: Type: text/html, Size: 2777 bytes --]
next prev parent reply other threads:[~2013-02-17 6:29 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 [this message]
2013-02-23 9:58 ` Bastien
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='CANvjMg=c_hRXwQvzcCwMzXjtc=U7EvJRg4FR5As+-LNGSHeCvA@mail.gmail.com' \
--to=demon386@gmail.com \
--cc=bzg@altern.org \
--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).