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: Wed, 23 Sep 2020 07:02:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Yuri Khan wrote:

> This might be good for you

...

> but org-drag-line-* have a couple advantages over
> this:
>
> * They do not pollute the kill ring.

OK, so use `let', `thing-at-point' (with 'line) and
`insert' instead.

> * As you drag the line, point stays on the same
> character where you started.

If you want to edit the line, why start with moving
it? It is more likely you wish to edit the
other line.

-- 
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]