org-agenda.el: Fix bug when displaying the changed date
commiteb0f8afdf42d696c1dd53d38a10ceaec3ae4c4f3
authorBastien Guerry <bzg@altern.org>
Thu, 17 Apr 2014 00:31:23 +0000 (17 02:31 +0200)
committerBastien Guerry <bzg@altern.org>
Thu, 17 Apr 2014 00:31:23 +0000 (17 02:31 +0200)
tree039429daf4c44aef2c444029f1d00378ae8c6d4b
parent241764b2d11e1d3b7448e75faf0c44b494a866a2
org-agenda.el: Fix bug when displaying the changed date

* org-agenda.el (org-agenda-mode): Disable `indent-tabs-mode'.
(org-agenda-dim-blocked-tasks): Make overlays intangible.
(org-agenda-show-new-time): Fix bug when deleting a timestamp
right after changing it.
(org-agenda-check-for-timestamp-as-reason-to-ignore-todo-item)
(org-agenda-get-sexps, org-agenda-filter-by-regexp)
(org-agenda-filter-top-headline-apply): Fix indentation.

Thanks to Fletcher Charest and Nick Dokos for reporting issues
in this area.

There is one bug left: in a filtered agenda, changing a timestamp
will not always correctly display the warning.  This happens when
the headline at point is followed by hidden headlines, because
`org-agenda-show-new-time' tries to set a text property at a
point where there is an overlay that hides then text.  Because
the overlay is now intangible, the warning text will be displayed
too far on the right, and may be outside of the window.
lisp/org-agenda.el