From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: sandipchitale@yahoo.com (Sandip Chitale) Newsgroups: gmane.emacs.help Subject: Re: Inserting linefeed in query-replace-reqexp Date: 14 Apr 2003 17:56:00 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1050368533 10726 80.91.224.249 (15 Apr 2003 01:02:13 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2003 01:02:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 15 03:02:11 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 195Epv-0002mH-00 for ; Tue, 15 Apr 2003 03:02:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 195Eos-0004j2-06 for gnu-help-gnu-emacs@m.gmane.org; Mon, 14 Apr 2003 21:01:06 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-NNTP-Posting-Host: 208.135.53.4 Original-X-Trace: posting.google.com 1050368161 17376 127.0.0.1 (15 Apr 2003 00:56:01 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 15 Apr 2003 00:56:01 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:111983 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8484 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8484 Try C-qC-j. Ed Rubinsky wrote in message news:... > How do you insert a linefeed as part of the replace regexp in the > query-replace-regexp command? I've tried C-Q, which puts the literal > ^M in the replacement string, and not a linefeed. > I'm using emacs 21.2.1 on both linux and W2K. > > Best, Ed