emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alan Schmitt <alan.schmitt@polytechnique.org>
To: Richard Lawrence <richard.lawrence@uni-tuebingen.de>,
	emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Cannot schedule something for 2039?
Date: Mon, 07 Jun 2021 11:39:11 +0200	[thread overview]
Message-ID: <87pmwyggjk.fsf@m4x.org> (raw)
In-Reply-To: <871r9e2fvz.fsf@aquinas>

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

Hello Richard,

On 2021-06-07 11:17, Richard Lawrence <richard.lawrence@uni-tuebingen.de> writes:

> whoa, that's a weird behavior, but it seems not to be a bug. I learned
> something today!
>
> It looks like some Emacs implementations don't support dates after
> 2038-1-1, so Org doesn't let you specify them by default. See the
> variable `org-read-date-force-compatible-dates'. I think you want to set
> this variable to nil.

Thanks a lot for pointing to this variable, its docstring is quite
interesting.

I’m trying the workaround suggested (using a diary sexp, i.e.,
"<%%(diary-date 2039 4 2)>" in my case), but I cannot test it (the
agenda for that date won’t build, at the date is outside the range). I
guess this will be fixed by then ;)

Best,

Alan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]

  reply	other threads:[~2021-06-07  9:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07  8:12 Cannot schedule something for 2039? alan.schmitt
2021-06-07  9:17 ` Richard Lawrence
2021-06-07  9:39   ` Alan Schmitt [this message]
2021-06-07 20:42     ` Samuel Wales
2021-06-07  9:24 ` Samuel Loury

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87pmwyggjk.fsf@m4x.org \
    --to=alan.schmitt@polytechnique.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=richard.lawrence@uni-tuebingen.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).