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 +FvdAItyc2FL1wAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 04:25:15 +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 sBgsOIpyc2GvYgAA1q6Kng (envelope-from ) for ; Sat, 23 Oct 2021 02:25:14 +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 673AFA90 for ; Sat, 23 Oct 2021 04:25:14 +0200 (CEST) Received: from localhost ([::1]:47112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1me6ie-0006yU-Km for larch@yhetil.org; Fri, 22 Oct 2021 22:25:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1me6hh-0006yH-NV for emacs-orgmode@gnu.org; Fri, 22 Oct 2021 22:24:13 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:41923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1me6hf-0004aI-OD for emacs-orgmode@gnu.org; Fri, 22 Oct 2021 22:24:13 -0400 Received: by mail-pf1-x430.google.com with SMTP id y7so5224650pfg.8 for ; Fri, 22 Oct 2021 19:24:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=3d5MuugZiyO+QME1NbQrG1jBPF74HDYhSyYHVSHlpuI=; b=ovwuttZNFJAKSF1coWc017//NpUniVWKTcLP/7GeK8GAqWxiN1RIpdfMU5aqWvXZtu 19ITSRuATV2qtXghyGkt4d276/E4mN5ycjpTR5GXdFE9lhzUim6G+ET+fDkHwMrId7Nb T8u+Am4bAJP9HLYubruOy4xOmitX82CH1943jKvafnFijs8eX/8kJtJtIJH/ia9Pp3Rd o+EHLFyl0t3uuERZbyUfHUVpO3qwsiIisqYySe1LIEAfXizpn9TVQxySRUaLxua3IYQA odYpFlcqIAfRJ5kpULdBuOZMHU/0mBCYLJS/FQaUtkfbOBwZKCF+XLi6X4PNHK3Rnwly os7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=3d5MuugZiyO+QME1NbQrG1jBPF74HDYhSyYHVSHlpuI=; b=xy2IE4n/xJyIFPc0H6QKUTva5Wj0Py+HEqx11I+cnSGVDkPyiIfq34Up1s8XjuvpWl CM5apt/4gLOoXOwojFSQhMkUmc3PTAdkaQcS7zK5chcPE/0tThpal4W3Y99Dpws54Xds Y7V+geizjZy0fa7iitKCCvSvKUbO+QE/t++8NehlkvprONvVMhbznY4iczCOheUB+eu8 SbkF2vtJWeCZoCer3ax8+Rd3QexyRv7lBNZDPtG1mFrWYQk/KkrUoMSBQvDgRgW8JZkF Rfo5uJhHBkbWLAofcVOlj3nbn7BvlJBGrWIJewwtrZPk7pQcm3utwuxDJsK9sxNBjIUj Bi+Q== X-Gm-Message-State: AOAM533KsieazmG1Zhitcr7EWA1uKGYkCR/Vr3EuJLud4s2imwNOPOuJ X5CIlVDnV4dp/vWNR+cueTiYwc36cck= X-Google-Smtp-Source: ABdhPJxyJ/7w7vG5AfpwIhew21rhHf0eIsY37wfU/PBgwc5tBLdgzh5vdS3CSnPLaLuONl2uK3jPPQ== X-Received: by 2002:a62:8f53:0:b0:44c:5d10:9378 with SMTP id n80-20020a628f53000000b0044c5d109378mr3710113pfd.19.1634955849494; Fri, 22 Oct 2021 19:24:09 -0700 (PDT) Received: from blind-drunk.fritz.box (124-171-51-79.dyn.iinet.net.au. [124.171.51.79]) by smtp.gmail.com with ESMTPSA id q18sm12347617pfj.46.2021.10.22.19.24.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Oct 2021 19:24:09 -0700 (PDT) References: <733d6598-0efd-519d-ba13-08d127256b87@gmail.com> <3dd9032d-c18e-47ec-a26d-a3c2f1e3cbf7@gmail.com> User-agent: mu4e 1.6.7; emacs 27.2 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Fwd: errors when using org-agenda Date: Sat, 23 Oct 2021 12:57:13 +1100 In-reply-to: <3dd9032d-c18e-47ec-a26d-a3c2f1e3cbf7@gmail.com> Message-ID: 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::430; envelope-from=theophilusx@gmail.com; helo=mail-pf1-x430.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, 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.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=1634955914; 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: 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=3d5MuugZiyO+QME1NbQrG1jBPF74HDYhSyYHVSHlpuI=; b=adFUPgJFTG8oQCQlD7zeuHVTkFzk8MrnHdK3ma9tTuMNc0bpebGDI6BtM5lZcdsm6h/Wga XE2/5BTioi6/0w17OdmeRN5hyosKrrpwx8GlDn5mxvuxxi/Lr8fY41UdKL1GfbscRVMpsX L/QJDiL2qlKzdh/JIQ/MoP6rstAOXmcAJOxmL8+YWeMGu/tI56ZqOYNzK/b4LmJ/AiNHhO 3Jd1ppOzOn+dwKJ2s0iOm11AA+U6ShdGwwJylx0YI8ubkd/ifdIJPuq1kd7OBpQxjTYnmK Y6e8C/RwwNA8a/w0j1ycYVgeLn1G7uanI/n7flZRkHsL+zZHd8SGrN4x8/ULOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634955914; a=rsa-sha256; cv=none; b=IhoS1OcB5B0kDNkRRGoz/xEjWkR4O4srJ57xfCaH5ozJP2KoLaotqyCJ6D0c8byJCRKnLW g/0zn0j9Pzbr2WX6HjMUuMcUbRYjbCh+pghfnZwry7B2wBayVRXnGhF4gQ65k4dQaVM97+ u/K0E+/bYYKkQwdgCpPwhxJefANezFB1XfJQ9Z7UHfzPlzzTkrkyteL2HJhKrPR48ohbmi m26VolL1lFqNWyMX9OFqGVoem7FM/bKHb08oyfdJespNB7vKBV6UO1PJ281t29/5nn04DX i0ZrgSi1qS/fcFQwDMHQJw4/VkUVABLUgvaXGRTeSCmsogl6qI0YnkUll5P1ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ovwuttZN; dmarc=pass (policy=none) header.from=gmail.com; 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.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ovwuttZN; dmarc=pass (policy=none) header.from=gmail.com; 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: 673AFA90 X-Spam-Score: -2.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: ry/6DAWPL9TZ William McCoy writes: > I am modifying my previous message (that has not yet appeared on this lis= t) with > some additional information regarding this issue: > > > I have been having some strange errors when using org-agenda.=C2=A0 The e= rrors seem > to have begun about the time I upgraded to org 9.5 from the elpa repo a c= ouple > of weeks ago.=C2=A0 When I activate org-agenda, I get the usual menu.=C2= =A0 When I press > 'm' to search for a tag and then enter a known tag name, I get an empty *= Org > Agenda* buffer and an error in the minibuffer: > > > > Symbol=E2=80=99s value as variable is void: timestamp-up > > > With debug-on-error set, I get the following backtrace: > > > Debugger entered--Lisp error: (void-variable timestamp-up) > =C2=A0 org-entries-lessp(#("=C2=A0 ubuntu:=C2=A0=C2=A0=C2=A0=C2=A0 Update= d Pop_OS (Ubuntu) ..." 0 14 (type > "tagsmatch" priority 1000 ts-date nil todo-state$ > =C2=A0 sort((... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) > org-entries-lessp) > =C2=A0 org-agenda-finalize-entries((... ... ... ... ... ... ... ... ... .= .. ... ... > ... ... ...) tags) > =C2=A0 org-tags-view(nil) > =C2=A0 funcall-interactively(org-tags-view nil) > =C2=A0 call-interactively(org-tags-view) > =C2=A0 org-agenda(nil) > =C2=A0 funcall-interactively(org-agenda nil) > =C2=A0 call-interactively(org-agenda nil nil) > =C2=A0 command-execute(org-agenda) > > When I enter org-agenda and use 'a' for my agenda, I get the following er= ror: > > > Invalid function: (date date) > > > And the backtrace is: > > > Debugger entered--Lisp error: (invalid-function (date date)) > =C2=A0 (date date)() > org-agenda-get-day-entries("/home/wdmccoy/orgfiles/C/C-examples.org" (10 = 18 > 2021) :deadline :scheduled :timestamp :sexp) > =C2=A0 apply(org-agenda-get-day-entries "/home/wdmccoy/orgfiles/C/C-examp= les.org" (10 > 18 2021) (:deadline :scheduled :timestamp :s$ > =C2=A0 org-agenda-list(nil) > =C2=A0 funcall-interactively(org-agenda-list nil) > =C2=A0 call-interactively(org-agenda-list) > =C2=A0 org-agenda(nil) > =C2=A0 funcall-interactively(org-agenda nil) > =C2=A0 call-interactively(org-agenda nil nil) > =C2=A0 command-execute(org-agenda) > > > Disregard the following comments between the dashed lines.=C2=A0 I just r= ealized that > when I start emacs with the -Q switch, an older built-in version of org-m= ode > (9.4.4) is used.=C2=A0 So I do think this is related to changes in versio= n 9.5. > > -------------------------------------------------------------------------- > If I start=C2=A0 emacs with the -Q switch and then execute my org-agenda-= files > setting command in the *scratch* buffer: > > > (setq org-agenda-files (directory-files-recursively "~/orgfiles/" "\\.org= $")) > > > then org-agenda appears to work fine without errors. > -------------------------------------------------------------------------- > > > I have made a minimal init.el file and trimmed virtually everything from = my > emacs-custom.el file (file attached), but the error still occurs.=C2=A0 I= just can't > figure out what's causing it.=C2=A0 Any ideas? > > Also I forgot to add: > > emacs-version: GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.20, cairo version 1.16.0) of 2021-06-04 > > org-version: Org mode version 9.5 (9.5-g0a86ad @ > /home/wdmccoy/.emacs.d/elpa/org-9.5/) > > OS:=C2=A0 Linux pop-os 5.13.0-7614-generic #14~1631647151~21.04~930e87c-U= buntu SMP > > > Thanks, Bill > > > > [2. text/x-emacs-lisp; init.el]... > > [3. text/x-emacs-lisp; emacs-custom.el]... These types of errors are frequently caused by a 'mixed' installation of org versions. This will happen if you upgrade org when org is already loaded in the instance of emacs used to perform the upgrade. It is critically important when upgrading org that org is not already loaded. Highly recommend you remove the version of org you have installed, restart emacs (ensuring nothing in your init.el loads org - comment out if there is), install org 9.5, uncomment anything in your init.el you commented to ensure org was not loaded, restart emacs and see if the problem is resolved. Note that if your installing other org extensions, make sure these are not loaded as well as it is probable they will load org as well.=20