* Could habits appear in the correspondent hour in org-agenda?
@ 2021-05-09 17:28 Ypo
2021-05-29 6:29 ` Ihor Radchenko
0 siblings, 1 reply; 5+ messages in thread
From: Ypo @ 2021-05-09 17:28 UTC (permalink / raw)
To: Org-mode
[-- Attachment #1: Type: text/plain, Size: 223 bytes --]
Hi
I am tinkering with the agenda to make it look better. I am quite happy
with the results, but I would like habits to go in the time of the day
when they are programmed to be done. Is it possible?
Best regards,
Ypo
[-- Attachment #2.1: Type: text/html, Size: 697 bytes --]
[-- Attachment #2.2: mlgipojmmcacbeoh.png --]
[-- Type: image/png, Size: 23149 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Could habits appear in the correspondent hour in org-agenda?
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
0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2021-05-29 6:29 UTC (permalink / raw)
To: Ypo; +Cc: Org-mode
Ypo <ypuntot@gmail.com> writes:
> ... I would like habits to go in the time of the day
> when they are programmed to be done. Is it possible?
Could you elaborate? Are you talking about position of the habit graph?
Best,
Ihor
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Could habits appear in the correspondent hour in org-agenda?
2021-05-29 6:29 ` Ihor Radchenko
@ 2021-05-29 23:49 ` Ypo
2021-05-30 4:04 ` Ihor Radchenko
0 siblings, 1 reply; 5+ messages in thread
From: Ypo @ 2021-05-29 23:49 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Org-mode
[-- Attachment #1.1: Type: text/plain, Size: 546 bytes --]
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
El 29/05/2021 a las 8:29, Ihor Radchenko escribió:
> Ypo<ypuntot@gmail.com> writes:
>
>> ... I would like habits to go in the time of the day
>> when they are programmed to be done. Is it possible?
> Could you elaborate? Are you talking about position of the habit graph?
>
> Best,
> Ihor
[-- Attachment #1.2.1: Type: text/html, Size: 1535 bytes --]
[-- Attachment #1.2.2: cdlcmhmlkmaipajb.jpg --]
[-- Type: image/jpeg, Size: 26417 bytes --]
[-- Attachment #1.2.3: naokhkmemaepkeeh.jpg --]
[-- Type: image/jpeg, Size: 47036 bytes --]
[-- Attachment #2: borrar-1.JPG --]
[-- Type: image/jpeg, Size: 26417 bytes --]
[-- Attachment #3: borrar-2.jpg --]
[-- Type: image/jpeg, Size: 47036 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Could habits appear in the correspondent hour in org-agenda?
2021-05-29 23:49 ` Ypo
@ 2021-05-30 4:04 ` Ihor Radchenko
2021-05-30 11:07 ` SOLVED: " Ypo
0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2021-05-30 4:04 UTC (permalink / raw)
To: Ypo; +Cc: Org-mode
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* SOLVED: Could habits appear in the correspondent hour in org-agenda?
2021-05-30 4:04 ` Ihor Radchenko
@ 2021-05-30 11:07 ` Ypo
0 siblings, 0 replies; 5+ messages in thread
From: Ypo @ 2021-05-30 11:07 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Org-mode
[-- 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 --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-05-30 11:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` SOLVED: " Ypo
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).