[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64185: proposal for new function: copy-line
From: |
Juri Linkov |
Subject: |
bug#64185: proposal for new function: copy-line |
Date: |
Thu, 22 Jun 2023 21:52:03 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>> > 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.
>>
>> In the patch a new position is counted by lines,
>> so maybe a better name would be 'duplicate-line-final-line'.
>> But this double "line-line" doesn't look nice.
>
> Is it about absolute line number, relative line
> number, cursor position (point), some other buffer
> position,...?
>
> A guess, from what you just wrote, is that it's
> about the relative line number, i.e., relative
> to the number of the line of the cursor initially.
> (Just a guess; haven't followed this thread.)
It's a relative line number - an offset from the
original line number where the number is in line units.
- bug#64185: proposal for new function: copy-line, (continued)
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/20
- bug#64185: proposal for new function: copy-line, Zachary Kanfer, 2023/06/21
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/22
- bug#64185: proposal for new function: copy-line, Juri Linkov, 2023/06/22
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/22
- bug#64185: proposal for new function: copy-line, Juri Linkov, 2023/06/22
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/22
- bug#64185: proposal for new function: copy-line, Drew Adams, 2023/06/22
- bug#64185: proposal for new function: copy-line, Juri Linkov, 2023/06/22
- bug#64185: proposal for new function: copy-line, Drew Adams, 2023/06/22
- bug#64185: proposal for new function: copy-line,
Juri Linkov <=
- bug#64185: proposal for new function: copy-line, Drew Adams, 2023/06/22
- bug#64185: proposal for new function: copy-line, Juri Linkov, 2023/06/22
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/22
- bug#64185: proposal for new function: copy-line, Zachary Kanfer, 2023/06/23
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/23
- bug#64185: proposal for new function: copy-line, Robert Pluim, 2023/06/23
- bug#64185: proposal for new function: copy-line, Eli Zaretskii, 2023/06/23
- bug#64185: proposal for new function: copy-line, Robert Pluim, 2023/06/23
- bug#64185: proposal for new function: copy-line, Juri Linkov, 2023/06/23
bug#64185: proposal for new function: copy-line, Mattias EngdegÄrd, 2023/06/23