From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qD1RMvo1mmCQbAEAgWs5BA (envelope-from ) for ; Tue, 11 May 2021 09:44:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kOwOLvo1mmC6CwAA1q6Kng (envelope-from ) for ; Tue, 11 May 2021 07:44:58 +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 EC7741E1BB for ; Tue, 11 May 2021 09:44:57 +0200 (CEST) Received: from localhost ([::1]:44014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lgN4a-0000P3-QR for larch@yhetil.org; Tue, 11 May 2021 03:44:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgMyR-0001EO-HY for emacs-orgmode@gnu.org; Tue, 11 May 2021 03:38:35 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:17467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lgMyN-0004Lf-0E for emacs-orgmode@gnu.org; Tue, 11 May 2021 03:38:34 -0400 IronPort-HdrOrdr: =?us-ascii?q?A9a23=3AAEl7xqr/TdEEuwF9qagQLFsaV5q3eYIsimQD?= =?us-ascii?q?101hICG9Afbo6vxG/c5rryMd6l4qNE3I/OruBEDuewK7yXcY2/hzAV7AZnifhI?= =?us-ascii?q?LLFvAE0WIz+UyFJ8SWzIc0vs0MEshD4bvLfD1HZK3BkWuF+rgbsaK6GeyT9J7j?= =?us-ascii?q?5kYodg1sY7xt9ENBFwiWVnduTA1tDYYiGPOnl7R6jgvlQngRZtm2HT09QubO4+?= =?us-ascii?q?fTnJbdaxgcC3ccmXazpALt07L8GwWVxVMmTj1ChY06+Wz+jgTl6syYwo2GI8Dn?= =?us-ascii?q?uVPu0w=3D=3D?= X-IronPort-AV: E=Sophos;i="5.82,290,1613430000"; d="asc'?scan'208";a="381107908" Received: from cbg35-2-78-242-14-140.fbx.proxad.net (HELO set) ([78.242.14.140]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 May 2021 09:38:25 +0200 From: alan.schmitt@polytechnique.org To: "emacs-orgmode" Subject: (void-variable timestamp-up) when building an agenda buffer Date: Tue, 11 May 2021 09:38:14 +0200 Message-ID: <87y2clk9eh.fsf@m4x.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: neutral client-ip=192.134.164.104; envelope-from=alan.schmitt@polytechnique.org; helo=mail3-relais-sop.national.inria.fr X-Spam_score_int: -33 X-Spam_score: -3.4 X-Spam_bar: --- X-Spam_report: (-3.4 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=ham 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=1620719098; 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=ekEj9K1eYCUyUbbZ+DEUaEr4AHPG9Q1NNkeRpZhhaOk=; b=lyRikuRmE/ntSp/1AnnVRbF3SQI1ud0cBVh2LZMxOG5ia/FuMYXew24EWk/KcM38gm1d9f 0xsav9XtCFkl0PmKViHhAeAwY+ZJ1c9+ZM6L+uVNJxMrPIvPI3EZ4vNWdHuH6YGWAizvf8 YOujImtoRT8FXQMsKMbvXeffNho2CedE7pjl94duea+gPjhnSGT/WaphlTodzIYxHhJCIu HCNA83MOO3FC2WyJ6kPgCgUfJWciy/87u9DbTQna72sY8qs8ecx/qiJbHgFSwRAAgVy7Yb dZ89stJnORxGhrQFrsxPr7xvZJVuyCWQkFVie+c5+lw3nzG1rKREh3IcaeCm3w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620719098; a=rsa-sha256; cv=none; b=QxBbzNMP7fIS3n08Q+FH+VmSXmxpVj3gxmGt3/A6t8eV9DH7vC8L8uD2uSDtKH2aqsKDNb axEbHM/rkYHmAEZtOYbRCjx6KrV1SQc0eDX0awxE4NU5PKoF3j/kFWDBf5C6brqfWGOwTk vZau7Qb2aY6IFHIcvCoUb0muKrMccnmtu9ngaCcZrD0fxajD+gtZMWybh0WwrLPjVP2prE R3kv99Dp4lVcHluGh+7FnceI6ER4uzJ1di3fmiz90Rq7hw3fLaitYQVARaNrONuqwbUGXD sqWjmpEMHoCU+YqArW88ROAqR8ydfy6bsJPV1/jRmFCdvQgpY5YgAuPwsrSwGg== 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.05 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: EC7741E1BB X-Spam-Score: -2.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: WDpenUabXJIS --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, After a recent update, I no longer can build an agenda buffer. I put the backtrace that I get at the end of this message. On the top of the trace there is a call to org-entries-lessp, which looks like this: (defun org-entries-lessp (a b) "Predicate for sorting agenda entries." ;; The following variables will be used when the form is evaluated. ;; So even though the compiler complains, keep them. (let ((ss org-agenda-sorting-strategy-selected)) (org-dlet ((timestamp-up (and (org-em 'timestamp-up 'timestamp-down ss) (org-cmp-ts a b ""))) Did something change recently around this code? Thanks, Alan Debugger entered--Lisp error: (void-variable timestamp-up) org-entries-lessp(#(" Mobile: TODO 2..." 0 14 (type "tagsmatch" prio= rity 1000 ts-date nil todo-state "TODO" org-hd-marker # org-marker # help-echo "mouse-2 or RET jump ..." org-complex-he= ading-regexp "^\\(\\*+\\)\\(?: +\\(CANC..." org-todo-regexp "\\(CANCELLED\\= |DONE\\|H..." org-not-done-regexp "\\(HOLD\\|NEXT\\|TODO\\|..." ...) 14 18 = (org-heading t fontified t face org-todo org-category "Mobile" tags ... org= -priority-highest 65 org-priority-lowest 67 time-of-day nil duration nil br= eadcrumbs nil ...) 18 19 (type "tagsmatch" priority 1000 ts-date nil todo-s= tate "TODO" org-hd-marker # org-marker # hel= p-echo "mouse-2 or RET jump ..." org-complex-heading-regexp "^\\(\\*+\\)\\(= ?: +\\(CANC..." org-todo-regexp "\\(CANCELLED\\|DONE\\|H..." org-not-done-r= egexp "\\(HOLD\\|NEXT\\|TODO\\|..." ...) 19 30 (type "tagsmatch" priority 1= 000 ts-date nil todo-state "TODO" org-hd-marker # org-marker # help-echo "mouse-2 or RET jump ..." org-complex-heading-= regexp "^\\(\\*+\\)\\(?: +\\(CANC..." org-todo-regexp "\\(CANCELLED\\|DONE\= \|H..." org-not-done-regexp "\\(HOLD\\|NEXT\\|TODO\\|..." ...) 30 55 (type = "tagsmatch" priority 1000 ts-date nil todo-state "TODO" org-hd-marker # org-marker # help-echo "mouse-2 or RET jump ...= " org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANC..." org-todo-regexp= "\\(CANCELLED\\|DONE\\|H..." org-not-done-regexp "\\(HOLD\\|NEXT\\|TODO\\|= ..." ...) 55 61 (type "tagsmatch" priority 1000 ts-date nil todo-state "TOD= O" org-hd-marker # org= -marker # help-echo "m= ouse-2 or RET jump ..." org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CA= NC..." org-todo-regexp "\\(CANCELLED\\|DONE\\|H..." org-not-done-regexp "\\= (HOLD\\|NEXT\\|TODO\\|..." ...) ...) #(" Mobile: Au rez..." 0 14 (type= "tagsmatch" priority 1000 ts-date nil todo-state nil org-hd-marker # org-marker # help-echo "mouse-2 or RET jump ..." = org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANC..." org-todo-regexp "= \\(CANCELLED\\|DONE\\|H..." org-not-done-regexp "\\(HOLD\\|NEXT\\|TODO\\|..= ." ...) 14 165 (type "tagsmatch" priority 1000 ts-date nil todo-state nil o= rg-hd-marker # org-mar= ker # help-echo "mouse= -2 or RET jump ..." org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANC..= ." org-todo-regexp "\\(CANCELLED\\|DONE\\|H..." org-not-done-regexp "\\(HOL= D\\|NEXT\\|TODO\\|..." ...) 165 167 (type "tagsmatch" priority 1000 ts-date= nil todo-state nil org-hd-marker # org-marker # help-echo "mouse-2 or RET jump ..." org-complex-heading-regexp "^\\(\\= *+\\)\\(?: +\\(CANC..." org-todo-regexp "\\(CANCELLED\\|DONE\\|H..." org-no= t-done-regexp "\\(HOLD\\|NEXT\\|TODO\\|..." ...) 167 173 (type "tagsmatch" = priority 1000 ts-date nil todo-state nil org-hd-marker # org-marker # help-echo "mouse-2 or RET jump ..." org-complex-h= eading-regexp "^\\(\\*+\\)\\(?: +\\(CANC..." org-todo-regexp "\\(CANCELLED\= \|DONE\\|H..." org-not-done-regexp "\\(HOLD\\|NEXT\\|TODO\\|..." ...) 173 1= 75 (type "tagsmatch" priority 1000 ts-date nil todo-state nil org-hd-marker= # org-marker # help-echo "mouse-2 or RET ju= mp ..." org-complex-heading-regexp "^\\(\\*+\\)\\(?: +\\(CANC..." org-todo-= regexp "\\(CANCELLED\\|DONE\\|H..." org-not-done-regexp "\\(HOLD\\|NEXT\\|T= ODO\\|..." ...))) sort((... ... ...) org-entries-lessp) org-agenda-finalize-entries((... ... ... ... ... ...) tags) org-tags-view(nil "REFILE") #f(compiled-function () #)() funcall(#f(compiled-function () #)) (let ((org-agenda-overriding-header '"Tasks to Refile")) (funcall '#f(com= piled-function () #))) eval((let ((org-agenda-overriding-header '"Tasks to Refile")) (funcall '#= f(compiled-function () #)))) org-agenda-run-series("daily review" (((tags "REFILE" ((org-agenda-overri= ding-header "Tasks to Refile"))) (tags-todo "-CANCELLED-@maybe/!-HOLD" ((or= g-agenda-overriding-header "Stuck Projects") (org-agenda-skip-function 'bh/= skip-non-stuck-projects))) (agenda "" ((org-agenda-skip-scheduled-if-deadli= ne-is-shown t) (org-agenda-skip-deadline-prewarning-if-scheduled 'pre-sched= uled) (org-agenda-span 'day) (org-agenda-overriding-header "Today"))) (agen= da "" ((org-agenda-skip-scheduled-if-deadline-is-shown t) (org-agenda-skip-= deadline-prewarning-if-scheduled 'pre-scheduled) (org-agenda-span 6) (org-a= genda-start-day "+1d") (org-agenda-overriding-header "Upcoming events"))) (= tags-todo "-CANCELLED-@maybe-HOLD/!-HOLD-WAITING" ((org-agenda-overriding-h= eader "Next Tasks") (org-agenda-skip-function 'bh/skip-project-habits-singl= e-blocked-scheduled) (org-agenda-sorting-strategy '(todo-state-down effort-= up category-keep)))) (tags-todo "-CANCELLED-@maybe-HOLD/!-HOLD-WAITING-REFI= LE" ((org-agenda-overriding-header "Tasks") (org-agenda-skip-function 'bh/s= kip-project-tasks-maybe) (org-agenda-todo-ignore-scheduled 'all) (org-agend= a-sorting-strategy '(category-keep)))) (tags-todo "-CANCELLED-@maybe/!-HOLD= " ((org-agenda-overriding-header "Projects") (org-agenda-skip-function 'as/= skip-non-projects) (org-agenda-sorting-strategy '(category-keep)))) (tags-t= odo "-CANCELLED-@maybe/!+HOLD" ((org-agenda-overriding-header "Projects and= Tasks On Hold") (org-agenda-sorting-strategy '(category-keep)))) (tags-tod= o "-CANCELLED-@maybe/!+WAITING" ((org-agenda-overriding-header "Waiting and= Postponed Tasks") (org-agenda-skip-function 'bh/skip-stuck-projects) (org-= agenda-todo-ignore-scheduled 'future))) (tags "-REFILE-@maybe/" ((org-agend= a-overriding-header "Tasks to Archive") (org-agenda-skip-function 'bh/skip-= non-archivable-tasks)))) nil)) org-agenda(nil) funcall-interactively(org-agenda nil) call-interactively(org-agenda nil nil) command-execute(org-agenda) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFTBAEBCAA9FiEE6lXof/BsSVW56ZmGBA0KO07S5ccFAmCaNGYfHGFsYW4uc2No bWl0dEBwb2x5dGVjaG5pcXVlLm9yZwAKCRAEDQo7TtLlx+p5CACPYx/dVdzIwT36 epAV3/+2ocAdBJYygWArMF3dnzcReujCYZGBvFIxzHbL6YAzS2FIbTP8wXtgzLzV SQ2+OJL55FuZZtXxcUmGEXc+chVmbxSwbZII6GZ4/o5tHn7dS2mcFd1Vpv1VYpm5 519Uh7t2qg8mNcj+t21OCVf8gGtYQu09JyTasxWyB5yI233rrBncKvCHoKRvxoH0 wr4oaHqxGRIwxp8tN85+wr4nffJYV66dKylLEaLny3mjlJMI3pZWIA3vVbGagW/w dbhTF6BHzFTP9raXc7zHtuhLYfrTpljlOJaoH7JqtVVl88BOCmuXkS+DmG5BuiZS L5nbJo9X =/7uJ -----END PGP SIGNATURE----- --=-=-=--