From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cML/AZ5XMGFIoAAAgWs5BA (envelope-from ) for ; Thu, 02 Sep 2021 06:48:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aC+8OJ1XMGG7YgAA1q6Kng (envelope-from ) for ; Thu, 02 Sep 2021 04:48:29 +0000 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 1157C203AC for ; Thu, 2 Sep 2021 06:48:28 +0200 (CEST) Received: from localhost ([::1]:54130 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLeeI-0005tg-QU for larch@yhetil.org; Thu, 02 Sep 2021 00:48:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLeds-0005tY-OX for emacs-orgmode@gnu.org; Thu, 02 Sep 2021 00:48:00 -0400 Received: from mail-yb1-f178.google.com ([209.85.219.178]:34400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLedp-0003tH-PM for emacs-orgmode@gnu.org; Thu, 02 Sep 2021 00:48:00 -0400 Received: by mail-yb1-f178.google.com with SMTP id a93so1394284ybi.1 for ; Wed, 01 Sep 2021 21:47:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jc1Mo9+o0lRNlYkYCGlXozqbIQGe2uB8xUm5gUqfeJg=; b=DfCtqgSrAJfOMevic3/wHkef6ENH3pgDnFWGriWTwtXUZBOBH6rUjB6tD0dqhSahY+ mS4J8jYUsNpTqET8DcAdVdahKX0qEPLnuVqIBZLK5ntGGQw/qP7NLoqIKRGkVkWHjnwR kfZ1WN06YLaUmG3G7Je24o/X7xkGHKszHcEgvwmw4OlHoMOjB77glk/GSimZUHLI2Reb dB3lmqt9nMWMEXI1Hcizrfs/GYOEY2D9xklSwSkC7VVSsHpVICcfAi0I+W5UsFIPrs6A oeFhmfF0RgTrIzAxDmaJPrgfp52bP5VsWVenuTtGxiPsensbdDHHqIAbah1RMB04A1p3 v8UQ== X-Gm-Message-State: AOAM532CV5u0RKRUYmHjhiOPVvaSz+fqRbdcm/PS8zSUeyP0tU2Scz7d K85u2wR61P7RAp9qTsnWIVuaaAGHMD5EZXfaEZRilzvDMIY= X-Google-Smtp-Source: ABdhPJxymqfbR2xJfCY7z/5b1F3LbBLZu61vCbbK+PjDViY/G53k9gnKesR0qbqWTjsfUkHAY6Et1iPPVKQcO4Gal+c= X-Received: by 2002:a25:53c8:: with SMTP id h191mr2002524ybb.71.1630558075604; Wed, 01 Sep 2021 21:47:55 -0700 (PDT) MIME-Version: 1.0 From: Charles Tam Date: Thu, 2 Sep 2021 00:47:19 -0400 Message-ID: Subject: Bug: org-agenda-sort-notime-is-late is not correctly handled by timestamp comparison [9.4.6 (9.4.6-12-gdcc3a8-elpaplus @ /Users/charlestam/.emacs.d/elpa/org-plus-contrib-20210830/)] To: emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000e1d4ad05cafbe2bb" Received-SPF: pass client-ip=209.85.219.178; envelope-from=tank.bard@gmail.com; helo=mail-yb1-f178.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630558109; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=jc1Mo9+o0lRNlYkYCGlXozqbIQGe2uB8xUm5gUqfeJg=; b=LFvVI7Gh+b96YiAfRP76ukfmWNQIeH+926VdEFMZaznW5RAnxW+v/Q/jniOpg8/RSi+CSs XJQap0deL9bxDm4eZlbSWRuga0BriC4wW0JWgnKodTRHI5xO1ClyEOSR4XfJWVI0bSbQa+ QMx6r1FnUAGIQo57iNhAZQa0ZYgZRx5mjieXeYxSxxvMGII9L1csJQ65XE63/eRlHicaKS hmDbISD3DDqoncXx5GvNwyW+0uNtQOm1egOgGDxymwgcddv4EIhoBFBG6bbfu7l5beD8gg VC4qtWtrW7jFbpDMc9cDiycXTwm9afkqEfyz/cdKbmj2BvL9DB2lk+zDQpRrpg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630558109; a=rsa-sha256; cv=none; b=G4u38a12VPr9AX425H4E7js37+t5glmx+Lz/0Of86txj93bWrwEKpp/dMMNwOJ/OvuyCYm M75Sqem1/Sbb47k3l+artwV0glzqHUlUjaoT1H95MKSn+wKfYmEl3iAd3fL0mqkW2xVcKg Z/9xg6mNYHYtnxJ1Co9OVUmxoYUgFErQ02VN6H0UJ3JZLdANR/56KIgUgWHNW1gCU8loWR Q055OuSZ8puZpO6j1gzydIOJByDDY0zW5UClcEQCqMz7qJ5bwavci/PIEIPpRTP5EPfE/1 2o7f8fwY6C3qJq7obRTANmP2gZZZvs2Ea1ckQl3k4R83qbgOLEGH14CFVJSSmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 1157C203AC X-Spam-Score: -2.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: FPBbZS94h4no --000000000000e1d4ad05cafbe2bb Content-Type: text/plain; charset="UTF-8" org-agenda-sorting-strategy claims that scheduled-up (-down) causes items to be sorted in ascending (descending) order by scheduled timestamp. org-agenda-sort-notime-is-late claims that if it is non-nil, the absence of a timestamp is treated as being maximal. Instead, when using the scheduled-up (-down) sorting strategy, with non-nil org-agenda-sort-notime-is-late, the absence of a timestamp is treated as being minimal. Note that the documentation is not strictly wrong; the correct behavior is exhibited for time-of-day comparisons, just not timestamp comparisons. Steps to Reproduce: (setq org-agenda-sorting-strategy '((agenda scheduled-up) (todo scheduled-up) (tags scheduled-up) (search scheduled-up)) org-agenda-sort-notime-is-late t) Place the following text in an org agenda file: * Reproduce ordering bug ** TODO Early item SCHEDULED: <1990-01-01 Mon> ** TODO Late item SCHEDULED: <2020-01-01 Wed> ** TODO Unscheduled item (Replace TODO with any non-DONE todo state if you need to.) Place the point on the "Reproduce" item and `M-x org-agenda < < t` (that is, list all TODO items restricted to the "Reproduce" subtree). Expected: TODO Early item TODO Late item TODO Unscheduled item Actual: TODO Unscheduled item TODO Early item TODO Late item Suggested fix: Find `defsubst org-cmp-ts` in org-agenda.el. The definition of `def` in the `let*` should be something like (if org-agenda-sort-notime-is-late 99999999 -1) (In the state dump below, `org-agenda-sort-notime-is-late` is not mentioned but has its default value of t.) Thanks, Charles Emacs : GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2021-03-27 Package: Org mode version 9.4.6 (9.4.6-12-gdcc3a8-elpaplus @ /Users/charlestam/.emacs.d/elpa/org-plus-contrib-20210830/) current state: ============== (setq org-roam-db-location "/Users/charlestam/mise/roam/org-roam.db" org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-checklist) org-capture-prepare-finalize-hook '(org-roam-capture--install-finalize-h) org-link-shell-confirm-function 'yes-or-no-p org-expiry-wait "+30d" org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-roam-db-node-include-function #[0 "\300\207" [t] 1] org-refile-targets '((nil :maxlevel . 2) (org-agenda-files :maxlevel . 1)) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-pretty-entities t org-special-ctrl-a/e t org-agenda-files '("~/mise/TODO") org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-reveal-start-hook '(org-decrypt-entry) org-modules '(org-expiry org-habit ol-w3m ol-bbdb ol-bibtex ol-docview ol-gnus ol-info ol-irc ol-mhe ol-rmail ol-eww) org-startup-folded 'showall org-archive-location "%s_archive::datetree/" org-mode-hook '((lambda nil (font-lock-add-keywords nil '(("{{{.+}}}" 0 'org-macro-face))) (set-fill-column 92)) #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes #[0 "\301\211 \207" [imenu-create-index-function org-imenu-get-tree] 2] turn-on-font-lock auto-fill-mode org-eldoc-load) org-tags-match-list-sublevels nil org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-expiry-handler-function 'org-toggle-archive-tag org-agenda-deadline-faces '((1.0 . org-warning) (0.8 . org-imminent-deadline) (0.5 . org-upcoming-deadline) (0.0 . org-upcoming-distant-deadline)) org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-hide-leading-stars t org-babel-load-languages '((python . t)) org-log-done 'time org-roam-capture-preface-hook '(org-roam-dailies--override-capture-time-h) org-hide-emphasis-markers t org-export-backends '(ascii html latex md) org-roam-completion-everywhere t org-roam-capture-templates '(("d" "default" plain "%?" :target (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+filetags: \n") :unnarrowed t) ("t" "task" entry "* NONE %?" :target (file+head+olp "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n#+filetags: \n" ("Action Items")) ) ) org-checklist-export-function 'org-export-as-ascii org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-agenda-span 10 org-agenda-loop-over-headlines-in-active-region nil org-src-lang-modes '(("redis" . redis) ("php" . php) ("arduino" . arduino) ("C" . c) ("C++" . c++) ("asymptote" . asy) ("bash" . sh) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql)) org-roam-db-autosync-mode-hook '(vulpea-db-autosync-enable) org-agenda-clock-consistency-checks '(:max-duration "10:00" :min-duration 0 :max-gap "0:05" :gap-ok-around ("4:00") :default-face org-agenda-clock-gap :overlap-face nil :gap-face nil :no-end-time-face nil :long-face nil :short-face nil) org-roam-find-file-hook '(org-roam-buffer--setup-redisplay-h org-roam--register-completion-functions-h org-roam--replace-roam-links-on-save-h org-roam-open-id-with-org-roam-db-h org-roam-db-autosync--setup-update-on-save-h) org-agenda-prefix-format '((agenda . " %i %?-12t% s") (todo . " %i ") (tags . " %i ") (search . " %i ")) org-occur-hook '(org-first-headline-recenter) org-agenda-start-with-log-mode t org-footnote-auto-adjust t org-odd-levels-only t org-clock-out-switch-to-state "WAIT" org-structure-template-alist '(("p" . "src python") ("a" . "export ascii") ("c" . "center") ("C" . "comment") ("e" . "example") ("E" . "export") ("h" . "export html") ("l" . "export latex") ("q" . "quote") ("s" . "src") ("v" . "verse")) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-todo-keywords '((sequence "NONE" "HELP" "WAIT" "ACTV" "|" "CONT" "DONE" "DEAD" "PASS")) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-roam-node-annotation-function 'org-roam-node-read--annotation org-tags-column -100 org-habit-graph-column 70 org-roam-ref-annotation-function 'org-roam-ref-read--annotation org-roam-dailies-directory "diary/" org-babel-tangle-lang-exts '(("python" . "py") ("emacs-lisp" . "el") ("elisp" . "el")) org-refile-use-outline-path t org-export-before-parsing-hook '(org-attach-expand-links) org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("message" :follow org-mac-message-open) ("x-devonthink-item" :follow org-devonthink-item-open) ("mac-evernote" :follow org-mac-evernote-note-open) ("mac-outlook" :follow org-mac-outlook-message-open) ("acrobat" :follow org-mac-acrobat-open) ("skim" :follow org-mac-skim-open) ("addressbook" :follow org-mac-addressbook-item-open) ("x-together-item" :follow org-mac-together-item-open) ("mairix" :follow org-mairix-open :store org-mairix-store-gnus-link) ("roam" :follow org-roam-link-follow-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[514 "\301\300\302 Q \"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("mailto" :follow #[514 "\301\300\302 Q \"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("https" :follow #[514 "\301\300\302 Q \"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("http" :follow #[514 "\301\300\302 Q \"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("ftp" :follow #[514 "\301\300\302 Q \"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"]) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-agenda-skip-scheduled-if-done t org-latex-format-headline-function 'org-latex-format-headline-default-function org-expiry-inactive-timestamps t org-capture-templates '(("t" "Task" entry (file+headline "~/mise/TODO" "Schedule Me") "*** NONE %^{Summary}\n /Captured %U/\n %?\n") ("s" "Snippet" plain (file+olp+datetree "~/mise/TODO" "Snippets") " * %?" :empty-lines-after 1 :tree-type week) ("j" "Journal" plain (file+olp+datetree "~/mise/NOTES") " %?" :empty-lines-before 1 :empty-lines-after 1) ("n" "Note" entry (file+headline "~/mise/NOTES" "Notes") "*** %^{Topic}\n /Captured %U/\n %?\n" :empty-lines-before 1 :empty-lines-after 1 :prepend t) ) org-link-elisp-confirm-function 'yes-or-no-p org-todo-keyword-faces '(("UNINIT'D" . org-todo-uninited) ("NEEDHELP" . org-todo-needhelp) ("BUFFERED" . org-todo-buffered) ("PROGRESS" . org-todo-progress) ("CONTINUE" . org-todo-continue) ("COMPLETE" . org-todo-complete) ("OBSOLETE" . org-todo-obsolete) ("DELEGATE" . org-todo-delegate) ("NONE" . org-todo-uninited) ("HELP" . org-todo-needhelp) ("WAIT" . org-todo-buffered) ("ACTV" . org-todo-progress) ("CONT" . org-todo-continue) ("DONE" . org-todo-complete) ("DEAD" . org-todo-obsolete) ("PASS" . org-todo-delegate)) org-roam-db-autosync-mode t org-roam-dailies-capture-templates '(("d" "default" entry "* %U\n %?" :target (file+head "%<%Y-%m-%d-%a>.org" "#+title: %<%Y-%m-%d> (%<%a>)\n#+filetags: diary\n\n") ) ) org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-roam-directory "/Users/charlestam/mise/roam" org-clock-in-switch-to-state "ACTV" org-html-format-headline-function 'org-html-format-headline-default-function org-mairix-display-hook 'org-mairix-gnus-display-results org-pretty-entities-include-sub-superscripts nil org-habit-show-all-today t org-confirm-babel-evaluate nil org-roam-node-display-template "${title:*} ${tags:20}" org-agenda-sorting-strategy '((agenda habit-down time-up priority-down effort-up category-keep) (todo scheduled-up) (tags time-up) (search alpha-up)) org-tags-exclude-from-inheritance '("todo") org-agenda-skip-deadline-if-done t org-mairix-gnus-select-display-group-function 'org-mairix-gnus-select-display-group-function-gg ) --000000000000e1d4ad05cafbe2bb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
org-agenda-sorting-strategy claims that scheduled-up (-dow= n) causes
items to be sorted in ascending (descending) order by schedule= d
timestamp.

