From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: Habits in agenda view Date: Mon, 27 Feb 2012 13:49:29 +0100 Message-ID: References: <5E17CCD4AACE3A4C8CFF411186AE8190350346@ExDAG30-N1.hostallapps.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46107) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S201G-0001No-TP for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 07:49:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S201C-0005TS-Gt for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 07:49:34 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:58364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S201C-0005TB-AS for emacs-orgmode@gnu.org; Mon, 27 Feb 2012 07:49:30 -0500 Received: by wibhj13 with SMTP id hj13so3692855wib.0 for ; Mon, 27 Feb 2012 04:49:29 -0800 (PST) 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: Renger van Nieuwkoop Cc: "emacs-orgmode@gnu.org" Hi Renger Not sure why you want to skip habits in tags-todo, they should not appear anyway. Try: ("s" "Agenda with Next and Habit as separated views" ((agenda "" ((org-habit-show-habits 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) )) (agenda "HABIT" ((org-agenda-overriding-header "Habits") (org-agenda-entry-types '(:scheduled)) (org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp ":STYLE:.*habit")))))) See also this thread: http://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00665.html Michael