From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: How to kill line beginning with specific string Date: Thu, 19 Nov 2009 11:14:42 +0100 Message-ID: <4D02F018-2B15-4A18-8239-053B3B4586C2@Web.DE> References: <26413518.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258626708 18303 80.91.229.12 (19 Nov 2009 10:31:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2009 10:31:48 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: brooklynwhite Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 19 11:31:41 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NB4Ie-00016v-AW for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Nov 2009 11:31:40 +0100 Original-Received: from localhost ([127.0.0.1]:40491 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NB4Id-00028R-Bv for geh-help-gnu-emacs@m.gmane.org; Thu, 19 Nov 2009 05:31:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NB42x-0004un-BL for help-gnu-emacs@gnu.org; Thu, 19 Nov 2009 05:15:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NB42q-0004rw-Nb for Help-gnu-emacs@gnu.org; Thu, 19 Nov 2009 05:15:24 -0500 Original-Received: from [199.232.76.173] (port=39476 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NB42p-0004rg-PS for Help-gnu-emacs@gnu.org; Thu, 19 Nov 2009 05:15:19 -0500 Original-Received: from fmmailgate01.web.de ([217.72.192.221]:39857) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NB42p-0002Sl-Cz for Help-gnu-emacs@gnu.org; Thu, 19 Nov 2009 05:15:19 -0500 Original-Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate01.web.de (Postfix) with ESMTP id 0D22B13BB0240; Thu, 19 Nov 2009 11:14:49 +0100 (CET) Original-Received: from [91.35.235.102] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (WEB.DE 4.110 #314) id 1NB42K-00050S-00; Thu, 19 Nov 2009 11:14:48 +0100 In-Reply-To: <26413518.post@talk.nabble.com> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX18nn6ylZWsx/O28Q0b8gfFc8kESJvILONLAlp38 4enaMKFrNeEAEG+O07gBO6s5kaYNa3wdHUfy+n/4Zk4ecMPf3r l49F/+VsMPFgXBmgwvuQ== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:69906 Archived-At: Am 18.11.2009 um 19:51 schrieb brooklynwhite: > Is there a simple way for me to search for and kill all of these lines > without having to repeatedly enter the search mode and type ctrl-k =20 > when the > line is found? You can check with C-M-s ^2000 .*C-qC-j =96 it will high-light the =20 matching lines. Once you're content you can use replace-regexp to =20 replace all that matches the regular expression with nothing. -- Greetings Pete "Indentation?! I will show you how to indent when I indent your skull!"