Hi Bastien, Bastien <b...@gnu.org> writes:
> Hi Matt, > > Matt Lundin <m...@imapmail.org> writes: > >> When I mark a repeating task done (with the settings in the minimal.el >> file below), org mangles the :LOGBOOK: and :PROPERTY: drawers when >> trying to insert a :LAST_REPEAT: property. > > I can't reproduce this. Karl can, so there is something weird here. > >> I am using... >> >> - Emacs version: 24.3.1 >> - Org-mode version: 8.2.5h > > Can you use M-x org-version RET (or C-u M-x org-version RET to insert > the output in your mail) ? > >> Running edebug suggested that org-entry-put (which is invoked by >> org-auto-repeat-maybe) places the :LAST_REPEAT: in the wrong place. >> However, I couldn't discern why, since invocations of org-entry-put >> otherwise seem to work fine. > > Thanks for any further investigation, it's hard to know what can be > wrong without being to reproduce this. This was a problem with org-element's cache. It was solved with the following commit: a8568372ad8bba841af7f7d1fdf9b64d38426c3a Here's the original post of the thread containing the solution: http://permalink.gmane.org/gmane.emacs.orgmode/83015 Matt