[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: delete whitespace lines with replace-regexp
From: |
oliver |
Subject: |
Re: delete whitespace lines with replace-regexp |
Date: |
Fri, 13 Jul 2007 09:22:46 +1000 |
thanks heaps, guys!
olli
"Peter Dyballa" <Peter_Dyballa@Web.DE> wrote in message
news:mailman.3395.1184252932.32220.help-gnu-emacs@gnu.org...
Am 12.07.2007 um 08:53 schrieb oliver:
> what's wrong?
The $ is too much. I'd make it, old-fashioned, this way
M-x query-replace-regexp RET ^ [ SPC C-q TAB ] + C-q C-j RET RET
i.e.: change all lines starting with SPC or TAB and having only SPC
or TAB until the final linefeed with nothing.
--
Mit friedvollen Grüßen
Pete
Stau ist nur hinten blöd, vorne geht's!