From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: prepend a character to the lines in a region Date: Tue, 21 Mar 2006 23:39:53 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Message-ID: References: <6RkTf.14889$S25.11036@newsread1.news.atl.earthlink.net> <87pskfenix.fsf-monnier+gnu.emacs.help@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1142984430 21902 80.91.229.2 (21 Mar 2006 23:40:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Mar 2006 23:40:30 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Mar 22 00:40:29 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FLqSe-0006LG-CU for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Mar 2006 00:40:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FLqSo-0004HR-Tv for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Mar 2006 18:40:35 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread1.news.atl.earthlink.net.POSTED!0847253b!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-NNTP-Posting-Host: 4.158.222.98 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: newsread1.news.atl.earthlink.net 1142984393 4.158.222.98 (Tue, 21 Mar 2006 15:39:53 PST) Original-NNTP-Posting-Date: Tue, 21 Mar 2006 15:39:53 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:138314 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:33926 Archived-At: "Stefan Monnier" wrote in message news:87pskfenix.fsf-monnier+gnu.emacs.help@gnu.org... > > If I want to respond to an email where (for whatever reason) the sender's > > text hasn't been quoted, I copy paste it into emacs and do a search > > replace with this regular expression: > > > C-M-% \(.+\) RET >\1 RET > > There are many ways to do that, but the closest to your suggestion may be: > > C-M-% ^ RET > RET > > > Stefan That works too. I think I'll use C-space, move point to column 1 at end and then C-x r t >