From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: [PATCH] Display a count of items next to each list (or block) Date: Tue, 01 Oct 2013 12:39:40 -0400 Message-ID: <871u452beb.fsf@norang.ca> References: <86d2nwhdda.fsf@somewhere.org> <87ioxlc63e.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR2zc-0003aA-4h for emacs-orgmode@gnu.org; Tue, 01 Oct 2013 12:40:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VR2zV-0004Zu-3q for emacs-orgmode@gnu.org; Tue, 01 Oct 2013 12:40:11 -0400 Received: from plane.gmane.org ([80.91.229.3]:58216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VR2zU-0004Ui-UM for emacs-orgmode@gnu.org; Tue, 01 Oct 2013 12:40:05 -0400 Received: from public by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VR2zT-0007e4-73 for emacs-orgmode@gnu.org; Tue, 01 Oct 2013 18:40:03 +0200 In-Reply-To: <87ioxlc63e.fsf@norang.ca> (Bernt Hansen's message of "Sat, 28 Sep 2013 11:35:01 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org Bernt Hansen writes: > "Sebastien Vauban" > 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. This patch also breaks the default N and P key bindings which skips over uninteresting lines in the agenda. Regards, Bernt