From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ed Rubinsky Newsgroups: gmane.emacs.help Subject: Inserting linefeed in query-replace-reqexp Date: Mon, 14 Apr 2003 14:53:11 -0400 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <5.1.0.14.0.20030414144807.00b16b40@pop3.icdc.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1050346639 2012 80.91.224.249 (14 Apr 2003 18:57:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2003 18:57:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 14 20:57:16 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 19598m-0000W6-00 for ; Mon, 14 Apr 2003 20:57:16 +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 195999-00013V-00 for gnu-help-gnu-emacs@m.gmane.org; Mon, 14 Apr 2003 14:57:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19598s-000124-00 for help-gnu-emacs@gnu.org; Mon, 14 Apr 2003 14:57:22 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19597d-0000SB-00 for help-gnu-emacs@gnu.org; Mon, 14 Apr 2003 14:56:06 -0400 Original-Received: from smtp10.atl.mindspring.net ([207.69.200.246]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19594v-0008RN-00 for help-gnu-emacs@gnu.org; Mon, 14 Apr 2003 14:53:17 -0400 Original-Received: from h-66-167-46-213.phlapafg.covad.net ([66.167.46.213] helo=ed.andisplace.com) by smtp10.atl.mindspring.net with esmtp (Exim 3.33 #1) id 19594t-0003Ky-00 for help-gnu-emacs@gnu.org; Mon, 14 Apr 2003 14:53:15 -0400 X-Sender: edrubins@pop3.icdc.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 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:8471 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8471 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