Hi all,

I posted this bug on the emacs bugs mailing list but was unsure if it should be 
posted there or here. Here's the bug report in full copied verbatim from my 
original post on emacs mailing list:

For a TODO item in org, as I type a SCHEDULED date, I can see a preview
of the final timestamp next to it (starting with '=> FINAL_DATE'). Now I
noticed that if I type in an incorrect string say '6:30pom' instead of
'6:30pm', it gives me an error message in the echo area:

```
Error in post-command-hook (org-read-date-display): (error "Not an integer 
string: '6:30pom'")
```

After I delete backwards to correct the string to '6:30pm', the preview
date never comes back.

I am able to reproduce this with `emacs -Q`. Thanks.

Org mode version: 9.8.5

In GNU Emacs 31.0.90 (build 3, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.4, Xaw scroll bars) of 2026-06-08 built on arch
Repository revision: 0ee48ac4df205e0d915946b5db00e73a0cd21ae0
Repository branch: HEAD
Windowing system distributor 'The X.Org Foundation', version 11.0.12101022
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr/local --with-x-toolkit=lucid
 --with-native-compilation=aot --with-threads --with-tree-sitter
 --with-sqlite3 --with-dbus --with-xml2 --with-modules --with-libgmp
 --with-gpm --with-lcms2 --with-x --without-pgtk --without-gconf
 --without-imagemagick --with-gif=ifavailable --with-png --with-rsvg
 --with-webp --with-tiff --with-jpeg --with-harfbuzz --with-cairo
 --with-libotf --with-gnutls=ifavailable --without-compress-install
 --with-mailutils'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM
XRANDR LUCID ZLIB

Important settings:
  value of $LANG: C.UTF-8
  locale-coding-system: utf-8-unix

Kind regards,
Ashish

Reply via email to