unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Stupid question: How to substitute something to be a NEWLINE?
@ 2009-06-29 20:09 David Combs
  2009-06-29 20:14 ` Teemu Likonen
  2009-06-30  7:51 ` Tim X
  0 siblings, 2 replies; 6+ messages in thread
From: David Combs @ 2009-06-29 20:09 UTC (permalink / raw)
  To: help-gnu-emacs

I used to have the answer to this written down, but I don't seem
to now.

So, how to include a newline on the "to" part of a substitute cmd,
eg query-replace?

Nothing I try seems to work.

THANKS!

David




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

* Re: Stupid question: How to substitute something to be a NEWLINE?
  2009-06-29 20:09 Stupid question: How to substitute something to be a NEWLINE? David Combs
@ 2009-06-29 20:14 ` Teemu Likonen
  2009-06-30  7:51 ` Tim X
  1 sibling, 0 replies; 6+ messages in thread
From: Teemu Likonen @ 2009-06-29 20:14 UTC (permalink / raw)
  To: help-gnu-emacs

On 2009-06-29 16:09 (-0400), David Combs wrote:

> So, how to include a newline on the "to" part of a substitute cmd, eg
> query-replace?

C-q C-j


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

* Re: Stupid question: How to substitute something to be a NEWLINE?
  2009-06-29 20:09 Stupid question: How to substitute something to be a NEWLINE? David Combs
  2009-06-29 20:14 ` Teemu Likonen
@ 2009-06-30  7:51 ` Tim X
  2009-06-30 17:01   ` David Combs
  2009-06-30 21:39   ` Joe Fineman
  1 sibling, 2 replies; 6+ messages in thread
From: Tim X @ 2009-06-30  7:51 UTC (permalink / raw)
  To: help-gnu-emacs

dkcombs@panix.com (David Combs) writes:

> I used to have the answer to this written down, but I don't seem
> to now.
>
> So, how to include a newline on the "to" part of a substitute cmd,
> eg query-replace?
>
> Nothing I try seems to work.
>
> THANKS!
>
> David
>
>

C-q C-j


-- 
tcross (at) rapttech dot com dot au


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

* Re: Stupid question: How to substitute something to be a NEWLINE?
  2009-06-30  7:51 ` Tim X
@ 2009-06-30 17:01   ` David Combs
  2009-06-30 21:39   ` Joe Fineman
  1 sibling, 0 replies; 6+ messages in thread
From: David Combs @ 2009-06-30 17:01 UTC (permalink / raw)
  To: help-gnu-emacs

In article <871vp26twl.fsf@lion.rapttech.com.au>,
Tim X  <timx@nospam.dev.null> wrote:
>dkcombs@panix.com (David Combs) writes:
>
>> I used to have the answer to this written down, but I don't seem
>> to now.
>>
>> So, how to include a newline on the "to" part of a substitute cmd,
>> eg query-replace?
>>
>> Nothing I try seems to work.
>>
>> THANKS!
>>
>> David
>>
>>
>
>C-q C-j
>
>
>-- 
>tcross (at) rapttech dot com dot au

Indeed, my subject line DID NOT LIE!   :-(

Thank you (said sheepishly)

David

PS: on windows too?  "crlf"?

David



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

* Re: Stupid question: How to substitute something to be a NEWLINE?
  2009-06-30  7:51 ` Tim X
  2009-06-30 17:01   ` David Combs
@ 2009-06-30 21:39   ` Joe Fineman
  2009-07-03 20:30     ` harven
  1 sibling, 1 reply; 6+ messages in thread
From: Joe Fineman @ 2009-06-30 21:39 UTC (permalink / raw)
  To: help-gnu-emacs

Tim X <timx@nospam.dev.null> writes:

> C-q C-j

I managed to guess this when I first needed it; but I consider it
clunky.  It's a pity plain C-j doesn't work, as it does in a search
string.
-- 
---  Joe Fineman    joe_f@verizon.net

||:  "Need" needs "in order to" in order to make sense.  :||


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

* Re: Stupid question: How to substitute something to be a NEWLINE?
  2009-06-30 21:39   ` Joe Fineman
@ 2009-07-03 20:30     ` harven
  0 siblings, 0 replies; 6+ messages in thread
From: harven @ 2009-07-03 20:30 UTC (permalink / raw)
  To: help-gnu-emacs

Joe Fineman <joe_f@verizon.net> writes:

> Tim X <timx@nospam.dev.null> writes:
>
>> C-q C-j
>
> I managed to guess this when I first needed it; but I consider it
> clunky.  It's a pity plain C-j doesn't work, as it does in a search
> string.
> -- 
> ---  Joe Fineman    joe_f@verizon.net
>
> ||:  "Need" needs "in order to" in order to make sense.  :||

Try C-o instead. 


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

end of thread, other threads:[~2009-07-03 20:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-29 20:09 Stupid question: How to substitute something to be a NEWLINE? David Combs
2009-06-29 20:14 ` Teemu Likonen
2009-06-30  7:51 ` Tim X
2009-06-30 17:01   ` David Combs
2009-06-30 21:39   ` Joe Fineman
2009-07-03 20:30     ` harven

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