From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +INxA9bSDmLPaQEAgWs5BA (envelope-from ) for ; Thu, 17 Feb 2022 23:57:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6OOrANbSDmLchQEA9RJhRA (envelope-from ) for ; Thu, 17 Feb 2022 23:57:26 +0100 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 710233A8F0 for ; Thu, 17 Feb 2022 23:57:25 +0100 (CET) Received: from localhost ([::1]:48996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nKpiF-0001JH-MD for larch@yhetil.org; Thu, 17 Feb 2022 17:57:23 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nKpf8-0005MB-Af for emacs-orgmode@gnu.org; Thu, 17 Feb 2022 17:54:10 -0500 Received: from [2607:f8b0:4864:20::102c] (port=50937 helo=mail-pj1-x102c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nKpf6-0003z3-Ne for emacs-orgmode@gnu.org; Thu, 17 Feb 2022 17:54:10 -0500 Received: by mail-pj1-x102c.google.com with SMTP id m7so7038378pjk.0 for ; Thu, 17 Feb 2022 14:54:07 -0800 (PST) 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; bh=pqgxabNPlZ2Tihuaxa14UJHJKo5XnqV2ksVSSuU9RcU=; b=cv/XvTHrWCzs7LonsXmDQZnguR6MwUESch0Zll5wub8DS0u8hnjKT7GsQgZB0gBa0F /FhVstX4a/ggyo2CaVXh8cjBx7Ep7tJOiLq8StnpP9RP2q7xzoxgeZgttPRU+YjFzSEb KQ3v/PNCFTy1GyD15LhttIFgoGPsvW4/I+yiBPoAB2//kqru/M5n0ka3CIspwVhFquE5 nJ0Uoc3/9QrG63YhOFStUjTGsR+CEDCazrWvUephqpsplTJSc5vmnkwaEr1S/UGKj/pu cl+gyXHlW7D87NYRA/catV3ssvQEyJrgWDK+TZb3pSk80Jw/zJ55tL48AhpOgKNLMNAw 34DA== 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; bh=pqgxabNPlZ2Tihuaxa14UJHJKo5XnqV2ksVSSuU9RcU=; b=QhecBcjTM3GD/bdHkc7WURh2CNxJRxs7y0KLv9eNs45P17anzOawzfxjwMjGuYQ8tq yzXjk6DVGtO0EWftX1aZBP4NjoeLyubthqqSGAbOC3xg7T2rXB+cy7j0dRwstBhc2/nN TXFPO/WI5CZVS7ECIjg9T0vqqhex7vxK3THdsimlufeie/ixx90Q9DAWwUn6+3bbjBGI acUjtRIcspJknMd4syTJbRtHRdLSb6ZaHneYX+UGkgatY5zgKkX3Tbfw1ZoATtMqmOx9 UiX19HKOJVT43AP8meDO3RJAtVykERgtgWesEghtQFW9hx00HJ3dhanr6+I9cyY7RUL4 nUzw== X-Gm-Message-State: AOAM532Wo8hYBCmTRuUxD4O9CNsYcpr90YR20kIca6t61U1FukX5AgyH Ej5TFoc5Hp8LZ/suIoyJ89lBxNBhFCM= X-Google-Smtp-Source: ABdhPJyMS1OL8N317JuO/7CxHsgbNnLS/srVu7Gtamchq5w0qWezjGyyQGHJHDR/ngVJne4QRZxcfw== X-Received: by 2002:a17:90b:4391:b0:1b8:efac:58b6 with SMTP id in17-20020a17090b439100b001b8efac58b6mr9395943pjb.60.1645138446119; Thu, 17 Feb 2022 14:54:06 -0800 (PST) Received: from dingbat (2001-44b8-31f2-bb00-45f0-1336-2359-9bb0.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:45f0:1336:2359:9bb0]) by smtp.gmail.com with ESMTPSA id t1sm8903720pgj.43.2022.02.17.14.54.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 14:54:05 -0800 (PST) References: <87y229cxm0.fsf@hornfels.zedat.fu-berlin.de> User-agent: mu4e 1.7.7; emacs 28.0.91 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Reload uncompiled needed Date: Fri, 18 Feb 2022 09:44:10 +1100 In-reply-to: <87y229cxm0.fsf@hornfels.zedat.fu-berlin.de> Message-ID: <87zgmpw1dh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::102c (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::102c; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x102c.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1645138645; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=pqgxabNPlZ2Tihuaxa14UJHJKo5XnqV2ksVSSuU9RcU=; b=fgS7sNItpxVwQvwhoHhav87ilHAPI/J8hgk/2d7tSk5BhBeZ8jZ1qtMSSNlp/BI6LpCrJr BzotMrsxuf/tdMZ1PQxRBZt3iPY8OifzDWrjr+FFrYJLyzXD59poJ3CJ6EsS5qMd8aK/hx SG1mvpxBR2XiGAuCbf0bAmRntSbqnx2ttpoUync6w7eCA2EB018EIHQLPsdyPsW86PGxP/ mz6QEi3ckQKDEYlH6bcSjagMcvC9ckvYUbAQZwTIM48ebXuBFQQ0dW9d7diXqtJ4hE05VD FgpW+mEj02LRP4v9v1OUAr+pUAl3cLEjTnL1F8tTuYuNTsadqVIB2nbKPZI76A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1645138645; a=rsa-sha256; cv=none; b=JuxVCOt+aiWS3TbsFInYcgEbU7zgQgBTku6jaQj4E+sntVQDAGKFKHmgtbr7I3dux9J2cz GUY+RYDGGn2OwzL4qBNp4pUfHBOZJvZfuQhuiVuQqf9RIx3kZl+F7X1zEEGvibM1Dio79N 7qwRSaAhAWmhtZxsW355syFgSEICUlpNYaTDE0jMmDXk9Zhz4bYOOlcClBwkgmNvTZSiAK o805vAzyyWT5nNQp7pmhqnvrOw4EBkFR0it9s3PK/8690ss+ziUuTeWKBtg7QHSmlTDEWI YoxUY2lt2oizRkoA3Vvh6q/7dsrGl8nZMHxjuTZ2sGA40RCr2cI5yCNAkaWuZQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="cv/XvTHr"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="cv/XvTHr"; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 710233A8F0 X-Spam-Score: -4.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: itSDKLT+5duU "Loris Bennett" writes: > Hi, > > I have managed to install 9.5 but I now get > > org-agenda-get-day-entries: Invalid function: (date date) > > when I try to generate my agenda. If I reload Org uncompiled, the error > disappears. > > In *Messages* it seems like the very same version has been reloaded: > > Org mode version 9.5.2 (9.5.2-gfbff08 @ /home/loris/.emacs.d.default/elpa/org-9.5.2/) > > Successfully reloaded Org > Org mode version 9.5.2 (9.5.2-gfbff08 @ /home/loris/.emacs.d.default/elpa/org-9.5.2/) > > If I try to byte recompile the directory, everything seems > up-to-date: > > Checking /home/loris/.emacs.d.default/elpa/org-9.5.2/... [125 times] > Checking /home/loris/.emacs.d.default/elpa/org-9.5.2/doc... > Checking /home/loris/.emacs.d.default/elpa/org-9.5.2/etc... > Checking /home/loris/.emacs.d.default/elpa/org-9.5.2/etc/csl... > Checking /home/loris/.emacs.d.default/elpa/org-9.5.2/etc/styles... > Done (Total of 0 files compiled, 124 skipped) > > The el and elc files seem to have the same date: > > $ ll ~/.emacs.d.default/elpa/org-9.5.2/org.el* > -rw-r--r-- 1 loris users 834072 Feb 9 16:45 /home/loris/.emacs.d.default/elpa/org-9.5.2/org.el > -rw-r--r-- 1 loris users 719363 Feb 9 16:45 /home/loris/.emacs.d.default/elpa/org-9.5.2/org.elc > > I can't pretend to understand the contents of org.elc, but it does > contain the following > > (provide \\='org-xyz)\n\nFor export specific modules, see also > `org-export-backends'." :group org :set org-set-modules > :package-version (Org . "9.5") > > The version which comes with Emacs 27 on Debian seems to be 9.3: > > $ zgrep '^;; Version' /usr/share/emacs/27.1/lisp/org/org.el.gz > ;; Version: 9.3 > > I presume I could just delete all the elc-files, but I would like to > know what is going on. Can anyone see what is happening? > How did you upgrade? (package.el, straight.el, manual git clone etc)? Did you make sure no org functionality was already loaded into Emacs before you performed the upgrade? If you try to upgrade org using a apckage manager, such as package.el, and you already have some org functionality loaded at the time of the upgrade, you can get a broken 'mixed' installation. This will often create the type of errors you are experiencing. The solution is to uninstall the upgraded version, start a new Emacs session which has no org functionality loaded (may be necessary to comment out any org related configuration in your init file to prevent org being loaded at startup), upgrade org to current version and then restore your init setup code. Depending on what configuration code you ahve in your init file and how it is structured, sometimes it is sufficient to just ensure you do the upgrade immediately after starting a new Emacs session. Where people run into problems is when they upgrade org in an Emacs session which has been running for some time (and which likely has some org functionality already loaded).