[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46621: Copy line
From: |
Robert Pluim |
Subject: |
bug#46621: Copy line |
Date: |
Thu, 23 Jun 2022 11:22:29 +0200 |
>>>>> On Thu, 23 Jun 2022 10:17:04 +0200, Andreas Schwab <schwab@suse.de> said:
Andreas> On Jun 23 2022, Pankaj Jangid wrote:
>> Lars Ingebrigtsen <larsi@gnus.org> writes:
>>
>>>> Behaviour could be different, depending upon what programming construct
>>>> your are in. For example, in C,
>>>>
>>>> #include <a.h>
>>>> #include <b.h>
>>>> ...
>>>>
>>>> if I have to include a new library I’ll go to line-no 2 call
>>>> duplicate-line and then I want the point at the end.
>>>
>>> But why do you want point at the end? You want to edit those duplicated
>>> lines, presumably.
>>
>> Yes I want to edit it from the end.
Andreas> duplicate-line should keep point at the same column.
duplicate-line-pre-hook and duplicate-line-post-hook anyone? 😛
Seriously, itʼs a primitive operation, so Andreas is right. Anyone who
wants to customize the behaviour can advise it.
Robert
--
- bug#46621: Copy line, (continued)
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/22
- bug#46621: Copy line, Juri Linkov, 2022/06/22
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/22
- bug#46621: Copy line, Pankaj Jangid, 2022/06/22
- bug#46621: Copy line, Juri Linkov, 2022/06/22
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/22
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/23
- bug#46621: Copy line, Pankaj Jangid, 2022/06/23
- bug#46621: Copy line, Andreas Schwab, 2022/06/23
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/23
- bug#46621: Copy line,
Robert Pluim <=
- bug#46621: Copy line, Pankaj Jangid, 2022/06/23
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/23
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/23
- bug#46621: Copy line, Pankaj Jangid, 2022/06/23
- bug#46621: Copy line, Mattias Engdegård, 2022/06/23
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/23
- bug#46621: Copy line, Mattias Engdegård, 2022/06/25
- bug#46621: Copy line, Juri Linkov, 2022/06/23
- bug#46621: Copy line, Drew Adams, 2022/06/23
- bug#46621: Copy line, Mattias Engdegård, 2022/06/25