People who code: we want your input. Take the Survey

New answers tagged


For users who jump around by using the universal argument, eg jumping up 10 lines: C-10 C-p, you lose your place. So you can use these to save your place on large-ish movements: (defun my-next-line (arg) "Wrap `next-line' to save point mark." (interactive "P") (when (and arg (< 4 arg)) (push-mark (point))) (next-line arg)) (...

Top 50 recent answers are included