It turned out that the bug I encountered was due to after-change-function in flyspell-lazy. It alters the match data that's why org-entry-put worked unexpectedly.
https://github.com/rolandwalker/flyspell-lazy/pull/4 On Sun, Dec 2, 2012 at 9:39 AM, Nicolas Goaziou <n.goaz...@gmail.com> wrote: > Takafumi Arakaki <aka....@gmail.com> writes: > >> I can confirm that the behavior I described still exists. >> I checked with the latest version (8d22b119786206bbae98183b0fb61e3ab1b22a43) >> in maint branch of org-mode and the latest version (110979) in emacs-24 >> branch >> of Emacs bzr repository. I also checked with the master branch >> (6642177dee3ec04404ebd99391748f373ada3d2a) result was the same. > > OK thanks for the confirmation. Could you provide an ECM (or better: > write an ERT test) for it? > > > Regards, > > -- > Nicolas Goaziou