Bastien <b...@gnu.org> writes:

> Toby Cubitt <ts...@cantab.net> writes:
>
>> In the patch I posted, I also took the opportunity to set
>> `cursor-type' to nil when opening the calendar in `org-read-date'.
>> The cursor obscures one digit of the selected date, making that bit
>> harder to read (as well as looking ugly). Did you intend to reject
>> this change too?
>
> I did because I found the not-bold-anymore face wasn't visible enough,
> and the shallow cursor made it visible.
>
> I use inverse-video now for this face, so cursor-type nil is okay, I
> applied a patch with this.

This patch broke org-read-date. It will no longer parse date strings
such as "Aug 15" correctly, instead inserting the current day.

Steps to reproduce

1. Start with a headline:

,----
| * A Headline
`----

2. Type C-c C-s (org-schedule)

3. Enter a future date (e.g., Aug 20).

4. Note the resulting headline:

,----
| * A Headline
|    SCHEDULED: <2012-04-25 Wed>
`----

If I comment out the following line:

          (org-eval-in-calendar '(setq cursor-type nil))

org-read-date works correctly.

Best, Matt

Reply via email to