From: Bernt Hansen <bernt@norang.ca>
To: Sebastien Vauban
<public-sva-news-D0wtAvR13HarG/iDocfnWg@plane.gmane.org>
Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org
Subject: Re: [PATCH] Display a count of items next to each list (or block)
Date: Sat, 28 Sep 2013 11:35:01 -0400 [thread overview]
Message-ID: <87ioxlc63e.fsf@norang.ca> (raw)
In-Reply-To: <86d2nwhdda.fsf@somewhere.org> (Sebastien Vauban's message of "Wed, 25 Sep 2013 22:09:53 +0200")
"Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
writes:
> 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
block.
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
/ TAB PERSONAL RET
--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.
Regards,
Bernt
next prev parent reply other threads:[~2013-09-28 15:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-25 20:09 [PATCH] Display a count of items next to each list (or block) Sebastien Vauban
2013-09-26 7:34 ` Achim Gratz
2013-09-26 7:39 ` Sebastien Vauban
2013-09-28 15:35 ` Bernt Hansen [this message]
2013-09-30 9:05 ` Sebastien Vauban
2013-10-01 16:39 ` Bernt Hansen
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=87ioxlc63e.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org \
--cc=public-sva-news-D0wtAvR13HarG/iDocfnWg@plane.gmane.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).