[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [PATCH] Display a count of items next to each list (or block)

From: Bernt Hansen
Subject: Re: [O] [PATCH] Display a count of items next to each list (or block)
Date: Sat, 28 Sep 2013 11:35:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

"Sebastien Vauban" <sva-news-D0wtAvR13HarG/address@hidden>

> In order to make Org much nicer to use, I felt we missed a count of items next
> to the lists (or blocks, for multi-block agenda views). Here is a patch to add
> this, depending on the new variable `org-agenda-display-count-of-items'
> (enabled by default).
> The count of items must be updated when you apply tag filtering on lists. The
> patch does it as well.

This patch doesn't report correct counts when a compact agenda is used
and you filter by some task that doesn't match any entries in your

The block is empty and shows no tasks but the counter is incorrect.

--8<---------------cut here---------------start------------->8---
;; Compact the block agenda view
(setq org-agenda-compact-blocks t)
--8<---------------cut here---------------end--------------->8---

Filter by some tag not in these blocks


--8<---------------cut here---------------start------------->8---
Tasks to Refile (15/0)
Stuck Projects (15/1)
--8<---------------cut here---------------end--------------->8---

If the counts are correct I think this makes a good addition to org-mode.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]