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

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

Re: quoting a block of text with ">"


From: Sean McAfee
Subject: Re: quoting a block of text with ">"
Date: Wed, 08 Dec 2010 15:30:30 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Tom Roche <Tom_Roche@pobox.com> writes:

> Stever Wed, 29 Sep 2010 11:59:19 -0700
>>>> is there any function where I can highlight a block of text and
>>>> put a ">" in front of it.
>
> Or, for that matter, easily
>
> * put an arbitrary number of ">" in front, i.e. quote to a level. 
> * remove an arbitrary number of ">" in front, i.e. unquote
>
> Fortunately, it seems that, in emacs as in perl, TMTOWTDI:
<snip>

Another way I'm surprised no one has mentioned is just to select the
text using the region and then replace the regexp "^" with ">".

I used to do that kind of thing all the time when I mainly used vim.
Emacs's comment-region has made it much less necessary.


reply via email to

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