emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-agenda-sorting-strategy's sorting of deadline and schedule is opposed
@ 2020-03-07 14:15 stardiviner
  2020-05-24 11:53 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: stardiviner @ 2020-03-07 14:15 UTC (permalink / raw)
  To: Org Mode

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256


org-agenda-sorting-strategy bug? Cannot list deadline items before scheduled items.

With the following:

#+begin_src emacs-lisp
(setq org-agenda-sorting-strategy
      '((agenda time-up deadline-up scheduled-down ts-up habit-down priority-down category-keep)
        (todo priority-down category-keep)
        (tags priority-down category-keep)
        (search category-keep))
      org-agenda-sorting-strategy-selected
      '(time-up priority-down deadline-up scheduled-down ts-up habit-down category-keep))
#+end_src

The time-up is correctly shown first; however, all scheduled items are shown
next as opposed to all deadline items (the order should be the other way
around).

I found this issue on https://www.reddit.com/r/orgmode/comments/fesdc1/orgagendasortingstrategy_bug_cannot_list_deadline/

I have this problem on my computer too.

- -- 
[ stardiviner ]
       I try to make every word tell the meaning what I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
      
-----BEGIN PGP SIGNATURE-----

iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl5jrHYUHG51bWJjaGls
ZEBnbWFpbC5jb20ACgkQG13xyVromsMyjwf/eJK1mFoIoFbG5fcg2A7MK8j8FpzE
Y6dif1kTQVW9Si0BtwjcVmMIL5S0kCWg47joX3Kd7lh4/htbWuVG8mTQfe9SXY7G
E7EYN9g5OFFSU+9vQRQGmpMm8wuy3e5DbI+XV29gb0/A90yW/Ux6NYvmfAiVm02S
qR6/TSHFa9tCRO/BpFptDnKDQN09sH3a2+jD0vRnvbmgwx+4/wWCU6XR5f1c44Hq
YbYzDIeqMak99hoSyupiw48TuFr2O/S0h03lX/JDYWXPXI++Mjx83P3q9ayb6VMz
WkkrN87Jxm31LLBWCyPFniXOgi55i4TaML7yGbptnCrsKFOuI0G22WHs4A==
=vr9p
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: org-agenda-sorting-strategy's sorting of deadline and schedule is opposed
  2020-03-07 14:15 org-agenda-sorting-strategy's sorting of deadline and schedule is opposed stardiviner
@ 2020-05-24 11:53 ` Bastien
  2022-02-04  5:33   ` [CLOSED] TEC fixed this problem Christopher M. Miles
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2020-05-24 11:53 UTC (permalink / raw)
  To: stardiviner; +Cc: Org Mode

Hi,

stardiviner <numbchild@gmail.com> writes:

> org-agenda-sorting-strategy bug? Cannot list deadline items before scheduled items.
>
> With the following:
>
> #+begin_src emacs-lisp
> (setq org-agenda-sorting-strategy
>       '((agenda time-up deadline-up scheduled-down ts-up habit-down priority-down category-keep)
>         (todo priority-down category-keep)
>         (tags priority-down category-keep)
>         (search category-keep))
>       org-agenda-sorting-strategy-selected
>       '(time-up priority-down deadline-up scheduled-down ts-up habit-down category-keep))
> #+end_src
>
> The time-up is correctly shown first; however, all scheduled items are shown
> next as opposed to all deadline items (the order should be the other way
> around).

Can you provide a more minimal configuration example, with the order
expected and the order you get?

As said in the reddit thread, the output of complex sorting strategies
can be confusing, so being minimal here is the way to go.

Thanks,

-- 
 Bastien


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [CLOSED] TEC fixed this problem.
  2020-05-24 11:53 ` Bastien
@ 2022-02-04  5:33   ` Christopher M. Miles
  2022-02-07  8:00     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Christopher M. Miles @ 2022-02-04  5:33 UTC (permalink / raw)
  To: Bastien; +Cc: Org Mode

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


Today, I found the Org Agenda sorting strategy problem is fixed by commit "1b675f0ca84d637a3780cf3590308116e232fcfd".

Thanks, TEC

Bastien <bzg@gnu.org> writes:

> Hi,
>
> stardiviner <numbchild@gmail.com> writes:
>
>> org-agenda-sorting-strategy bug? Cannot list deadline items before scheduled items.
>>
>> With the following:
>>
>> #+begin_src emacs-lisp
>> (setq org-agenda-sorting-strategy
>>       '((agenda time-up deadline-up scheduled-down ts-up habit-down priority-down category-keep)
>>         (todo priority-down category-keep)
>>         (tags priority-down category-keep)
>>         (search category-keep))
>>       org-agenda-sorting-strategy-selected
>>       '(time-up priority-down deadline-up scheduled-down ts-up habit-down category-keep))
>> #+end_src
>>
>> The time-up is correctly shown first; however, all scheduled items are shown
>> next as opposed to all deadline items (the order should be the other way
>> around).
>
> Can you provide a more minimal configuration example, with the order
> expected and the order you get?
>
> As said in the reddit thread, the output of complex sorting strategies
> can be confusing, so being minimal here is the way to go.
>
> Thanks,


-- 
[ stardiviner ]
       I try to make every word tell the meaning that I want to express.

       Blog: https://stardiviner.github.io/
       IRC(freenode): stardiviner, Matrix: stardiviner
       GPG: F09F650D7D674819892591401B5DF1C95AE89AC3

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [CLOSED] TEC fixed this problem.
  2022-02-04  5:33   ` [CLOSED] TEC fixed this problem Christopher M. Miles
@ 2022-02-07  8:00     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2022-02-07  8:00 UTC (permalink / raw)
  To: Christopher M. Miles; +Cc: Org Mode

Hi Christopher,

"Christopher M. Miles" <numbchild@gmail.com> writes:

> Today, I found the Org Agenda sorting strategy problem is fixed by
> commit "1b675f0ca84d637a3780cf3590308116e232fcfd".

thanks for confirming and thanks to TEC for fixing it!

Best,

-- 
 Bastien


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-07  9:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-07 14:15 org-agenda-sorting-strategy's sorting of deadline and schedule is opposed stardiviner
2020-05-24 11:53 ` Bastien
2022-02-04  5:33   ` [CLOSED] TEC fixed this problem Christopher M. Miles
2022-02-07  8:00     ` Bastien

Code repositories for project(s) associated with this 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).