emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] incorrect result with C-c ! to correct (complete) a date [9.7-


From: Ihor Radchenko
Subject: Re: [BUG] incorrect result with C-c ! to correct (complete) a date [9.7-pre (release_9.6.1-306-ga645a6 @ /home/d/src/git-org-mode/lisp/)]
Date: Wed, 22 Mar 2023 11:47:51 +0000

Daniel Ortmann <dortmann31415@pobox.com> writes:

> Starting with this manually-typed birthday date:
> [1960-10-16]
> Use the arrows to move to the text.
> Now press C-c ! and then ENTER

As documented in 8.2.1 The date/time prompt section of Org manual:

       Not all dates can be represented in a given Emacs implementation.  By
    default Org mode forces dates into the compatibility range 1970–2037
    which works on all Emacs implementations.  If you want to use dates
    outside of this range, read the docstring of the variable
    ‘org-read-date-force-compatible-dates’.

Emacs implementations that won't be able to handle out-of-range dates
are 32-bit Emacs versions. See
https://yhetil.org/emacs-devel/8735gaqm6i.fsf@localhost

If we can assume that most of Emacs versions are 32-bit, we can flip the
default value of `org-read-date-force-compatible-dates' to nil.
The default `t' value has been set 12 years ago, when 32-bit systems
were much more common.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]