emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tim Cross <theophilusx@gmail.com>
To: Fabrice Niessen <news@pirilampo.org>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Grouping tasks with todo-keywords
Date: Mon, 26 Jun 2017 08:15:59 +1000	[thread overview]
Message-ID: <CAC=50j_tqupxzhPsJKBrnDpoaj_1EJAtVCGRqPLb+vM8-im-iw@mail.gmail.com> (raw)
In-Reply-To: <dh824lv4h23i.fsf@example.com>

[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]

I have this in my init.el - I did it years ago and it could be refined, but
works for my needs. My custom agenda view breaks the agenda into 4 blocks
of todos

- Completed/Cancelled
- WIP
- Delegated
- Backlog

    (setq org-agenda-custom-commands
          (quote
           (("n" "Agenda and all TODO's"
             ((agenda "" nil)
              (alltodo "" nil))
             nil)
            ("wr" "Weekly Report"
             ((todo "DONE|CANCELLED"
                    ((org-agenda-overriding-header "Completed and Cancelled
: Last Week")))
              (todo "STARTED|NEXT"
                    ((org-agenda-overriding-header "WIP")))
              (todo "HOLD|DELEGATED"
                    ((org-agenda-overriding-header "On Hold and Delegated
Tasks")))
              (todo "TODO"
                    ((org-agenda-overriding-header "Task Backlog"))))
             nil nil))))

On 25 June 2017 at 19:02, Fabrice Niessen <news@pirilampo.org> wrote:

> Narendra Joshi <narendraj9@gmail.com> writes:
> > Is it possible to group tasks in org-agenda by the state they are in?
> > For example, I would like to have horizontal divider between all tasks
> > that are ONGOING and tasks that are in TODO state.
> > I have already setup `org-agenda-sorting-strategy' to get the desired
> > order.
>
> You could be interested to have a look at my org-leuven-agenda-views.el,
> in my own "Emacs Leuven" configuration files.
>
> Fabrice
>
> --
> Fabrice Niessen
> Leuven, Belgium
> http://www.pirilampo.org/
>
>
>


-- 
regards,

Tim

--
Tim Cross

[-- Attachment #2: Type: text/html, Size: 2820 bytes --]

      reply	other threads:[~2017-06-25 22:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-17 18:22 Grouping tasks with todo-keywords Narendra Joshi
2017-06-25  9:02 ` Fabrice Niessen
2017-06-25 22:15   ` Tim Cross [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

  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='CAC=50j_tqupxzhPsJKBrnDpoaj_1EJAtVCGRqPLb+vM8-im-iw@mail.gmail.com' \
    --to=theophilusx@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=news@pirilampo.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).