unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Corey Foote <coreyfoote@hotmail.com>
To: <help-gnu-emacs@gnu.org>
Subject: Using a newline character in the newstring in M-x replace-regexp
Date: Thu, 14 Aug 2008 15:31:03 -0400	[thread overview]
Message-ID: <BLU105-W292D9D190185CEC7256F12DA720@phx.gbl> (raw)

[-- Attachment #1: Type: text/plain, Size: 570 bytes --]


Hi,



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 newline
characters. Normally, I insert newlines by typing C-q C-j, but this doesn't
work when calling this function. How do you specify a newline character when
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=TXT_TAGHM

[-- Attachment #2: Type: text/html, Size: 805 bytes --]

             reply	other threads:[~2008-08-14 19:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-14 19:31 Corey Foote [this message]
2008-08-14 22:54 ` Using a newline character in the newstring in M-x replace-regexp Peter Dyballa
     [not found] <mailman.16702.1218742268.18990.help-gnu-emacs@gnu.org>
2008-08-14 20:35 ` Xah
2008-08-16 14:00   ` harven
2008-09-11  1:52     ` David Combs
2008-09-11  5:12       ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BLU105-W292D9D190185CEC7256F12DA720@phx.gbl \
    --to=coreyfoote@hotmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).