Hello, >>>>> Carsten Dominik writes: >> Though, shouldn't I replace all those calls to >> `org-get-limited-outline-regexp' with `org-with-limited-levels' >> macro? > I have not looked closely at your new code - but yes, this is what > the macro is for! The following patch does that, 3 times. I replaced one condition-case with ignore-errors in the process. As `org-store-link' is also modified, I did not apply it myself. Regards, -- Nicolas