emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christopher Allan Webber <cwebber@dustycloud.org>
To: Emacs-orgmode <Emacs-orgmode@gnu.org>
Subject: habit-only agenda that doesn't remove tasks when done?
Date: Fri, 26 Apr 2013 09:02:11 -0500	[thread overview]
Message-ID: <87vc798k64.fsf@earlgrey.lan> (raw)

Hello,

I'd like to have a habit-only agenda view, if possible, that looks a bit
like:


Morning habits
--------------

life:  TODO Shave               [   * *  *    *         !]  habit::morning:
rsi:   TODO morning stretches   [  **   **    **       *!]  habit::morning:

Night habits
------------

life:  TODO Exercise            [   * *  *    *         !]  habit::night:


... and maybe an other category for cathing the rest.

I'd also like to have these habits not drop off the agenda view when I
move them to DONE if possible.  However, I'm getting the sense that this
isn't possible... it seems like the habit system works with
agendas-only, and there's no way to say "give me an agenda with only
these certain things on it".

Or, alternate option: is it possible to highlight a task with a certain
tag with a certain color?  Like, highlight tags with "morning" as blue,
or something?  I've looked at the way org-habit does it, it looks like
I'd have to do something like the following:

 - add a hook to org-agenda-finalize-hook
 - walk through the agenda and highlight the "morning" tasks manually

I could do that.

The reason for this is I have morning-specific tasks, and I always
narrow just to the morning tasks and then ignore the rest of the habits
for the day.  I'd like to get a view where I see both so I don't forget
to do the rest of the habits for the day.  Yes, I know that sounds
strange :)

There probably aren't easy answers to this, but if there are and I've
been missing them, I'd love to know! :)

 - Chris

             reply	other threads:[~2013-07-12 16:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-26 14:02 Christopher Allan Webber [this message]
2013-07-13  8:14 ` habit-only agenda that doesn't remove tasks when done? Noorul Islam K M
2013-11-21 16:25   ` Christopher Allan Webber

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=87vc798k64.fsf@earlgrey.lan \
    --to=cwebber@dustycloud.org \
    --cc=Emacs-orgmode@gnu.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).