Hello! Thanks for your reply. However, the current behavior definitely results in bugs when refiling from the capture buffer (newlines don't get deleted properly, for example). I'll look into how to correctly set the position for org-capture-finalize after the refile then, and try to make a patch for that. Regards, Jan Am 24. September 2015 22:54:38 MESZ, schrieb Nicolas Goaziou : >Hello, > >Jan Seeger writes: > >> I've fixed this bug for me by reversing the order of finalization and >> refiling, as stated in the documentation. I've attached a patch to do >> this, but I'm not entirely sure about the side effects caused by the >> patch. The test suite does pass though. If someone could weigh in on >> this, I'd be grateful! > >Thank you for the patch. However, it contradicts >47b0eec8dc39990731f400640d64ab70a8356ccd. > >See thread starting > for an >explanation. > > >Regards, > >-- >Nicolas Goaziou -- Diese Nachricht wurde von meinem Mobiltelefon gesendet.