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

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

Re: suppress terminating return by shell-command-on-region


From: Cecil Westerhof
Subject: Re: suppress terminating return by shell-command-on-region
Date: Wed, 08 Dec 2010 15:25:49 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Op vrijdag 20 aug 2010 17:53 CEST schreef Pascal J. Bourguignon:

> Cecil Westerhof <Cecil@decebal.nl> writes:
>
>> I needed to reverse some text in a buffer. For this I used:
>> C-u M-| rev
>>
>> This works, except that there is put a return after the replaced
>> region. Is it possible to suppress this return? It is not a biggy, I
>> can remove it, but it would be nice if this was not necessary.
>
> Instead you could use M-x reverse-lines RET

My Emacs does not know this function.


> (there's also a reverse-region).

That does not what I want. It changes lines, but I want to change
characters. For example from:
    Some before text. Decebal Computing Some after text.
to:
    Some before text. gnitupmoC labeceD Some after text.

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof


reply via email to

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