unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Corey Foote <coreyfoote@hotmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Using a newline character in the newstring in M-x replace-regexp
Date: Fri, 15 Aug 2008 00:54:17 +0200	[thread overview]
Message-ID: <F25A2031-4509-4BC0-ABA5-AACB71B9FEB3@Web.DE> (raw)
In-Reply-To: <BLU105-W292D9D190185CEC7256F12DA720@phx.gbl>


Am 14.08.2008 um 21:31 schrieb Corey Foote:

> 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.


If it doesn't work, then you have a buggy GNU Emacs. Upgrade!

--
Greetings

   Pete

Email is a wonderful thing for people whose role in life is to be on  
top of things. But not for me; my role is to be on the bottom of  
things. What I do takes long hours of studying and uninterruptible  
concentration.
				– Donald Knuth







  reply	other threads:[~2008-08-14 22:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-14 19:31 Using a newline character in the newstring in M-x replace-regexp Corey Foote
2008-08-14 22:54 ` Peter Dyballa [this message]
     [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=F25A2031-4509-4BC0-ABA5-AACB71B9FEB3@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=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).