erimius@web.de writes: > * Reproduction > > Call ~org-deadline~ with a warning period like so: > > > (org-deadline nil "<2021-07-20 Tue -1d>") > ;; => DEADLINE: <2021-07-20 Tue> > > * Expected > > Deadline gets added with the warning period provided. Can you try the attached patch? Also, note that warning period is still not supported when reading deadline interactively. Not sure if we need it though. Best, Ihor