> Date: Wed, 14 Feb 2007 16:01:27 +0100
> From: Vaclav PEROUTKA <[EMAIL PROTECTED]>
> 
> 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