From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gN97KW/mS2JNJAEAgWs5BA (envelope-from ) for ; Tue, 05 Apr 2022 08:49:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0MPHJm/mS2JYzQAA9RJhRA (envelope-from ) for ; Tue, 05 Apr 2022 08:49:19 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1399E3E4B0 for ; Tue, 5 Apr 2022 08:49:19 +0200 (CEST) Received: from localhost ([::1]:42898 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbd09-00036g-Tq for larch@yhetil.org; Tue, 05 Apr 2022 02:49:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbcyV-00035D-31 for emacs-orgmode@gnu.org; Tue, 05 Apr 2022 02:47:40 -0400 Received: from 96-100-31-185.ftth.cust.kwaoo.net ([185.31.100.96]:37648 helo=gandalf.k-7.ch) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbcyT-00081J-5j for emacs-orgmode@gnu.org; Tue, 05 Apr 2022 02:47:34 -0400 Received: from [127.0.0.1] (_gateway [192.168.1.1]) (Authenticated sender: seb) by gandalf.k-7.ch (Postfix) with ESMTPSA id 5D636E8106; Tue, 5 Apr 2022 08:47:18 +0200 (CEST) Date: Tue, 05 Apr 2022 08:47:16 +0200 From: =?ISO-8859-1?Q?S=E9bastien_Gendre?= To: Ihor Radchenko Subject: Re: org-agenda todos list sorted by earliest deadline first User-Agent: K-9 Mail for Android In-Reply-To: <87h778f5ja.fsf@localhost> References: <2ED8EEDD-E19B-4F5D-BCB5-CD9DFE2B0F67@k-7.ch> <7E046240-663C-40A2-8EE4-C267E6E727A6@k-7.ch> <87zgl1f525.fsf@localhost> <87h778f5ja.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----LDTMCKH5LVJNLJS3T27066CBIN5QZT Content-Transfer-Encoding: 7bit Received-SPF: permerror client-ip=185.31.100.96; envelope-from=seb@k-7.ch; helo=gandalf.k-7.ch X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, KHOP_HELO_FCRDNS=0.187, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, TVD_RCVD_IP=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_PERMERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1649141359; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=ZKWAPiSfT0tD3guFnSg6GkgjejXwc5SjCdQ3O0KqT2I=; b=NjF/3Iph2JINUQmj5BU1LnorT3RX8NkJOo7ZWnWkXxL9Fhw0HY7QNPHKT8hUplYBUi+JaM 3FfGsV2lwiDVD2oeh1LW4CVTmnJuPM564BXk71ZkRRu7wZ9dkwtmMuq7AEdspAW6EIcdYy Tn7GtCqDPf3C8OY4i+uALlAy9BBzCIcjcK8kmQSWDfjlWxv7caIydXaX3r+pdWtNlvIOe5 kP9Y/KnafYjv2vu4z3fvm/vaxUPXrfkm4ajnkRhIfNFHcco9FCS1PivBmMbMxet7m8CyBa JIJY+ZTfxsiokngLy8eS3hKT0+39UMOtbljWYNQ24ejr37aIxAPHJ0rLRNLKhQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649141359; a=rsa-sha256; cv=none; b=f6EXczGo92X9PxnV0SHRA3DYK8IHlGtuOnnyH/FelchBQgv9YBVk/5BcIJMIVRsx2ZZBj0 KZv/Z4WR8/SreCILBQQ79VqKfvMOxsZYbcSKsllFzmh50A2pHWjp63EWXdHHPQQtB/eG95 K1RcVQrG+hMKp6OOqP4DBk++YEKplLqjmgFOBwRAoect/uupcLI+feTQsDb56pQglSwRhN oFwcEHy7Yetoa5cJRchrekvYk8ZCPAxHArUFZj21akKBETWeWSGkWoY1ZeK6N8NJ5a/GmA 7y5tDjqBYun/n8A8ugpG4Ge36jLRniyh23dVaqsMlwOi+ewvDpfnR7sgw+pBQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.87 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1399E3E4B0 X-Spam-Score: -2.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: g5d8LP6O7kjN ------LDTMCKH5LVJNLJS3T27066CBIN5QZT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable If I evaluate the same setq and define the same tasks, my result withe org-= agenda tasks list are: Global list of TODO items of type: ALL Press =E2=80=98N r=E2=80=99 (e=2Eg=2E =E2=80=980 r=E2=80=99) to search aga= in: (0)[A$ (1)TODO (2)DONE test: TODO test1 test: TODO test2 test: TODO test3 test: TODO test4 I tested at this moment with Org version 9=2E5=2E2 on Emacs version 27=2E2 Le 5 avril 2022 07:44:25 GMT+02:00, Ihor Radchenko = a =C3=A9crit=C2=A0: >S=C3=A9bastien Gendre writes: > >> I've tested it, but the tasks with no deadlines are still on top of the= list=2E > >I am unable to reproduce on my side using latest stable Org=2E >I used the following example org file: > >---- >* TODO test1 >* TODO test2 >* TODO test3 >DEADLINE: <2022-04-04 Mon> >* TODO test4 >DEADLINE: <2022-04-06 Wed> >------ > >(setq org-agenda-sorting-strategy '((agenda deadline-down time-up habit-u= p priority-down timestamp-down category-keep) > (todo deadline-up priority-down category-keep) > (tags priority-down category-keep) > (search category-keep))) > >The todo agenda buffer looks like: > >Global list of TODO items of type: ALL >Press =E2=80=98N r=E2=80=99 (e=2Eg=2E =E2=80=980 r=E2=80=99) to search ag= ain: (0)[ALL] (1)TODO (2)DONE > bug: TODO test3 > bug: TODO test4 > bug: TODO test1 > bug: TODO test2 > > >Best, >Ihor ------LDTMCKH5LVJNLJS3T27066CBIN5QZT Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable If I evaluate the same setq and define the same ta= sks, my result withe org-agenda tasks list are:

Global list of TODO = items of type: ALL
Press =E2=80=98N r=E2=80=99 (e=2Eg=2E =E2=80=980 r=E2= =80=99) to search again: (0)[A$
(1)TODO (2)DONE test: TODO test1
test: TODO test2
test: TODO= test3
test: TODO test4

I tested at this moment with Org = version 9=2E5=2E2 on Emacs version 27=2E2

Le 5 avril 2022 07:44:25 GMT+02:00, Ihor Radchenko <yantar92@gmail=2Eco= m> a =C3=A9crit=C2=A0:
S=C3=A9bastien Gendre <seb@k-7=2Ech&=
gt; writes:

I've te= sted it, but the tasks with no deadlines are still on top of the list=2E

I am unable to reproduce on my side using latest stable O= rg=2E
I used the following example org file:
* TODO test1
* TODO t= est2
* TODO test3
DEADLINE: <2022-04-04 Mon>
* TODO test4DEADLINE: <2022-04-06 Wed>
(setq org-agenda-sorting-strategy '((a= genda deadline-down time-up habit-up priority-down timestamp-down category-= keep)
(todo deadline-up priority-down category-keep)
= (tags priority-down category-keep)
(search category-keep)))
<= br>The todo agenda buffer looks like:

Global list of TODO items of t= ype: ALL
Press =E2=80=98N r=E2=80=99 (e=2Eg=2E =E2=80=980 r=E2=80=99) to= search again: (0)[ALL] (1)TODO (2)DONE
bug: TODO test3
bu= g: TODO test4
bug: TODO test1
bug: TODO test= 2


Best,
Ihor
------LDTMCKH5LVJNLJS3T27066CBIN5QZT--