Hi, Ihor Radchenko writes: > Dávid Jakab writes: >> When using org-edit-special to edit inline latex, i.e., equations >> between \( and \), in an org-mode buffer, a number of >> spaces may get inserted before \( after the latex editing minibuffer is >> closed. The attached patch fixes this as well as a couple other issues with special editing of latex fragments :  + the coordinates computation was wrong, so point position inside fragment    isn't preserved when calling ~org-edit-special~ from an inline fragment.  + common leading indentation wasn't getting trimmed when editing a multiline    fragment inside an org list such as    $$abc    def$$ Thanks for reporting and confirming. Regards, -- Sébastien Miquel