org-agenda-sort-notime-is-late claims that if it is = non-nil, the absence
of a timestamp is treated as being maximal.

Instead, when using the scheduled-up (-dow= n) sorting strategy, with
non-nil org-agenda-sort-notime-is-late, the ab= sence of a timestamp is
treated as being minimal. Note that the document= ation is not strictly
wrong; th= e correct behavior is exhibited for time-of-day comparisons,
just not timestamp comparisons.<= br>
Steps to Reproduce:

=C2=A0 (setq org-agenda-sorting-strategy = '((agenda scheduled-up)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 (todo scheduled-up)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 (tags scheduled-up)
=C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (search scheduled-up))
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 org-agenda-sort-notime-is-late t)

=C2=A0 Place the follow= ing text in an org agenda file:

=C2=A0 * Reproduce ordering bug
= =C2=A0 ** TODO Early item
=C2=A0 =C2=A0 =C2=A0SCHEDULED: <1990-01-01 = Mon>
=C2=A0 ** TODO Late item
=C2=A0 =C2=A0 =C2=A0SCHEDULED: <2= 020-01-01 Wed>
=C2=A0 ** TODO Unscheduled item

=C2=A0 (Replace= TODO with any non-DONE todo state if you need to.)
=C2=A0
=C2=A0 Pl= ace the point on the "Reproduce" item and `M-x org-agenda < &l= t; t`
=C2=A0 (that is, list all TODO items restricted to the "Repro= duce" subtree).

