[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#46621: Copy line
From: |
Helmut Eller |
Subject: |
bug#46621: Copy line |
Date: |
Mon, 22 Feb 2021 19:32:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Mon, Feb 22 2021, Andreas Schwab wrote:
>> One example where copy-line would be useful is editing configuration
>> files. E.g. /etc/ssh/sshd_config list many options with the default
>> value but as comments, like so:
>>
>> #SyslogFacility AUTH
>> #LogLevel INFO
>> ... other options ...
>>
>> Now, if I want to change LogLevel to say DEBUG, I would copy the line,
>> keep the original, and edit the copied line.
>
> But you don't need the repeat count for that. copy-from-above-command
> will work well for this task.
I didn't know about this. But if I place point between LogLevel and
INFO and then execute M-x copy-from-above-command then the result is
#LogLevelcility AUTH INFO
which is not what is needed in this situation.
Helmut
- bug#46621: [External] : bug#46621: Copy line, (continued)
- bug#46621: Copy line, Howard Melman, 2021/02/21
- bug#46621: Copy line, Richard Stallman, 2021/02/22
- bug#46621: Copy line, Juri Linkov, 2021/02/22
- bug#46621: Copy line, Eli Zaretskii, 2021/02/22
- bug#46621: Copy line, Helmut Eller, 2021/02/22
- bug#46621: Copy line, Andreas Schwab, 2021/02/22
- bug#46621: Copy line,
Helmut Eller <=
- bug#46621: Copy line, Howard Melman, 2021/02/22
- bug#46621: [External] : bug#46621: Copy line, Drew Adams, 2021/02/22
- bug#46621: [External] : bug#46621: Copy line, Dmitry Gutov, 2021/02/23
- bug#46621: Copy line, Eli Zaretskii, 2021/02/22
- bug#46621: Copy line, Helmut Eller, 2021/02/22
- bug#46621: Copy line, Gregory Heytings, 2021/02/22
- bug#46621: Copy line, Eli Zaretskii, 2021/02/22
- bug#46621: Copy line, Gregory Heytings, 2021/02/22
- bug#46621: Copy line, Stephen Berman, 2021/02/22
- bug#46621: Copy line, Lars Ingebrigtsen, 2021/02/21