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

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

Re: DWIM when yanking strings with leading or trailing spaces - an idea


From: Marcin Borkowski
Subject: Re: DWIM when yanking strings with leading or trailing spaces - an idea
Date: Fri, 04 Mar 2016 07:06:10 +0100
User-agent: mu4e 0.9.13; emacs 25.1.50.6

On 2016-03-04, at 00:25, Joost Kremers <joost.m.kremers@gmail.com> wrote:

> Marcin Borkowski wrote:
>> --8<---------------cut here---------------start------------->8---
>> aaa bbb ccc ddd eee fff
>> --8<---------------cut here---------------end--------------->8---
>>
>> into
>>
>> --8<---------------cut here---------------start------------->8---
>> aaa ddd eee bbb ccc fff
>> --8<---------------cut here---------------end--------------->8---
>
>
> ,----
> | aaa bbb ccc ddd! eee fff
> `----
>
> M-- M-2 M-t M-3 M-f M-- M-2 M-t
>
> Et voilĂ ! ;-)

OK, I can also prove that every permutation can be decomposed into
a superposition of transpositions.

;-)

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



reply via email to

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