From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Corey Foote Newsgroups: gmane.emacs.help Subject: Using a newline character in the newstring in M-x replace-regexp Date: Thu, 14 Aug 2008 15:31:03 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_d84d3b02-c72f-4513-88f6-0eeb7d00f075_" X-Trace: ger.gmane.org 1218742302 22261 80.91.229.12 (14 Aug 2008 19:31:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 19:31:42 +0000 (UTC) To: Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 14 21:32:33 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KTiYa-0007wU-5T for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 21:32:24 +0200 Original-Received: from localhost ([127.0.0.1]:56855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTiXc-0004G0-Ii for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Aug 2008 15:31:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KTiXK-0004Fi-Ca for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 15:31:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KTiXI-0004FM-Qq for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 15:31:05 -0400 Original-Received: from [199.232.76.173] (port=42693 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KTiXI-0004FJ-Ng for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 15:31:04 -0400 Original-Received: from blu0-omc4-s3.blu0.hotmail.com ([65.55.111.142]:62819) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KTiXI-0006vM-OE for help-gnu-emacs@gnu.org; Thu, 14 Aug 2008 15:31:04 -0400 Original-Received: from BLU105-W29 ([65.55.111.136]) by blu0-omc4-s3.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 14 Aug 2008 12:31:03 -0700 X-Originating-IP: [75.67.96.217] Importance: Normal X-OriginalArrivalTime: 14 Aug 2008 19:31:03.0986 (UTC) FILETIME=[4A6BA920:01C8FE44] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ 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:56629 Archived-At: --_d84d3b02-c72f-4513-88f6-0eeb7d00f075_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C I've got one more quick question for you guys. The string I'd like to use as the newstring in M-x replace-regexp contains a few newli= ne characters. Normally=2C I insert newlines by typing C-q C-j=2C but this doe= sn't work when calling this function. How do you specify a newline character whe= n making a call to M-x replace-regexp? Thanks! _________________________________________________________________ Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer Games Trivia= Contest http://www.gowindowslive.com/summergames?ocid=3DTXT_TAGHM= --_d84d3b02-c72f-4513-88f6-0eeb7d00f075_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C

I've got one more quick question for you guys. The s= tring I'd like to use as the newstring in M-x replace-regexp contains a few newli= ne characters. Normally=2C I insert newlines by typing C-q C-j=2C but this doe= sn't work when calling this function. How do you specify a newline character whe= n making a call to M-x replace-regexp?

Thanks!



Got Game? Win Prizes in the Windows Live Hotmail Mobile Summer = Games Trivia Contest Find out how. = --_d84d3b02-c72f-4513-88f6-0eeb7d00f075_--