emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Simon Butler <simon@floss.nu>
To: emacs-orgmode@gnu.org
Subject: Re: Stable 9.5: invalid function (date date)
Date: Tue, 30 Nov 2021 21:18:37 +0100	[thread overview]
Message-ID: <87ee6xnzl7.fsf@aristotle.floss.nu> (raw)
In-Reply-To: <87pmqoczq4.fsf@localhost>

Ihor Radchenko <yantar92@gmail.com> writes:

> Tim Loderhose <tim.loderhose@mlprograms.com> 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,
> Ihor

      parent reply	other threads:[~2021-11-30 20:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-02  6:51 Stable 9.5: invalid function (date date) Jarmo Hurri
2021-10-02  7:23 ` Ihor Radchenko
2021-10-03  3:34   ` Jarmo Hurri
2021-11-25  9:53     ` Tim Loderhose
2021-11-25 10:10       ` Ihor Radchenko
2021-11-29 12:52         ` Tim Loderhose
2021-11-30 20:18         ` Simon Butler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ee6xnzl7.fsf@aristotle.floss.nu \
    --to=simon@floss.nu \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).