[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46621: Copy line
From: |
Daniel Martín |
Subject: |
bug#46621: Copy line |
Date: |
Fri, 19 Feb 2021 21:27:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
>
> Well, I don't object to adding it, but I'm not sure what the use case is
> here? The only time I can remember wanting something like that is when
> I'm filling a buffer with text for test purposes, which is perhaps not a
> compelling use case.
In programming modes, if you need to declare a bunch of variables, you
may duplicate the current line several times and then proceed to rename
them. I see the proposed new command may be useful in that scenario.
Also, why not name the command `duplicate-line'? I think it's a more
descriptive name and more discoverable via apropos (along with
`delete-duplicate-lines', for example).
This has been a hot topic in Q&A sites:
https://stackoverflow.com/questions/88399/how-do-i-duplicate-a-whole-line-in-emacs
- bug#46621: Copy line, Juri Linkov, 2021/02/18
- bug#46621: [External] : bug#46621: Copy line, Drew Adams, 2021/02/18
- bug#46621: Copy line, Lars Ingebrigtsen, 2021/02/19
- bug#46621: Copy line,
Daniel Martín <=
- bug#46621: Copy line, Eli Zaretskii, 2021/02/20
- bug#46621: Copy line, Lars Ingebrigtsen, 2021/02/20
- bug#46621: Copy line, Eli Zaretskii, 2021/02/20
- bug#46621: Copy line, Lars Ingebrigtsen, 2021/02/20
- bug#46621: Copy line, Eli Zaretskii, 2021/02/20
- bug#46621: Copy line, Dmitry Gutov, 2021/02/20
- bug#46621: Copy line, Lars Ingebrigtsen, 2021/02/20
- bug#46621: Copy line, Juri Linkov, 2021/02/20
- bug#46621: Copy line, Richard Stallman, 2021/02/21
- bug#46621: Copy line, Richard Stallman, 2021/02/21