Hi Michael, thanks for the patch - I think we will go with Nicolas' patch for fixing org-insert-heading. May I ask you to check if your tests still to the right thing, and resubmit the test patch? Many thanks in advance. - Carsten On 9.9.2013, at 22:37, Michael Brand wrote: > Hi Nicolas > > On Mon, Sep 9, 2013 at 9:10 PM, Nicolas Goaziou wrote: >> FWIW, I think the test belongs to test-org.el, not to test-org-list.el. > > Ok, I assume, then better also with more tests than only for list items. > See the attached patches that replace the previous ones. > > Michael > <0001-Add-ERTs-for-org-meta-return.patch.txt><0002-org-meta-return-Insert-an-item-also-in-a-drawer.patch.txt>