Christophe Schockaert <r3vli...@citadels.eu> writes: > (save-excursion > (save-restriction > (widen)
Hi Christophe, Thanks for sharing the solution! Here's something you might want to add to it, something I recently discovered. The `org-with-wide-buffer' macro can replace those three lines: #+BEGIN_SRC elisp (defmacro org-with-wide-buffer (&rest body) "Execute body while temporarily widening the buffer." `(save-excursion (save-restriction (widen) ,@body))) #+END_SRC It's in `org-macs.el' so it's included with Org.