Hi,

You are introducing

(defun org-columns--ensure-and-move-marker (marker &optional position)
  "Return MARKER moved to POSITION in the current buffer.
When MARKER is nil, create a new marker first.  POSITION defaults
to point."
  (move-marker (or marker (make-marker)) (or position (point))))

I think it could be useful beyond org-colview.
Maybe we can make it into org-macs instead and use in other places in
the code?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to