🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #113

Re: favorite emacs games

#113
From: Johann 'Myrkraverk' Oskarsson
Date: Thu, 19 Nov 2026 00:02
26 lines
2122 bytes
On 11/19/2026 12:10 AM, Loris Bennett wrote:
> Lars Brinkhoff <lars.spam@nocrew.org> writes:
> 
>> Johann 'Myrkraverk' Oskarsson wrote:
>>> Don't stop there, use M-t to transpose words.  And to transpose lines,
>>> you need to add your own keybindings, I think.  Come to think of it,
>>> there should be a way to transpose paragraphs, but I'm not using Emacs
>>> right now to type this, and will have to check later.
>>
>> C-M-t transposes s-expressions, or simlar syntactical constructs in
>> lesser programming languages.
> 
> How about the aptly named
> 
>    M-x transpose-paragraphs
> 
> ?
> 

It certainly seems to do the trick, given the help text.  I didn't try
it yet.
-- 
Johann | email: invalid -> com | http://www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | via Easynews.com
https://bsky.app/profile/myrkraverk.bsky.social | for ( ;; ) _:;
Federated at https://fed.brid.gy/bsky/myrkraverk.bsky.social
Technical Details
Message-ID: <j0rLS.159$B3F4.41@fx15.ams4>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!peer04.ams1!peer.ams1.xlned.com!news.xlned.com!fx15.ams4.POSTED!not-for-mail
References: <878q33p38m.fsf@fuhgitabutit.com> <7wqzgqo8op.fsf@junk.nocrew.org> <jP2LS.4943$RfT1.2182@fx14.ams4> <7wy0aq6ym6.fsf@junk.nocrew.org> <875wxu6rxy.fsf@zedat.fu-berlin.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!peer04.ams1!peer.ams1.xlned.com!news.xlned.com!fx15.ams4.POSTED!not-for-mail
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: favorite emacs games
Newsgroups: comp.emacs
References: <878q33p38m.fsf@fuhgitabutit.com> <7wqzgqo8op.fsf@junk.nocrew.org>
 <jP2LS.4943$RfT1.2182@fx14.ams4> <7wy0aq6ym6.fsf@junk.nocrew.org>
 <875wxu6rxy.fsf@zedat.fu-berlin.de>
Content-Language: en-US
From: Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid>
Organization: Watcom Pro Ltd.
In-Reply-To: <875wxu6rxy.fsf@zedat.fu-berlin.de>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 26
Message-ID: <j0rLS.159$B3F4.41@fx15.ams4>
X-Complaints-To: abuse@easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Thu, 19 Nov 2026 08:02:23 +0800
X-Received-Bytes: 1909