bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64185: proposal for new function: copy-line


From: Drew Adams
Subject: bug#64185: proposal for new function: copy-line
Date: Thu, 22 Jun 2023 18:13:42 +0000

> > +(defcustom duplicate-line-pos 0
> > +  "Where to put point after copying the line.
> 
> A better name for this would be duplicate-line-final-position or maybe
> duplicate-line-point-position.
> 
> Also, please mention this variable in NEWS, where duplicate-line is
> announced.

FWIW -

Point is the cursor position.  So I'd suggest
just "point" (or "cursor-position", if you
like), and not "point-position".

We do use `pos' in various names to mean a
buffer position, but in those cases it
doesn't stand for point (the cursor position).
So I agree that `pos' shouldn't be used here.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]