all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Renger van Nieuwkoop <renger@vannieuwkoop.ch>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Habits in agenda view
Date: Mon, 27 Feb 2012 13:49:29 +0100	[thread overview]
Message-ID: <CALn3zoh5DH8OQrPZeN8=8SVY191o_mQrduGm9atvbFyMrmTBKg@mail.gmail.com> (raw)
In-Reply-To: <5E17CCD4AACE3A4C8CFF411186AE8190350346@ExDAG30-N1.hostallapps.net>

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

      parent reply	other threads:[~2012-02-27 12:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-26 21:19 Habits in agenda view Renger van Nieuwkoop
2012-02-27  7:07 ` Viktor Rosenfeld
2012-02-27 12:49 ` Michael Brand [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALn3zoh5DH8OQrPZeN8=8SVY191o_mQrduGm9atvbFyMrmTBKg@mail.gmail.com' \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=renger@vannieuwkoop.ch \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.