emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [Bug] Error when clicking in calendar


From: Ivan Vanyushkin
Subject: [O] [Bug] Error when clicking in calendar
Date: Wed, 25 May 2011 22:08:00 +0300
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

Hello.
There is bug in calendar, that causes error and CUA stops working.

1. Open any .org file.
2. Call calendar (insert date): Ctrl-c .
3. Left-click on any date.

Result:
1. Date is inserted
2. Error is shown in "Messages" buffer:
"Error in post-command-hook: (buffer-read-only *Calendar*)"
3. As effect of error, Ctrl-C stops working correctly: it expects one more key even if text is selected.
If I disable CUA mode and enable again, it fixes.

Environments with error:
- Emacs 23.3 and build in org-mode 6.33
- Emacs 23.3 and org-mode 7.5.
- Emacs 23.3 and org-mode from git master branch.

I think, error is related to "(add-hook 'post-command-hook 'org-read-date-display)" in org.el somehow, but my knowledge is not enough to fix it.

Please, help me to fix "Error in post-command-hook: (buffer-read-only *Calendar*)".
Thank you.

--
Ivan.




reply via email to

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