Hello, changes made on 28 July, commit 5512bedee, breaks insert diary functionality. In particular, "i d" in the agenda inserts the new entry in the wrong place in a date-tree diary org file.
Reverting this commit fixes the problem. I haven't looked at the code to understand why, partly because I'm not sure what problem this commit was meant to fix. thanks, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.1, Org release_8.3beta-237-gcc6aa4