Expected:

=C2=A0 TODO Early item
=C2= =A0 TODO Late item
=C2=A0 TODO Unscheduled item

Actual:

= =C2=A0 TODO Unscheduled item
=C2=A0 TODO Early item
=C2=A0 TODO Late = item

Suggested fix:

=C2=A0 Find `defsubst org-cmp-ts` in org-= agenda.el. The definition of `def`
=C2=A0 in the `let*` should be someth= ing like

=C2=A0 (if org-agenda-sort-notime-is-late 99999999 -1)
=

(In the state dump below, `org-agenda-sort-notime-is-la= te` is not mentioned but has its default value of t.)

Thanks,
Charles

Emacs =C2=A0: GNU Emacs 27.2 (build 1, x= 86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))<= br>=C2=A0of 2021-03-27
Package: Org mode version 9.4.6 (9.4.6-12-gdcc3a8= -elpaplus @ /Users/charlestam/.emacs.d/elpa/org-plus-contrib-20210830/)
=

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D
(setq
=C2=A0org-roam-db-location "/Users/charlestam= /mise/roam/org-roam.db"
=C2=A0org-src-mode-hook '(org-src-babel= -configure-edit-buffer org-src-mode-configure-edit-buffer)
=C2=A0org-aft= er-todo-state-change-hook '(org-checklist)
=C2=A0org-capture-prepare= -finalize-hook '(org-roam-capture--install-finalize-h)
=C2=A0org-lin= k-shell-confirm-function 'yes-or-no-p
=C2=A0org-expiry-wait "+3= 0d"
=C2=A0org-metadown-hook '(org-babel-pop-to-session-maybe)=C2=A0org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
= =C2=A0org-roam-db-node-include-function #[0 "\300\207" [t] 1]
= =C2=A0org-refile-targets '((nil :maxlevel . 2) (org-agenda-files :maxle= vel . 1))
=C2=A0org-html-format-inlinetask-function 'org-html-format= -inlinetask-default-function
=C2=A0org-pretty-entities t
=C2=A0org-sp= ecial-ctrl-a/e t
=C2=A0org-agenda-files '("~/mise/TODO")=C2=A0org-ascii-format-inlinetask-function 'org-ascii-format-inlineta= sk-default
=C2=A0org-reveal-start-hook '(org-decrypt-entry)
=C2= =A0org-modules '(org-expiry org-habit ol-w3m ol-bbdb ol-bibtex ol-docvi= ew ol-gnus ol-info ol-irc ol-mhe ol-rmail
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0ol-eww)
=C2=A0org-startup-folded 'showall=
=C2=A0org-archive-location "%s_archive::datetree/"
=C2=A0o= rg-mode-hook '((lambda nil (font-lock-add-keywords nil '(("{{{= .+}}}" 0 'org-macro-face))) (set-fill-column 92))
=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#[0 "\300\301\302\303= \304$\207" [add-hook change-major-mode-hook org-show-all append local]= 5]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#[0 &q= uot;\300\301\302\303\304$\207"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[add-hook change-major-mode-hook org-babe= l-show-result-all append local] 5]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0org-babel-result-hide-spec org-babel-hide-all-ha= shes
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#[0 &= quot;\301\211 \207" [imenu-create-index-function org-imenu-get-tree] 2= ] turn-on-font-lock
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0auto-fill-mode org-eldoc-load)
=C2=A0org-tags-match-list-suble= vels nil
=C2=A0org-archive-hook '(org-attach-archive-delete-maybe)=C2=A0org-confirm-elisp-link-function 'yes-or-no-p
=C2=A0org-agend= a-before-write-hook '(org-agenda-add-entry-text)
=C2=A0org-metaup-ho= ok '(org-babel-load-in-session-maybe)
=C2=A0org-bibtex-headline-form= at-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY= )"]
=C2=A0org-latex-format-drawer-function #[514 "\207" [= ] 3 "\n\n(fn _ CONTENTS)"]
=C2=A0org-expiry-handler-function &= #39;org-toggle-archive-tag
=C2=A0org-agenda-deadline-faces '((1.0 . = org-warning) (0.8 . org-imminent-deadline) (0.5 . org-upcoming-deadline)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(0.0 . org-upcoming-distant-deadline))
= =C2=A0org-babel-pre-tangle-hook '(save-buffer)
=C2=A0org-tab-first-h= ook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand)=C2=A0org-hide-leading-stars t
=C2=A0org-babel-load-languages '((p= ython . t))
=C2=A0org-log-done 'time
=C2=A0org-roam-capture-prefa= ce-hook '(org-roam-dailies--override-capture-time-h)
=C2=A0org-hide-= emphasis-markers t
=C2=A0org-export-backends '(ascii html latex md)<= br>=C2=A0org-roam-completion-everywhere t
=C2=A0org-roam-capture-templat= es '(("d" "default" plain "%?" :target=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(file+head "%<%Y%m%d%H%M%S>= ;-${slug}.org" "#+title: ${title}\n#+filetags: \n")
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:unnarrowed t)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 ("t" "task" entry "* NONE %?" :tar= get
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(file+head+olp "%<%Y%m= %d%H%M%S>-${slug}.org" "#+title: ${title}\n#+filetags: \n"= ;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("Action Items"))
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 )=
=C2=A0org-checklist-export-function 'org-export-as-ascii
=C2=A0o= rg-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn = NAME CONTENTS WIDTH)"]
=C2=A0org-agenda-span 10
=C2=A0org-agenda= -loop-over-headlines-in-active-region nil
=C2=A0org-src-lang-modes '= (("redis" . redis) ("php" . php) ("arduino" .= arduino) ("C" . c) ("C++" . c++)
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("asymptot= e" . asy) ("bash" . sh) ("beamer" . latex) ("= calc" . fundamental) ("cpp" . c++)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("ditaa" = . artist) ("dot" . fundamental) ("elisp" . emacs-lisp) = ("ocaml" . tuareg)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("screen" . shell-script) (&qu= ot;shell" . sh) ("sqlite" . sql))
=C2=A0org-roam-db-autos= ync-mode-hook '(vulpea-db-autosync-enable)
=C2=A0org-agenda-clock-co= nsistency-checks '(:max-duration "10:00" :min-duration 0 :max= -gap "0:05" :gap-ok-around
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("4:00") :default-face org-agenda-= clock-gap :overlap-face nil :gap-face
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nil :no-end-time-face nil :long-face nil :sh= ort-face nil)
=C2=A0org-roam-find-file-hook '(org-roam-buffer--setup= -redisplay-h org-roam--register-completion-functions-h
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0org-roam--replace-roam-links-on-save-h org-roam-open-id-with-org-roam= -db-h
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0org-roam-db-autosync--setup-update-on-save-h= )
=C2=A0org-agenda-prefix-format '((agenda . " %i %?-12t% s&quo= t;) (todo . " %i ") (tags . " %i ") (search . " %i= "))
=C2=A0org-occur-hook '(org-first-headline-recenter)
=C2= =A0org-agenda-start-with-log-mode t
=C2=A0org-footnote-auto-adjust t
= =C2=A0org-odd-levels-only t
=C2=A0org-clock-out-switch-to-state "WA= IT"
=C2=A0org-structure-template-alist '(("p" . "= ;src python") ("a" . "export ascii") ("c"= ; . "center") ("C" . "comment")
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("e" . "example") ("E&= quot; . "export") ("h" . "export html") (&quo= t;l" . "export latex")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ("q" . "quote") ("s" . "src") (= "v" . "verse"))
=C2=A0org-cycle-hook '(org-cycle= -hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 org-optimi= ze-window-after-visibility-change)
=C2=A0org-todo-keywords '((sequen= ce "NONE" "HELP" "WAIT" "ACTV" &quo= t;|" "CONT" "DONE" "DEAD" "PASS&quo= t;))
=C2=A0org-speed-command-hook '(org-speed-command-activate org-b= abel-speed-command-activate)
=C2=A0org-roam-node-annotation-function = 9;org-roam-node-read--annotation
=C2=A0org-tags-column -100
=C2=A0org= -habit-graph-column 70
=C2=A0org-roam-ref-annotation-function 'org-r= oam-ref-read--annotation
=C2=A0org-roam-dailies-directory "diary/&q= uot;
=C2=A0org-babel-tangle-lang-exts '(("python" . "= py") ("emacs-lisp" . "el") ("elisp" . &q= uot;el"))
=C2=A0org-refile-use-outline-path t
=C2=A0org-export-b= efore-parsing-hook '(org-attach-expand-links)
=C2=A0org-confirm-shel= l-link-function 'yes-or-no-p
=C2=A0org-link-parameters '(("= attachment" :follow org-attach-follow :complete org-attach-complete-li= nk)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0("message" :follow org-mac-message-open)
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0("x-devonthink-item" :follow org-devonthink-item-open)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("mac-evernote" :follow org-mac-evernote-note-open)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("mac-outlook" :follow org-mac-outlook-message-open)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("acrobat" :follow org-mac-acrobat-open) ("skim&qu= ot; :follow org-mac-skim-open)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("addressbook" :follow = org-mac-addressbook-item-open)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("x-together-item" :fol= low org-mac-together-item-open)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("mairix" :follow or= g-mairix-open :store org-mairix-store-gnus-link)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("roam&q= uot; :follow org-roam-link-follow-link) ("id" :follow org-id-open= )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0("eww" :follow org-eww-open :store org-eww-store-lin= k)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0("rmail" :follow org-rmail-open :store org-rmail-st= ore-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0("mhe" :follow org-mhe-open :store org-mhe-s= tore-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0("irc" :follow org-irc-visit :store org-i= rc-store-link :export org-irc-export)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("info" :follow = org-info-open :export org-info-export :store org-info-store-link)
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0("gnus" :follow org-gnus-open :store org-gnus-store-link)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("docview" :follow org-docview-open :export org-docview= -export :store
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 org-docview-store-link)
=C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("bibte= x" :follow org-bibtex-open :store org-bibtex-store-link)
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(&= quot;bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org= -bbdb-complete-link
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :store org-bbdb-store-link)
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(&= quot;w3m" :store org-w3m-store-link) ("file+sys") ("fil= e+emacs")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0("shell" :follow org-link--open-shell)=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0("news" :follow
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #[514 "\301\300\3= 02 Q \"\207" ["news" browse-url ":"] 6 "= \n\n(fn URL ARG)"])
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("mailto" :follow
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 #[514 "\301\300\302 Q \"\207" ["mailto" browse= -url ":"] 6 "\n\n(fn URL ARG)"])
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("ht= tps" :follow
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #[514 "\301\300\302 Q \"\207"= ; ["https" browse-url ":"] 6 "\n\n(fn URL ARG)&quo= t;])
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0("http" :follow
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 #[514 "\301\30= 0\302 Q \"\207" ["http" browse-url ":"] 6 &qu= ot;\n\n(fn URL ARG)"])
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("ftp" :follow
=C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 #[514 "\301\300\302 Q \"\207" ["ftp" browse-ur= l ":"] 6 "\n\n(fn URL ARG)"])
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("help&q= uot; :follow org-link--open-help) ("file" :complete org-link-comp= lete-file)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0("elisp" :follow org-link--open-elisp) (&= quot;doi" :follow org-link--open-doi))
=C2=A0org-agenda-skip-schedu= led-if-done t
=C2=A0org-latex-format-headline-function 'org-latex-fo= rmat-headline-default-function
=C2=A0org-expiry-inactive-timestamps t=C2=A0org-capture-templates '(("t" "Task" entry (f= ile+headline "~/mise/TODO" "Schedule Me")
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 "*** NONE %^{Summary}\n =C2=A0 =C2=A0/Captured %U/\n =C2=A0 =C2= =A0%?\n")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("s" "Snippet" plain = (file+olp+datetree "~/mise/TODO" "Snippets") " =C2= =A0 =C2=A0 =C2=A0 =C2=A0* %?"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :empty-lines-after = 1 :tree-type week)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("j" "Journal" pl= ain (file+olp+datetree "~/mise/NOTES") " =C2=A0 =C2=A0 =C2= =A0%?" :empty-lines-before 1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :empty-lines-after 1)<= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0("n" "Note" entry (file+headline &q= uot;~/mise/NOTES" "Notes")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "*** %^= {Topic}\n =C2=A0 =C2=A0/Captured %U/\n =C2=A0 =C2=A0%?\n" :empty-lines= -before 1 :empty-lines-after 1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 :prepend t)
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0)
=C2=A0org-link-elisp-confirm-function 'yes-or-no-p
=C2=A0= org-todo-keyword-faces '(("UNINIT'D" . org-todo-uninited)= ("NEEDHELP" . org-todo-needhelp)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("BUFFE= RED" . org-todo-buffered) ("PROGRESS" . org-todo-progress)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 ("CONTINUE" . org-todo-continue) ("COMPLET= E" . org-todo-complete)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("OBSOLETE" . or= g-todo-obsolete) ("DELEGATE" . org-todo-delegate)
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 ("NONE" . org-todo-uninited) ("HELP" . org-todo-= needhelp) ("WAIT" . org-todo-buffered)
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (&quo= t;ACTV" . org-todo-progress) ("CONT" . org-todo-continue) (&= quot;DONE" . org-todo-complete)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("DEAD" .= org-todo-obsolete) ("PASS" . org-todo-delegate))
=C2=A0org-ro= am-db-autosync-mode t
=C2=A0org-roam-dailies-capture-templates '((&q= uot;d" "default" entry "* %U\n =C2=A0%?" :target=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(file+hea= d "%<%Y-%m-%d-%a>.org"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "#+title: %<%Y-%m-%d> (%<%= a>)\n#+filetags: diary\n\n")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 )
=C2=A0org-latex-format-inlinetask-function 'o= rg-latex-format-inlinetask-default-function
=C2=A0org-html-format-drawer= -function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]=C2=A0org-roam-directory "/Users/charlestam/mise/roam"
=C2= =A0org-clock-in-switch-to-state "ACTV"
=C2=A0org-html-format-h= eadline-function 'org-html-format-headline-default-function
=C2=A0or= g-mairix-display-hook 'org-mairix-gnus-display-results
=C2=A0org-pre= tty-entities-include-sub-superscripts nil
=C2=A0org-habit-show-all-today= t
=C2=A0org-confirm-babel-evaluate nil
=C2=A0org-roam-node-display-t= emplate "${title:*} ${tags:20}"
=C2=A0org-agenda-sorting-strat= egy '((agenda habit-down time-up priority-down effort-up category-keep)=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(todo scheduled-up) (tags time-up)= (search alpha-up))
=C2=A0org-tags-exclude-from-inheritance '("= todo")
=C2=A0org-agenda-skip-deadline-if-done t
=C2=A0org-mairix= -gnus-select-display-group-function 'org-mairix-gnus-select-display-gro= up-function-gg
=C2=A0)
--000000000000e1d4ad05cafbe2bb--