Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Given a point, how can I get the point N lines before/after it?
Will post own answer, but I'm not sure it's optimal.
This can be done using save-excursion, then moving the cursor.
(defun point-calc-lines-offset (pt lines)
Required, but never shown