help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keybinding to transpose current line with next line


From: Emanuel Berg
Subject: Re: Keybinding to transpose current line with next line
Date: Thu, 24 Sep 2020 00:48:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Marcin Borkowski wrote:

>> If you want to edit the line, why start with
>> moving it? It is more likely you wish to edit the
>> other line.
>
> Why? Imagine working on a book, and in the file,
> every sentence has its own line. You may want to
> move some sentence and then reword it (e.g., change
> "above" to "below" etc.).
>
> And a similar case can be made for code,
> JSON, whatever.

It is much more natural to first correct the line,
rather than to move an incorrect line around. A good
looking, functional object can be put on a table,
a shelf, even a chair. But if it looks bad and
doesn't work it doesn't matter where you put it.

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]