[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46621: Copy line
From: |
Lars Ingebrigtsen |
Subject: |
bug#46621: Copy line |
Date: |
Wed, 22 Jun 2022 06:07:46 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
> This would also mean that the problem is a missing command that
> saves the current line to the kill-ring? If such a command existed,
> then duplicating the line would take two keys as well: the first
> key to save the current line to the kill-ring, and the second key
> to yank it.
A command to save the current line to the kill ring might be nice (if it
settles on some definition of "line"), but it doesn't really offer the
convenience.
To insert a copy of a region: `M-w C-y'.
To insert a copy of the current line with such a command: `NEW-COMMAND
C-n' (see if you landed on the next line or whether that took you to the
end of the buffer) `RET'/`C-a' `C-y'.
I.e., `duplicate-line' offers both a practical and mental simplification
over what we have today, but making that command do region stuff doesn't
really give anything except muddling up the command semantics.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#46621: Copy line, (continued)
- 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, 2022/06/19
- 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 <=
- 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, 2022/06/23