[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46621: Copy line
From: |
Mattias Engdegård |
Subject: |
bug#46621: Copy line |
Date: |
Sun, 19 Jun 2022 17:20:26 +0200 |
19 juni 2022 kl. 13.43 skrev Lars Ingebrigtsen <larsi@gnus.org>:
> Simen proposed something quite similar (added to the CCs), and my only
> objection was that the semantics of the simpler command is quite
> clear -- it always creates a new line, even if we're at a final line in
> a buffer without a newline.
Actually shouldn't duplicating such a line add a newline + a copy of the
current line with no terminal newline? Right now the copy is always
newline-terminated even if the original wasn't, which seems a bit inconsistent.
What do you think?
> When dealing with regions, it's not quite
> clear what the semantics should be in those corner cases (i.e., regions
> that doesn't end with a newline)...
Not much of a edge case, is it? If you select "bon" and duplicate you end up
with "bonbon", as promised.
Region-sensitive commands are useful since they multiplex functionality on the
same keys without added cognitive load. (It's high time we rebound M-u to
upcase-dwim etc.)
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/17
- bug#46621: Copy line, Mattias Engdegård, 2022/06/18
- bug#46621: Copy line, Eli Zaretskii, 2022/06/18
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/19
- bug#46621: Copy line,
Mattias Engdegård <=
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/19
- bug#46621: Copy line, Mattias Engdegård, 2022/06/20
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/21
- bug#46621: Copy line, Mattias Engdegård, 2022/06/21
- bug#46621: Copy line, Lars Ingebrigtsen, 2022/06/22
- bug#46621: Copy line, Juri Linkov, 2022/06/21
- 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