From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viktor Rosenfeld Subject: Re: Habits in agenda view Date: Mon, 27 Feb 2012 08:07:39 +0100 Message-ID: <20120227070739.GB24318@kenny.fritz.box> References: <5E17CCD4AACE3A4C8CFF411186AE8190350346@ExDAG30-N1.hostallapps.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1ugQ-0002sj-BJ for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 02:07:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S1ugP-0005yw-8p for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 02:07:42 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:56258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S1ugP-0005ys-06 for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 02:07:41 -0500 Received: by bkty12 with SMTP id y12so4162321bkt.0 for ; Sun, 26 Feb 2012 23:07:40 -0800 (PST) Content-Disposition: inline In-Reply-To: <5E17CCD4AACE3A4C8CFF411186AE8190350346@ExDAG30-N1.hostallapps.net> 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: emacs-orgmode@gnu.org Hi Renger, why not use two differently configured agenda blocks in your agenda view. In the first you skip habits and in the second you skip everything else. Cheers, Viktor Renger van Nieuwkoop wrote: > Hi > I want to change my agenda view in such a way, that habits are shown as an explicit block below my agenda, but my solution (shown below) shows the habits still in my agenda view and without all the nice tracking color and symbols in the block below the agenda. It might be simple, but I don't seem to manage. Any help would be appreciated. > > Here is my code for the adjusted agenda view (the first block shows my tasks I should work on next: > > ("s" "Agenda with Next and Habit as separated views" > ((agenda "" nil ) > (tags-todo "-WAIT/!NEXT" > ((org-agenda-overriding-header "Next Tasks") > (org-agenda-skip-function 'skip-projects-and-habits) > (org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp "\\[#A\\]")) > (org-agenda-todo-ignore-scheduled t) > (org-agenda-todo-ignore-deadlines t) > (org-tags-match-list-sublevels t) > )) > (tags "HABIT" > ((org-agenda-overriding-header "Habits"))) > nil)) > Cheers > Renger >