How can I make a function that copies text from line number N
at point? I will be at some specific line and point position and want to copy the text from a different line N
.
Asked
Active
Viewed 58 times
0

Dilna
- 1
- 3
- 11
N
from the mode-line. – Dilna Jan 28 '23 at 03:28C-u N M-x foo RET C-y
where N is the desired line number. – NickD Jan 28 '23 at 03:34interactive
spec to prompt for a number. That's a trivial change. I answered the question as posed. If you want some specific behavior, you should specify it in your original question - don't "evolve" questions. – Drew Jan 28 '23 at 17:42