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 iMI+FwwhdGGMzwAAgWs5BA (envelope-from ) for ; Sat, 23 Oct 2021 16:49:48 +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 KKjgEgwhdGEHYQAA1q6Kng (envelope-from ) for ; Sat, 23 Oct 2021 14:49:48 +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 635D619E5E for ; Sat, 23 Oct 2021 16:49:47 +0200 (CEST) Received: from localhost ([::1]:37276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meILB-0006Qh-Qk for larch@yhetil.org; Sat, 23 Oct 2021 10:49:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46828) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meIKl-0006QY-0g for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 10:49:19 -0400 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:43875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meIKi-0002TM-SW for emacs-orgmode@gnu.org; Sat, 23 Oct 2021 10:49:18 -0400 Received: by mail-qt1-x836.google.com with SMTP id r17so6191904qtx.10 for ; Sat, 23 Oct 2021 07:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=Jc3d/8bcQ5y05rcV1k+zjCFQhsypO85K3N6cGfqRUz4=; b=prYoiTo2e680ngr/hKeE5i93biv2QuweuzIOxhcyXMRxkO8lcUsgo+viYEEuRE+mtN m97SvsFyIX9kz4/5hIvBSjllNUTa1cPON14DxPoymzbqtObjMtfOd7PoK5ISx4F1/Cg2 4FiHqJDhNbOvgRj42jfVrmpIdZkwowp9SZbO9ychDG2AwqTgAOHUYjSsiA78vBP0GtFG wXUiIp2PVpQ2j2XFiBU+mq+qieOOefBkyUlnq9FNzdIO5/1HDtWnCI2bmmWmfSahqGQF c0R7DqYuuY9bRNJtuH02B8aliZ9HOIAQQL7jld4y0L4jXHHsWlptQKabuj6Pu/RVBTxG Y43Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=Jc3d/8bcQ5y05rcV1k+zjCFQhsypO85K3N6cGfqRUz4=; b=2wmeP/DBMdizHCxB2GKQzeBnrAeP6Rb6q0lSR67w113lf6EHQS/qvg+SsSnN1j2hFr MgOes4oZ9ewn3vASrGMgITmdk+panaTIHBOInWVU0hVQezAVpPEy3/fLOgEyfzGCi1lU j694evzRrj2F1u/Y5VIsqY6y9sau80AUxkpQtlqZ6tOd4rNOyhCKzTlbox0m0crMgNPT qk1g2kpIQ/oOTxVzrusoHUPbLQrLJpzxTMRv57JjqlUi0D1YEYaRHVrZcFICxGz2ldxb pBaAEK3L8V7h03hshBeK7qXQ6Vb/Hpq7c7oYIGg4lL9tFr6VwCwgcszhXKGblwNHtA+i TZJw== X-Gm-Message-State: AOAM533zrAFfIgSlx7Hfj1wO5aUSBtPNC8xDOKpg2P5Ka/ig09iYh8kT AtATAYjqWbftK+2MFNV16/2AXgsQO9g= X-Google-Smtp-Source: ABdhPJzaCzc1u/Z00PHh9b+N8Kir8+3Csp1tsaJlEh+crfcEo/h0V7dILj+7LXdksvFaUMag4bHHeA== X-Received: by 2002:a05:622a:50a:: with SMTP id l10mr6823820qtx.73.1635000555445; Sat, 23 Oct 2021 07:49:15 -0700 (PDT) Received: from [192.168.1.12] (c-76-19-158-78.hsd1.ma.comcast.net. [76.19.158.78]) by smtp.googlemail.com with ESMTPSA id o16sm5725152qkp.1.2021.10.23.07.49.14 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Oct 2021 07:49:14 -0700 (PDT) Subject: Re: Fwd: errors when using org-agenda To: emacs-orgmode@gnu.org References: <733d6598-0efd-519d-ba13-08d127256b87@gmail.com> <3dd9032d-c18e-47ec-a26d-a3c2f1e3cbf7@gmail.com> From: William McCoy Message-ID: <62a47025-04dc-86c6-f77c-90b7cd9e23ae@gmail.com> Date: Sat, 23 Oct 2021 10:49:14 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=wdm8588@gmail.com; helo=mail-qt1-x836.google.com X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 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, NICE_REPLY_A=-1.781, 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=1635000587; 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=Jc3d/8bcQ5y05rcV1k+zjCFQhsypO85K3N6cGfqRUz4=; b=FtYsasFn/rdhm7eLzYWiR6CpMcrN1Czgyxco5Pv2Alhlbu+gQiHAsub6Zd/toJd0soKY6R OAHfUT3gS5QA4IYTfep7tVcHRdLLrlpSNKEIKeCMCQKusH2bcjSGWWBQQC1qddeUgJnW+H Knng8kYdnEaHgPUnzHXCqnBTxATY7utI69N+I+PALO7STlSGFCG9l8ih/ayZBzzd+RE3xw n9/5SzNx/XEYBvnLfKlFwtrXv6LoSiAlP6tws9BuhI95LCVQP0Cw6iTBlGrz0kdx+qg6cM NE/ivzQnFPxiexbLfWvvCyxXqX9blMKxhrWIhMDeVUgNiBwdrhJuzldMUL1jfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635000587; a=rsa-sha256; cv=none; b=auqeE1m/Q4YwsSO0hh4Y/hu0uTLxyFt2oovmrGN8cazpFU3ZxaGB85Uop37QQ55sRieh45 L+lee0QIPPXvuzizwjsuAWVlMq1QSUKz2r8cu2E4sA2/fJgEgMTRDs7sXrca1vOYRDeMWh ZFrMQIMuvq1vYef52q7n/2am3zI3pKPw9QX86NxwqqeILN3c/n/NH6TIn+b2pzGbaN51Ar bVOBDpIDLZBlf3hWrKsuHseWgQkCd8p68FeFcLBrqkG2WFiMiZwh/D1tq/5qDQkaFxHPpL TQebkrteqKafcVIWqUCf99hOHYGynSMzOOGb3SFiDHV3YyBWqtYvmWTREJIUaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=prYoiTo2; 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: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=prYoiTo2; 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: 635D619E5E X-Spam-Score: -1.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: LPt2/oIFeuPw Ok, great -- that fixed it!  I thought I had been careful to get rid of my old org from org elpa before I installed 9.5.  However, I hadn't considered that there was an older org still installed that had been packaged with my emacs 27.2 installation. So thanks very much for your quick advice.  It's very nice to have that functionality back. Bill On 10/22/21 9:57 PM, Tim Cross wrote: > William McCoy writes: > >> I am modifying my previous message (that has not yet appeared on this list) with >> some additional information regarding this issue: >> >> >> I have been having some strange errors when using org-agenda.  The errors seem >> to have begun about the time I upgraded to org 9.5 from the elpa repo a couple >> of weeks ago.  When I activate org-agenda, I get the usual menu.  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’s 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) >>   org-entries-lessp(#("  ubuntu:     Updated Pop_OS (Ubuntu) ..." 0 14 (type >> "tagsmatch" priority 1000 ts-date nil todo-state$ >>   sort((... ... ... ... ... ... ... ... ... ... ... ... ... ... ...) >> org-entries-lessp) >>   org-agenda-finalize-entries((... ... ... ... ... ... ... ... ... ... ... ... >> ... ... ...) tags) >>   org-tags-view(nil) >>   funcall-interactively(org-tags-view nil) >>   call-interactively(org-tags-view) >>   org-agenda(nil) >>   funcall-interactively(org-agenda nil) >>   call-interactively(org-agenda nil nil) >>   command-execute(org-agenda) >> >> When I enter org-agenda and use 'a' for my agenda, I get the following error: >> >> >> Invalid function: (date date) >> >> >> And the backtrace is: >> >> >> Debugger entered--Lisp error: (invalid-function (date date)) >>   (date date)() >> org-agenda-get-day-entries("/home/wdmccoy/orgfiles/C/C-examples.org" (10 18 >> 2021) :deadline :scheduled :timestamp :sexp) >>   apply(org-agenda-get-day-entries "/home/wdmccoy/orgfiles/C/C-examples.org" (10 >> 18 2021) (:deadline :scheduled :timestamp :s$ >>   org-agenda-list(nil) >>   funcall-interactively(org-agenda-list nil) >>   call-interactively(org-agenda-list) >>   org-agenda(nil) >>   funcall-interactively(org-agenda nil) >>   call-interactively(org-agenda nil nil) >>   command-execute(org-agenda) >> >> >> Disregard the following comments between the dashed lines.  I just realized that >> when I start emacs with the -Q switch, an older built-in version of org-mode >> (9.4.4) is used.  So I do think this is related to changes in version 9.5. >> >> -------------------------------------------------------------------------- >> If I start  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.  I just can't >> figure out what's causing it.  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:  Linux pop-os 5.13.0-7614-generic #14~1631647151~21.04~930e87c-Ubuntu 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. >