emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ypo <ypuntot@gmail.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: SOLVED: Could habits appear in the correspondent hour in org-agenda?
Date: Sun, 30 May 2021 13:07:05 +0200	[thread overview]
Message-ID: <296f3282-433c-6a51-c62b-0e3c3f10daec@gmail.com> (raw)
In-Reply-To: <87zgwcamug.fsf@localhost>

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

It works, thanks!

El 30/05/2021 a las 6:04, Ihor Radchenko escribió:
> 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

[-- Attachment #2.1: Type: text/html, Size: 1771 bytes --]

[-- Attachment #2.2: fjebmaenldgccjcb.png --]
[-- Type: image/png, Size: 13562 bytes --]

      reply	other threads:[~2021-05-30 11:07 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
2021-05-30 11:07       ` Ypo [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:

  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=296f3282-433c-6a51-c62b-0e3c3f10daec@gmail.com \
    --to=ypuntot@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \


* 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


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).