Package: elpa-org-drill
Version: 2.7.0+20200412+dfsg1-4
Severity: important
Tags: upstream patch

Dear Maintainer,

org-drill is broken with Org 9.6 and newer, which is what ships in trixie.

* What led up to the situation?

I ran M-x org-drill-cram on drill files that had been used with org-drill 
before, on the same Emacs.

* What was the outcome?

The session stopped the first time it re-read a reviewed item, with:

    Not an Org time string: [Y-11-18 Wed 16:%]

I expected the session to continue normally.

* What is the cause?

When an item is reviewed, org-drill saves the review date in the 
DRILL_LAST_REVIEWED property. It builds that date string by cutting the first 
and last character off `org-time-stamp-formats'. Those used to be the brackets 
"<...>". Org 9.6 removed the brackets from that variable, so the code now cuts 
real characters instead and saves a broken value, which fails to parse on the 
next read.

* Where is the fix?

Here, with a description of the problem, the impact, and ERT tests (red on Org 
9.6+ before the patch, green after; no change of behaviour on older Org):

https://gitlab.com/phillord/org-drill/-/merge_requests/27


Thanks for maintaining this package!

Luca



-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.90+deb13.1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages elpa-org-drill depends on:
ii  dh-elpa-helper           2.1.9
ii  elpa-persist             0.6.1+dfsg-3
ii  emacs-common [elpa-org]  1:30.1+1-6+deb13u1
ii  emacsen-common           3.0.8

Versions of packages elpa-org-drill recommends:
ii  emacs              1:30.1+1-6+deb13u1
ii  emacs-gtk [emacs]  1:30.1+1-6+deb13u1

elpa-org-drill suggests no packages.

-- no debconf information

Attachment: 0001-Fix-broken-timestamps-on-Org-9.6-and-newer.patch
Description: application/mbox

Reply via email to