From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OJl2OhrZS2LZ5AAAgWs5BA (envelope-from ) for ; Tue, 05 Apr 2022 07:52:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id aAvINxrZS2KBawEA9RJhRA (envelope-from ) for ; Tue, 05 Apr 2022 07:52:26 +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 825F32AEFC for ; Tue, 5 Apr 2022 07:52:26 +0200 (CEST) Received: from localhost ([::1]:45820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nbc76-0007sc-WF for larch@yhetil.org; Tue, 05 Apr 2022 01:52:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nbbz2-0007qr-Su for emacs-orgmode@gnu.org; Tue, 05 Apr 2022 01:44:05 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:33311) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nbbz1-0004Ga-7X for emacs-orgmode@gnu.org; Tue, 05 Apr 2022 01:44:04 -0400 Received: by mail-pf1-x42d.google.com with SMTP id b13so11171651pfv.0 for ; Mon, 04 Apr 2022 22:44:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=1WzIH5rI+P3fgMSRl2JMw63VcUMh3SrXMGEdHJsq0hU=; b=jSfGNlq+T4Kr5qRmyqmx347/nvpdmUbpbKO52xHWkSA0Kj/6cWGf7OhbRHlgwoFHsr cNbGzB3S2UNyfVLHocZZW/2rviuuDOz2z4OmW9mN3I5ZrT1gM4J7FDWYliKSgull4Mjg dRunLpxNRuSFCXlZNZbQVuEtroe8QhCpdCwR+F5dcxzQzGVXcAaknay7fKCh/EF8bTh+ 1fGjAVU/tHiODik4Pk41jk2akMHjE+oLuqnBicw1bIkyUHje992bKGwJBMAI/LeJwMn6 Ks47qE9yq4UNwbRBYneIb72EJ/uvmY4Qf+PodItYsH6BCUfG7ibsX7fwBbQLureM30s2 9n1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=1WzIH5rI+P3fgMSRl2JMw63VcUMh3SrXMGEdHJsq0hU=; b=BEF9SeKJ99qB7X+wLO0/dAQW1DKcEKW2UxqnU/6eF0j37NBQqU8AKcwzji/tYNkHc0 8h8WL/4BQv+NmiTPlr1CyuLfZ4Cdd5SVBgtbm1QkuqcaHSjsnc4U0gtVg2wdM3On96ZK PhXVZbznJSfi8Dk68ckesNh6+q/nuYXX1kqXu8/GVmxk0J/6qwQjg64hLOyFpOdlFo/c d7sbIuT+s+v2cCBwZ6zXlGeSjsPp8QbA4pmb2Vpx/HhAK8UiZ0ZOJF0xmULNjTAGZrl8 +Q9jQv+APSNCGm5Vbvk8bdh9mOta25xbyfyRlA4BTRw3ey69jEt1BmGTgzQOXeGedM4d DQag== X-Gm-Message-State: AOAM532ka9QFRXNrTlIT5lPXhfBhq5wlW2JwA/AcSxNJiMU0VALdTjCw Fnh7vZ6ow8wR71tZK+xoO7r0k3HYfGu6NhzL/0s= X-Google-Smtp-Source: ABdhPJxtRU8UMdb6CAJQGapLrmFOX3Fezw0Jbc7MlxcbpOSk2ASP8BFGRSEDwgKdnOVlmUEckWNJTw== X-Received: by 2002:a63:c45:0:b0:399:2629:7743 with SMTP id 5-20020a630c45000000b0039926297743mr1476908pgm.24.1649137439639; Mon, 04 Apr 2022 22:43:59 -0700 (PDT) Received: from localhost ([23.106.161.1]) by smtp.gmail.com with ESMTPSA id j18-20020a633c12000000b0038204629cc9sm11823942pga.10.2022.04.04.22.43.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 22:43:58 -0700 (PDT) From: Ihor Radchenko To: =?utf-8?Q?S=C3=A9bastien?= Gendre Subject: Re: org-agenda todos list sorted by earliest deadline first In-Reply-To: References: <2ED8EEDD-E19B-4F5D-BCB5-CD9DFE2B0F67@k-7.ch> <7E046240-663C-40A2-8EE4-C267E6E727A6@k-7.ch> <87zgl1f525.fsf@localhost> Date: Tue, 05 Apr 2022 13:44:25 +0800 Message-ID: <87h778f5ja.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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=1649137946; 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:dkim-signature; bh=1WzIH5rI+P3fgMSRl2JMw63VcUMh3SrXMGEdHJsq0hU=; b=t4lDYjppGLLDusazSIe2lvibqUcDG62hPRUB+1mC+HtKKyWx6xaGtRwWYcgvrmKG4bVcNY USXn6sOdJFqdBCK3Hihen0fcoh7du9p3mX2Nqfykcxw0I80TjEBO3DGAJPPYop3QC8qsGx Mb4DQ2r2fwvQHLNT5rf08FwkMByvBOSYLsnO5VQgSNcJk1lRB6IqVNyBKkNQ2hUhRgC52z M4ow3cVfMNcj2s+/ouC2+EV1/lW9YE/i7OJQ34q7CVN1FRGws8baRle+nLeRwy1+Zy9puZ BB08bjXlkpXhKFkDzkwzVeu905nUDcd3wMLkJFABhtYPXNViucDw674IA0sKIg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1649137946; a=rsa-sha256; cv=none; b=O9qpdKyhpT7rJbZjP2Z9CLIMmwMF9SP9v8YRBXjbJsYnDsaexyl0mWLXjkYr782Rgo3quY QxhWjzs0Jm/KoHrpfND8vrg1ZUCMvMd2BZFc3eDmXiIUq6sPmYmQ99E/ID76WDz4f2lYET sz1VPUDIsVR7/5mzpSK3Hfhri5SvI5MRlaUKStJgh84ntyIzkYR3LbyyYF3QO+2i8FwSK2 Erysu2w6nu3x6TSMG0KqYg0+cxCFQMput5HsnT1o+EqD7wbWEGIoCtEOKZSZTFxU671O/5 FNOJ43Cq7IM1AWLhJLO39ZKI03VfR0P5UI7dAeUK01leNMZGgfKTwWftfNXcHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jSfGNlq+; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.58 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=jSfGNlq+; dmarc=pass (policy=none) header.from=gmail.com; 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: 825F32AEFC X-Spam-Score: -3.58 X-Migadu-Scanner: scn1.migadu.com X-TUID: BPUo06khLHMD S=C3=A9bastien Gendre writes: > I've tested it, but the tasks with no deadlines are still on top of the l= ist. I am unable to reproduce on my side using latest stable Org. 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-up = 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.g. =E2=80=980 r=E2=80=99) to search again: (= 0)[ALL] (1)TODO (2)DONE bug: TODO test3 bug: TODO test4 bug: TODO test1 bug: TODO test2 Best, Ihor