unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Inserting linefeed in query-replace-reqexp
@ 2003-04-14 18:53 Ed Rubinsky
  0 siblings, 0 replies; 7+ messages in thread
From: Ed Rubinsky @ 2003-04-14 18:53 UTC (permalink / raw)


How do you insert a linefeed as part of the replace regexp in the 
query-replace-regexp command? I've tried C-Q<RET>, 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Inserting linefeed in query-replace-reqexp
       [not found] <mailman.4582.1050346645.21513.help-gnu-emacs@gnu.org>
@ 2003-04-14 19:09 ` Jesper Harder
  2003-04-14 19:09 ` Johan Bockgård
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Jesper Harder @ 2003-04-14 19:09 UTC (permalink / raw)


Ed Rubinsky <edrubins@andisplace.com> writes:

> How do you insert a linefeed as part of the replace regexp in the
> query-replace-regexp command? I've tried C-Q<RET>, which puts the
> literal ^M in the replacement string, and not a linefeed.

Use `C-q C-j' instead.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Inserting linefeed in query-replace-reqexp
       [not found] <mailman.4582.1050346645.21513.help-gnu-emacs@gnu.org>
  2003-04-14 19:09 ` Inserting linefeed in query-replace-reqexp Jesper Harder
@ 2003-04-14 19:09 ` Johan Bockgård
  2003-04-14 19:12 ` Kai Großjohann
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Johan Bockgård @ 2003-04-14 19:09 UTC (permalink / raw)


Ed Rubinsky <edrubins@andisplace.com> writes:

> How do you insert a linefeed as part of the replace regexp in the
> query-replace-regexp command? I've tried C-Q<RET>

Try C-q C-j

-- 
Johan Bockgård

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Inserting linefeed in query-replace-reqexp
       [not found] <mailman.4582.1050346645.21513.help-gnu-emacs@gnu.org>
  2003-04-14 19:09 ` Inserting linefeed in query-replace-reqexp Jesper Harder
  2003-04-14 19:09 ` Johan Bockgård
@ 2003-04-14 19:12 ` Kai Großjohann
  2003-04-15  0:56 ` Sandip Chitale
  2003-04-15  0:56 ` Sandip Chitale
  4 siblings, 0 replies; 7+ messages in thread
From: Kai Großjohann @ 2003-04-14 19:12 UTC (permalink / raw)


Ed Rubinsky <edrubins@andisplace.com> writes:

> How do you insert a linefeed as part of the replace regexp in the
> query-replace-regexp command?

C-q C-j

-- 
file-error; Data: (Opening input file no such file or directory ~/.signature)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Inserting linefeed in query-replace-reqexp
       [not found] <mailman.4582.1050346645.21513.help-gnu-emacs@gnu.org>
                   ` (2 preceding siblings ...)
  2003-04-14 19:12 ` Kai Großjohann
@ 2003-04-15  0:56 ` Sandip Chitale
  2003-04-15  0:56 ` Sandip Chitale
  4 siblings, 0 replies; 7+ messages in thread
From: Sandip Chitale @ 2003-04-15  0:56 UTC (permalink / raw)


Try C-qC-j.

Ed Rubinsky <edrubins@andisplace.com> wrote in message news:<mailman.4582.1050346645.21513.help-gnu-emacs@gnu.org>...
> How do you insert a linefeed as part of the replace regexp in the 
> query-replace-regexp command? I've tried C-Q<RET>, 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Inserting linefeed in query-replace-reqexp
       [not found] <mailman.4582.1050346645.21513.help-gnu-emacs@gnu.org>
                   ` (3 preceding siblings ...)
  2003-04-15  0:56 ` Sandip Chitale
@ 2003-04-15  0:56 ` Sandip Chitale
  4 siblings, 0 replies; 7+ messages in thread
From: Sandip Chitale @ 2003-04-15  0:56 UTC (permalink / raw)


Try C-qC-j.

Ed Rubinsky <edrubins@andisplace.com> wrote in message news:<mailman.4582.1050346645.21513.help-gnu-emacs@gnu.org>...
> How do you insert a linefeed as part of the replace regexp in the 
> query-replace-regexp command? I've tried C-Q<RET>, 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Inserting linefeed in query-replace-reqexp
@ 2003-04-15  3:32 Ed Rubinsky
  0 siblings, 0 replies; 7+ messages in thread
From: Ed Rubinsky @ 2003-04-15  3:32 UTC (permalink / raw)


 >>Ed Rubinsky <edrubins@andisplace.com> writes:
 >> How do you insert a linefeed as part of the replace regexp in the
 > >query-replace-regexp command? I've tried C-Q<RET>
 >Try C-q C-j
->-
 >Johan Bockgård

         Perfect! Thanks

Best, Ed

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-04-15  3:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4582.1050346645.21513.help-gnu-emacs@gnu.org>
2003-04-14 19:09 ` Inserting linefeed in query-replace-reqexp Jesper Harder
2003-04-14 19:09 ` Johan Bockgård
2003-04-14 19:12 ` Kai Großjohann
2003-04-15  0:56 ` Sandip Chitale
2003-04-15  0:56 ` Sandip Chitale
2003-04-15  3:32 Ed Rubinsky
  -- strict thread matches above, loose matches on Subject: below --
2003-04-14 18:53 Ed Rubinsky

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