From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iGJ4EH1XCWXsVgAA9RJhRA:P1 (envelope-from ) for ; Tue, 19 Sep 2023 10:10:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iGJ4EH1XCWXsVgAA9RJhRA (envelope-from ) for ; Tue, 19 Sep 2023 10:10:37 +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 C4BB13C758 for ; Tue, 19 Sep 2023 10:10:36 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=kb0cB3V7; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695111037; 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:dkim-signature; bh=b32sRdbSuUPDqtMe01Y7gZr/Papu48Nk34EsreNWK7U=; b=C/pVxfFQjUAkZmyqnUeTpFxv2eOBYgupn32ilx8nQIM45SdeycfPHRsbGoxiNlyNM55TAS eYctM6llhpOSA1q4qKtTt8nku284LRuScbUZMvIfL4R8ATrjMfbDPa5tt4Bo7zQgMjEKC4 npuRQhSqXeoyGQXSgGkfGK4Uaradyo59+XBDovfu/0XXbPpaOR/qixGL+eaKhzqOcLuhr/ xxmJkf7AWQD468bKnmJRDQAKKkXizspqf3OLBlGZSSKxZzYqgx0JYHV5OR0N8gMO07KggF fqW0+7YwPrD1YhRiV7i9LXcYI4DnZJSwTVRdInDcsIfsc09BcgCgXiJDCgFeJA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=kb0cB3V7; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695111037; a=rsa-sha256; cv=none; b=HYCRdv0e3rD11RdT8dE12fTCaSdyJ1bzAGBgw+nJhXvObsk/wAZ+DVksIaFcHMvWqhO/l9 jPQrJ5Tt6dBAxt6GignjOD+KGnqMMEswHsEfNckXylv1cs9R7EGQFsXyTCr6QJJE1ojR2k 56QGY1IUMX59TIdFl815RtoMbF84YYZIVhaIAIOhGKyVq+ijutP2EOzrCytEcB5FkfCm8K tv+eI0P41eYQ3PAhQXFN8+cekTz9zWBntzoKZuGumbH9an0XE1h+95Q3Y7COrQQq/KsgrM gX73Udgmtz0JgStii27A48shrmeqJrSWTXMYxOGLaWshF1Vj8uGRKuPDRgxNbg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiVni-0007Jk-CV; Tue, 19 Sep 2023 04:09:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiVng-0007Iq-Pm for emacs-orgmode@gnu.org; Tue, 19 Sep 2023 04:09:40 -0400 Received: from mail-vk1-xa29.google.com ([2607:f8b0:4864:20::a29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiVne-0005gh-9m for emacs-orgmode@gnu.org; Tue, 19 Sep 2023 04:09:40 -0400 Received: by mail-vk1-xa29.google.com with SMTP id 71dfb90a1353d-496a775af2fso853417e0c.0 for ; Tue, 19 Sep 2023 01:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695110976; x=1695715776; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=b32sRdbSuUPDqtMe01Y7gZr/Papu48Nk34EsreNWK7U=; b=kb0cB3V77KS58jf5khkyZVpASL8H0GVutl+UC+nPCxdHrasylmOFnk0hvicxIVOnVS KrOpi2YUHOlZOWQy5wg1h40nFKpWMt2DDwDb7iWUaVo78fDII3iJQFpY/IMXVb4/5JUW +IcqHwRZ9apkx8/0GceVqx7RElFmh58p4ylXb1YL0mAOyWODPUDEEixtNOLYMqERC2cN CwTvFyi9sm87peGHBrJkNCNWjI3NKlACnHDisEInNAvUXyd+5J/mFVDhLNtvjp4q6DJb dUkECLt0Fhls//PNc2lJNT0P8eZ8+1coEU42hORI9sN4l2q4Nx9p12Zwj27LNDEMasi/ kAkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695110976; x=1695715776; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=b32sRdbSuUPDqtMe01Y7gZr/Papu48Nk34EsreNWK7U=; b=M38UFa+3iTcpnvKazEMzShvHcdg3x1Soo8jEJgOqFOgPilgqViW92oXyyMzu8NXpCr iKVyXUbc9/7rfJS6Czkb3c1efIpDw8yH9AObvgSwzU/Xd6TSH+UOnHQIv9h1MVw0jawU Yd8F/1a0fDWqk57UpD8+Rb8RjYIdAVMjXKZg+0r5NM7oVLaiA4K1q+dF8BJMHmK39vdf 0tRNPMk7G6f0eQGM9IbeyhTtidGHICpIJjwhpblHhQyWlODxJtiNuYXvnIlbILG5JFQn YPkGX5xAnHURz8jhob5iUdX5Y9l6/dFsscfFNPeH1WpYa5MDZl5O1SKFKRCXesrOoltg VdGA== X-Gm-Message-State: AOJu0YzyONIzSzcCk20Idzuq/Fz089f/THR2xJP3p9eyrxmglDUm8xwk VG8PlyKpc4jCV12m2/G2U5RDCbukRislFoypff7VG9gsdL0= X-Google-Smtp-Source: AGHT+IEhVbq0nWMiyPVwbVdSZXSoijcLUKZR0j+i+pBQN39NAl4hKlTsWtaIiDakMV5t7O3BIATP3zQa/frLbhvhDEo= X-Received: by 2002:a05:6122:178a:b0:496:9f4f:5a41 with SMTP id o10-20020a056122178a00b004969f4f5a41mr5294426vkf.6.1695110976459; Tue, 19 Sep 2023 01:09:36 -0700 (PDT) MIME-Version: 1.0 From: Carlo Tambuatco Date: Tue, 19 Sep 2023 04:09:00 -0400 Message-ID: Subject: Org agenda crashes when an agenda's deadline is within 14 days of its scheduled time. To: Org-Mode Mailing List Content-Type: multipart/alternative; boundary="0000000000009b57940605b1c798" Received-SPF: pass client-ip=2607:f8b0:4864:20::a29; envelope-from=oraclmaster@gmail.com; helo=mail-vk1-xa29.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -2.61 X-Spam-Score: -2.61 X-Migadu-Queue-Id: C4BB13C758 X-TUID: goEJwZcfYM5h --0000000000009b57940605b1c798 Content-Type: text/plain; charset="UTF-8" When I create an agenda item that is scheduled for say: * TODO Item SCHEDULED: <2023-09-19 Tue> then I set a deadline for that item * TODO Item SCHEDULED: <2023-09-19 Tue> DEADLINE: <2023-10-03 Tue> notice the deadline for the item is two weeks from the scheduled date, I get this error: Debugger entered--Lisp error: (wrong-type-argument stringp (timestamp (:type active :raw-value "<2023-10-03 Tue>" :year-start 2023 :month-start 10 :day-start 3 :hour-start nil :minute-start nil :year-end 2023 :month-end 10 :day-end 3 :hour-end nil :minute-end nil :begin 115 :end 132 :post-blank 1))) string-match("\\(\\([0-9]\\{4\\}\\)-\\([0-9]\\{2\\}\\)-\\([0-9]\\{2\\}\\)\\( +..." (timestamp (:type active :raw-value "<2023-10-03 Tue>" :year-start 2023 :month-start 10 :day-start 3 :hour-start nil :minute-start nil :year-end 2023 :month-end 10 :day-end 3 :hour-end nil :minute-end nil :begin 115 :end 132 :post-blank 1))) org-parse-time-string((timestamp (:type active :raw-value "<2023-10-03 Tue>" :year-start 2023 :month-start 10 :day-start 3 :hour-start nil :minute-start nil :year-end 2023 :month-end 10 :day-end 3 :hour-end nil :minute-end nil :begin 115 :end 132 :post-blank 1))) org-time-string-to-time((timestamp (:type active :raw-value "<2023-10-03 Tue>" :year-start 2023 :month-start 10 :day-start 3 :hour-start nil :minute-start nil :year-end 2023 :month-end 10 :day-end 3 :hour-end nil :minute-end nil :begin 115 :end 132 :post-blank 1))) #f(compiled-function (el) #)((headline (:raw-value "Today's Dentist" :begin 80 :end 162 :pre-blank 0 :contents-begin 105 :contents-end 160 :robust-begin nil :robust-end nil :level 2 :priority nil :tags nil :todo-keyword #("TODO" 0 4 (wrap-prefix #("*** " 0 4 (face org-indent)) line-prefix #("*" 0 1 (face org-indent)) face ((:foreground "#FFAAAA") org-level-2) fontified t)) :todo-type todo :post-blank 2 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 80 :deadline (timestamp (:type active :raw-value "<2023-10-03 Tue>" :year-start 2023 :month-start 10 :day-start 3 :hour-start nil :minute-start nil :year-end 2023 :month-end 10 :day-end 3 :hour-end nil :minute-end nil :begin 115 :end 132 :post-blank 1)) :scheduled (timestamp (:type active :raw-value "<2023-09-19 Tue>" :year-start 2023 :month-start 9 :day-start 19 :hour-start nil :minute-start nil :year-end 2023 :month-end 9 :day-end 19 :hour-end nil :minute-end nil :begin 143 :end 159 :post-blank 0)) :title (#("Today's Dentist" 0 15 (:parent (headline #3)))) :parent (headline (:raw-value "Appointments" :begin 1 :end 162 :pre-blank 1 :contents-begin 80 :contents-end 160 :robust-begin 82 :robust-end 158 :level 1 :priority nil :tags (#("@appointment" 0 12 (fontified t face ... mouse-face highlight keymap ... line-prefix "" wrap-prefix ...))) :todo-keyword nil :todo-type nil :post-blank 2 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 :title (#("Appointments" 0 12 (:parent ...))) :parent (org-data (:begin 1 :contents-begin 1 :contents-end 160 :end 162 :robust-begin 3 :robust-end 158 :post-blank 2 :post-affiliated 1 :path "/Users/carloftambuatco/Documents/Org/Personal/Appo..." :mode org-data :CATEGORY "Appointments" :parent nil :cached t :org-element--cache-sync-key nil)) :cached t :org-element--cache-sync-key nil)) :cached t :org-element--cache-sync-key nil))) org-element-cache-map(#f(compiled-function (el) #) :next-re "\\]+\\)>" :fail-re "\\]+\\)>" :narrow t) org-agenda-get-scheduled((#(" Appointments:In 14 d.: TODO Today'..." 0 27 (done-face org-agenda-done undone-face org-upcoming-distant-deadline face org-upcoming-distant-deadline date (9 19 2023) type "upcoming-deadline" todo-state #("TODO" 0 4 (wrap-prefix ... line-prefix ... face ... fontified t)) priority 4986 ts-date 738796 effort-minutes nil effort nil warntime nil org-hd-marker # org-marker # help-echo "mouse-2 or RET jump to org file ~/Docu..." org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|DONE\\|FAIL\\..." org-todo-regexp "\\(CANCELLED\\|DONE\\|FAIL\\|IN_PROGRESS\\|..." org-not-done-regexp "\\(IN_PROGRESS\\|T\\(?:EST\\(?:ING\\)?\\|ODO..." mouse-face highlight dotime nil ...) 27 62 (done-face org-agenda-done undone-face org-upcoming-distant-deadline face org-upcoming-distant-deadline date (9 19 2023) type "upcoming-deadline" todo-state #("TODO" 0 4 (wrap-prefix ... line-prefix ... face ... fontified t)) priority 4986 ts-date 738796 warntime nil org-hd-marker # org-marker # help-echo "mouse-2 or RET jump to org file ~/Docu..." org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|DONE\\|FAIL\\..." org-todo-regexp "\\(CANCELLED\\|DONE\\|FAIL\\|IN_PROGRESS\\|..." org-not-done-regexp "\\(IN_PROGRESS\\|T\\(?:EST\\(?:ING\\)?\\|ODO..." mouse-face highlight dotime nil format ((... ... ... ... ...) (format " %s %s%s%s" ... ... ... ...)) extra "In 14 d.: " ...) 62 74 (done-face org-agenda-done undone-face org-upcoming-distant-deadline date (9 19 2023) type "upcoming-deadline" todo-state #("TODO" 0 4 (wrap-prefix ... line-prefix ... face ... fontified t)) priority 4986 ts-date 738796 effort-minutes nil effort nil warntime nil org-hd-marker # org-marker # help-echo "mouse-2 or RET jump to org file ~/Docu..." org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|DONE\\|FAIL\\..." org-todo-regexp "\\(CANCELLED\\|DONE\\|FAIL\\|IN_PROGRESS\\|..." org-not-done-regexp "\\(IN_PROGRESS\\|T\\(?:EST\\(?:ING\\)?\\|ODO..." dotime nil format ((... ... ... ... ...) (format " %s %s%s%s" ... ... ... ...)) extra "In 14 d.: " ...) 74 76 (done-face org-agenda-done undone-face org-upcoming-distant-deadline face org-upcoming-distant-deadline date (9 19 2023) type "upcoming-deadline" todo-state #("TODO" 0 4 (wrap-prefix ... line-prefix ... face ... fontified t)) priority 4986 ts-date 738796 effort-minutes nil effort nil warntime nil org-hd-marker # org-marker # help-echo "mouse-2 or RET jump to org file ~/Docu..." org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|DONE\\|FAIL\\..." org-todo-regexp "\\(CANCELLED\\|DONE\\|FAIL\\|IN_PROGRESS\\|..." org-not-done-regexp "\\(IN_PROGRESS\\|T\\(?:EST\\(?:ING\\)?\\|ODO..." mouse-face highlight dotime nil ...)))) org-agenda-get-day-entries("/Users/carloftambuatco/Documents/Org/Personal/Appo..." (9 19 2023) :deadline :scheduled :timestamp :sexp) apply(org-agenda-get-day-entries "/Users/carloftambuatco/Documents/Org/Personal/Appo..." (9 19 2023) (:deadline :scheduled :timestamp :sexp)) org-agenda-list(nil) funcall-interactively(org-agenda-list nil) call-interactively(org-agenda-list nil nil) command-execute(org-agenda-list) Then when I set the deadline to more than 14 days from the scheduled date: * TODO Item SCHEDULED: <2023-09-19 Tue> DEADLINE: <2023-10-04 Wed> Agenda works as normal. When org agenda is in deadline display mode, I notice it displays deadlines that are within 2 weeks of the current date. This seems to be some kind of hard coded error. --0000000000009b57940605b1c798 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When I create an agenda item that is scheduled for say:* TODO Item
=C2=A0 SCHEDULED: <2023-09-19 Tue>=C2=A0

then I set a deadline for that item
* TODO I= tem
=C2=A0 =C2=A0SCHEDULED: <2023-09-19 Tue> DEADLINE: <= 2023-10-03 Tue>

notice the deadline for the ite= m is two weeks from the scheduled date,=C2=A0

I ge= t this error:

Debugger entered--Lisp error: (wrong= -type-argument stringp (timestamp (:type active :raw-value "<2023-1= 0-03 Tue>" :year-start 2023 :month-start 10 :day-start 3 :hour-star= t nil :minute-start nil :year-end 2023 :month-end 10 :day-end 3 :hour-end n= il :minute-end nil :begin 115 :end 132 :post-blank 1)))
=C2=A0 string-ma= tch("\\(\\([0-9]\\{4\\}\\)-\\([0-9]\\{2\\}\\)-\\([0-9]\\{2\\}\\)\\( +.= .." (timestamp (:type active :raw-value "<2023-10-03 Tue>&q= uot; :year-start 2023 :month-start 10 :day-start 3 :hour-start nil :minute-= start nil :year-end 2023 :month-end 10 :day-end 3 :hour-end nil :minute-end= nil :begin 115 :end 132 :post-blank 1)))
=C2=A0 org-parse-time-string((= timestamp (:type active :raw-value "<2023-10-03 Tue>" :year= -start 2023 :month-start 10 :day-start 3 :hour-start nil :minute-start nil = :year-end 2023 :month-end 10 :day-end 3 :hour-end nil :minute-end nil :begi= n 115 :end 132 :post-blank 1)))
=C2=A0 org-time-string-to-time((timestam= p (:type active :raw-value "<2023-10-03 Tue>" :year-start 2= 023 :month-start 10 :day-start 3 :hour-start nil :minute-start nil :year-en= d 2023 :month-end 10 :day-end 3 :hour-end nil :minute-end nil :begin 115 :e= nd 132 :post-blank 1)))
=C2=A0 #f(compiled-function (el) #<bytecode 0= x1678a316b7f7957e>)((headline (:raw-value "Today's Dentist"= ; :begin 80 :end 162 :pre-blank 0 :contents-begin 105 :contents-end 160 :ro= bust-begin nil :robust-end nil :level 2 :priority nil :tags nil :todo-keywo= rd #("TODO" 0 4 (wrap-prefix #("*** " 0 4 (face org-ind= ent)) line-prefix #("*" 0 1 (face org-indent)) face ((:foreground= "#FFAAAA") org-level-2) fontified t)) :todo-type todo :post-blan= k 2 :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated= 80 :deadline (timestamp (:type active :raw-value "<2023-10-03 Tue&= gt;" :year-start 2023 :month-start 10 :day-start 3 :hour-start nil :mi= nute-start nil :year-end 2023 :month-end 10 :day-end 3 :hour-end nil :minut= e-end nil :begin 115 :end 132 :post-blank 1)) :scheduled (timestamp (:type = active :raw-value "<2023-09-19 Tue>" :year-start 2023 :mont= h-start 9 :day-start 19 :hour-start nil :minute-start nil :year-end 2023 :m= onth-end 9 :day-end 19 :hour-end nil :minute-end nil :begin 143 :end 159 :p= ost-blank 0)) :title (#("Today's Dentist" 0 15 (:parent (head= line #3)))) :parent (headline (:raw-value "Appointments" :begin 1= :end 162 :pre-blank 1 :contents-begin 80 :contents-end 160 :robust-begin 8= 2 :robust-end 158 :level 1 :priority nil :tags (#("@appointment" = 0 12 (fontified t face ... mouse-face highlight keymap ... line-prefix &quo= t;" wrap-prefix ...))) :todo-keyword nil :todo-type nil :post-blank 2 = :footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 1 := title (#("Appointments" 0 12 (:parent ...))) :parent (org-data (:= begin 1 :contents-begin 1 :contents-end 160 :end 162 :robust-begin 3 :robus= t-end 158 :post-blank 2 :post-affiliated 1 :path "/Users/carloftambuat= co/Documents/Org/Personal/Appo..." :mode org-data :CATEGORY "Appo= intments" :parent nil :cached t :org-element--cache-sync-key nil)) :ca= ched t :org-element--cache-sync-key nil)) :cached t :org-element--cache-syn= c-key nil)))
=C2=A0 org-element-cache-map(#f(compiled-function (el) #<= ;bytecode 0x1678a316b7f7957e>) :next-re "\\<SCHEDULED: *<\\([= ^>]+\\)>" :fail-re "\\<SCHEDULED: *<\\([^>]+\\)>= ;" :narrow t)
=C2=A0 org-agenda-get-scheduled((#(" =C2=A0Appoi= ntments:In =C2=A014 d.: =C2=A0TODO Today'..." 0 27 (done-face org-= agenda-done undone-face org-upcoming-distant-deadline face org-upcoming-dis= tant-deadline date (9 19 2023) type "upcoming-deadline" todo-stat= e #("TODO" 0 4 (wrap-prefix ... line-prefix ... face ... fontifie= d t)) priority 4986 ts-date 738796 effort-minutes nil effort nil warntime n= il org-hd-marker #<marker (moves after insertion) at 80 in Appointments.= org> org-marker #<marker (moves after insertion) at 115 in Appointmen= ts.org> help-echo "mouse-2 or RET jump to org file ~/Docu..." = org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|DONE\\|FA= IL\\..." org-todo-regexp "\\(CANCELLED\\|DONE\\|FAIL\\|IN_PROGRES= S\\|..." org-not-done-regexp "\\(IN_PROGRESS\\|T\\(?:EST\\(?:ING\= \)?\\|ODO..." mouse-face highlight dotime nil ...) 27 62 (done-face or= g-agenda-done undone-face org-upcoming-distant-deadline face org-upcoming-d= istant-deadline date (9 19 2023) type "upcoming-deadline" todo-st= ate #("TODO" 0 4 (wrap-prefix ... line-prefix ... face ... fontif= ied t)) priority 4986 ts-date 738796 warntime nil org-hd-marker #<marker= (moves after insertion) at 80 in Appointments.org> org-marker #<mark= er (moves after insertion) at 115 in Appointments.org> help-echo "m= ouse-2 or RET jump to org file ~/Docu..." org-complex-heading-regexp &= quot;^\\(\\*+\\)\\(?: +\\(CANCELLED\\|DONE\\|FAIL\\..." org-todo-regex= p "\\(CANCELLED\\|DONE\\|FAIL\\|IN_PROGRESS\\|..." org-not-done-r= egexp "\\(IN_PROGRESS\\|T\\(?:EST\\(?:ING\\)?\\|ODO..." mouse-fac= e highlight dotime nil format ((... ... ... ... ...) (format " %s %s%s= %s" ... ... ... ...)) extra "In =C2=A014 d.: " ...) 62 74 (d= one-face org-agenda-done undone-face org-upcoming-distant-deadline date (9 = 19 2023) type "upcoming-deadline" todo-state #("TODO" 0= 4 (wrap-prefix ... line-prefix ... face ... fontified t)) priority 4986 ts= -date 738796 effort-minutes nil effort nil warntime nil org-hd-marker #<= marker (moves after insertion) at 80 in Appointments.org> org-marker #&l= t;marker (moves after insertion) at 115 in Appointments.org> help-echo &= quot;mouse-2 or RET jump to org file ~/Docu..." org-complex-heading-re= gexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|DONE\\|FAIL\\..." org-todo= -regexp "\\(CANCELLED\\|DONE\\|FAIL\\|IN_PROGRESS\\|..." org-not-= done-regexp "\\(IN_PROGRESS\\|T\\(?:EST\\(?:ING\\)?\\|ODO..." dot= ime nil format ((... ... ... ... ...) (format " %s %s%s%s" ... ..= . ... ...)) extra "In =C2=A014 d.: " ...) 74 76 (done-face org-ag= enda-done undone-face org-upcoming-distant-deadline face org-upcoming-dista= nt-deadline date (9 19 2023) type "upcoming-deadline" todo-state = #("TODO" 0 4 (wrap-prefix ... line-prefix ... face ... fontified = t)) priority 4986 ts-date 738796 effort-minutes nil effort nil warntime nil= org-hd-marker #<marker (moves after insertion) at 80 in Appointments.or= g> org-marker #<marker (moves after insertion) at 115 in Appointments= .org> help-echo "mouse-2 or RET jump to org file ~/Docu..." or= g-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANCELLED\\|DONE\\|FAIL= \\..." org-todo-regexp "\\(CANCELLED\\|DONE\\|FAIL\\|IN_PROGRESS\= \|..." org-not-done-regexp "\\(IN_PROGRESS\\|T\\(?:EST\\(?:ING\\)= ?\\|ODO..." mouse-face highlight dotime nil ...))))
=C2=A0 org-agen= da-get-day-entries("/Users/carloftambuatco/Documents/Org/Personal/Appo= ..." (9 19 2023) :deadline :scheduled :timestamp :sexp)
=C2=A0 appl= y(org-agenda-get-day-entries "/Users/carloftambuatco/Documents/Org/Per= sonal/Appo..." (9 19 2023) (:deadline :scheduled :timestamp :sexp))=C2=A0 org-agenda-list(nil)
=C2=A0 funcall-interactively(org-agenda-lis= t nil)
=C2=A0 call-interactively(org-agenda-list nil nil)
=C2=A0 comm= and-execute(org-agenda-list)

Then when I set t= he deadline to more than 14 days from the scheduled date:

* TODO Item
=C2=A0 =C2=A0SCHEDULED: <2023-09-19 T= ue> DEADLINE: <2023-10-04 Wed>

Agen= da works as normal.=C2=A0
When org agenda is in deadline display = mode, I notice it=C2=A0
displays deadlines that are within 2 week= s of the current date.=C2=A0
This seems to be some kind of hard c= oded error.=C2=A0


--0000000000009b57940605b1c798--