help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solved: Re: [h-e-w] Adding a new-line in replace-string


From: Vaclav PEROUTKA
Subject: Solved: Re: [h-e-w] Adding a new-line in replace-string
Date: Wed, 14 Feb 2007 16:45:05 +0100
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

I am really sorry. I use some strange custom .emacs file and inside there was following line:
(global-set-key "\C-q" 'scroll-n-lines-behind)

That was causing my problem.

Thank you and my apologies...

Vaclav

Eli Zaretskii wrote:
Date: Wed, 14 Feb 2007 16:01:27 +0100
From: Vaclav PEROUTKA <address@hidden>

I am trying to cut single long HTML line into more short lines. How
can I add \n in the front of each <h3> label ?

  M-% <h3> RET C-q C-j <h3> RET

but C-q does not work in the minibuffer.

Yes it does, but the question is what you types after C-q?  To insert
a literal newline, you need to type C-q C-j, as shows above.

And vice-versa - how can I delete empty lines in some file in NTEmacs by replace-regexp ?

This is better than replace-regexp:

   M-x delete-matching-lines RET ^$ RET








reply via email to

[Prev in Thread] Current Thread [Next in Thread]