From: Ihor Radchenko <yantar92@gmail.com>
To: Ypo <ypuntot@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Could habits appear in the correspondent hour in org-agenda?
Date: Sun, 30 May 2021 12:04:39 +0800 [thread overview]
Message-ID: <87zgwcamug.fsf@localhost> (raw)
In-Reply-To: <6bca9e62-0629-d823-3df2-1094da8026fe@gmail.com>
Ypo <ypuntot@gmail.com> writes:
> Hi! Thanks for answering. It was just a thought. Habits appear like this
> (not sure how images can be attached in the mail list):
>
> borrar-1
>
> I thought it would be interesting to have the option to show them like this:
>
> borrar-2
>
> Thanks for your interest
You can do it simply by changing sorting strategy in agenda. By default,
org-agenda-sorting-strategy is
((agenda habit-down time-up priority-down category-keep)
(todo priority-down category-keep)
(tags priority-down category-keep)
(search category-keep))
You can see that for agenda `habit-down' is considered first in the
sorting order. That makes sense if you want all the habits to be grouped
together. If you prefer the habits to honour scheduled time ordering,
you simply swap `habit-down' and `time-up' in the sorting strategy:
(setq org-agenda-sorting-strategy '((agenda time-up habit-down priority-down category-keep)
(todo priority-down category-keep)
(tags priority-down category-keep)
(search category-keep)))
Best,
Ihor
next prev parent reply other threads:[~2021-05-30 4:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-09 17:28 Could habits appear in the correspondent hour in org-agenda? Ypo
2021-05-29 6:29 ` Ihor Radchenko
2021-05-29 23:49 ` Ypo
2021-05-30 4:04 ` Ihor Radchenko [this message]
2021-05-30 11:07 ` SOLVED: " Ypo
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=87zgwcamug.fsf@localhost \
--to=yantar92@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=ypuntot@gmail.com \
/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).