From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YDFFC9iNpmHpawAAgWs5BA (envelope-from ) for ; Tue, 30 Nov 2021 21:47:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OK/aBtiNpmG2XQAAB5/wlQ (envelope-from ) for ; Tue, 30 Nov 2021 20:47:20 +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 9D1B310B40 for ; Tue, 30 Nov 2021 21:47:19 +0100 (CET) Received: from localhost ([::1]:48502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msA22-00074n-JT for larch@yhetil.org; Tue, 30 Nov 2021 15:47:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms9z9-00074I-Lq for emacs-orgmode@gnu.org; Tue, 30 Nov 2021 15:44:19 -0500 Received: from smtp.egensajt.se ([193.42.159.246]:42942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms9z7-0007Tz-2n for emacs-orgmode@gnu.org; Tue, 30 Nov 2021 15:44:19 -0500 Received: from aristotle.floss.nu.floss.nu (c-5eea4c0e-74736162.cust.telenor.se [94.234.76.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: simon@floss.nu) by smtp.egensajt.se (Postfix) with ESMTPSA id 9C07520200 for ; Tue, 30 Nov 2021 21:44:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=egensajt.se; s=dkim; t=1638305045; bh=9Hsn46NvN/4OGRmEo0Xa3MNx520Yq3tp3ClETdeK2MY=; h=References:From:To:Subject:Date:In-reply-to:From; b=W1ypTfdSKClZAI6iaZhyhl+dHe6hrVdU9RsrtB9J8Z+34bIM4gxXrrbgvf8yRCLGg EJ/PU3R8AUQQh68w9RSRF5WQyEsT/4TabAwaWBDMsxd7GXckf6EeT5MMbcafQbb2G6 L2VONnmOOYtG4GBe734DL2ZnaK9SaeLYZI6dvt6M= References: <87v92fc42v.fsf@iki.fi> <87pmsnyjo2.fsf@localhost> <87y27adbnh.fsf@iki.fi> <87pmqoczq4.fsf@localhost> User-agent: mu4e 1.6.10; emacs 27.2 From: Simon Butler To: emacs-orgmode@gnu.org Subject: Re: Stable 9.5: invalid function (date date) Date: Tue, 30 Nov 2021 21:18:37 +0100 In-reply-to: <87pmqoczq4.fsf@localhost> Message-ID: <87ee6xnzl7.fsf@aristotle.floss.nu> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: softfail client-ip=193.42.159.246; envelope-from=simon@floss.nu; helo=smtp.egensajt.se X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665 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=1638305239; 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=9Hsn46NvN/4OGRmEo0Xa3MNx520Yq3tp3ClETdeK2MY=; b=Q35CsYFCLCgZsB9vVPvuLkBClZSG9ad/DgN2cOIhaafSvOF1/zilTa/b/wPDW4mAyAa//4 vqNdIRAXFa5Mk/O9Hl3WVRrMJnFdj2gi4BrFmSjpqBs1iCvvA5OcdxLTjYwTu+2Fzpo/XR /JNrCwe+RtG0GRgH2ia9H2Va3LSQm0FtjbJQj61bOI/KDkMjqETXt2qjkGHVi9EDkQFDDF p4f47JYIPwaFfcUS8z44HfmGSdzfnHTuhT/k0gV7XMnseJ6qmo80Nnb1GTzhWBXOHrLzgo MtJx6z/86+HlVDCU85ihdMzuFPX8EeE3aTstMAxe29QtfjSIwCzlLRw9Gm3eTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638305239; a=rsa-sha256; cv=none; b=ZMO+MHtE+qLK5VSO4V/PMoUCFPGx5gCw0Nh45snlK4vfmMPs4jcIpIbAZmDDwT/9MwiQiA ESpuR1I8xAQ0wNJ9D9mk/Q+Gutya6IjgeoQEDx/Yg+pLaHT+ceaNVgIjaOh3NabC/dx+ig vE1VjOiwE8109uMzgErkElAzwYtjq3aeTjREX3WY2s+KO8GjDP7eOPckZn8kOTvC70UmCC oaObz/K0pKnWLFLKad0QF9W72jqtWNysSBD231e2poJry3Ms19Oi22irpq4wHQxccvGEV2 k+icPWZLOGmbgesovRRyjzV5ru4JFYr6aF9I9Qhc45zH8XgjwYk4I5bm8YKQYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=egensajt.se header.s=dkim header.b=W1ypTfdS; dmarc=none; 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.39 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=egensajt.se header.s=dkim header.b=W1ypTfdS; dmarc=none; 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: 9D1B310B40 X-Spam-Score: -4.39 X-Migadu-Scanner: scn0.migadu.com X-TUID: TlcnSZ+Sl4K+ Ihor Radchenko writes: > Tim Loderhose writes: > >> Hi, >> >> I am also getting this error. It's fixable only by re-installing org from a >> emacs -q, I assumed because files on the agenda file list are visited >> before org is fully installed? >> Unfortunately, this also occurs with a fresh install of Emacs >> (re-installing all packages), but I'm not sure why. I'd assumed it's >> because of the agenda file list, but that doesn't exist at that point. >> I will try these days to get a minimal config to reproduce the issue, and >> will respond again. > > This is a known problem for users loading Org early in their config and > using non-standard package managers (like straight.el). See > https://list.orgmode.org/m25ytopjg9.fsf@blind-drunk.fritz.box/ > > In the linked thread we are also discussing some ways to address this on > Org side, but no good solution yet. Patches are welcome. > What follows seems a little silly to me, but maybe it points to a clear reason for someone with greater knowledge. I've just updated two computers from org 9.4.4 to 9.5.1. Both are running fedora 35 with emacs 27.2 One of the installations had this problem. There are minor differences in the .emacs files between the two installations in terms of packages and the order in which they appear in the file. I also use use-package. seeing the above advice I revised the order of packages on the machine with the problem so they were close to the order on the other machine - mostly before (use-package org ...). Restarted emacs, and the problem was still present. I had noticed that the statement (prefer-coding-system 'utf-8) appeared in both .emacs files, early in one and towards the end of the on where the (date date) was seen after M-x org-agenda after moving (prefer-coding-system 'utf-8) to before the first use of use-package the problem is gone best Simon > Best, > Ihor