From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.help Subject: Re: Deleting matched lines by marking lines in *occur* buffer Date: Tue, 09 Jul 2013 22:18:04 +0530 Message-ID: <87a9lvissb.fsf@gmail.com> References: <87r4f7lsj1.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373388416 32296 80.91.229.3 (9 Jul 2013 16:46:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Jul 2013 16:46:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sivaram Neelakantan Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 09 18:46:57 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uwb40-0001VE-Py for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jul 2013 18:46:52 +0200 Original-Received: from localhost ([::1]:55911 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uwb40-0001JP-Bl for geh-help-gnu-emacs@m.gmane.org; Tue, 09 Jul 2013 12:46:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uwb3k-0001FN-HO for help-gnu-emacs@gnu.org; Tue, 09 Jul 2013 12:46:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uwb3f-000706-QN for help-gnu-emacs@gnu.org; Tue, 09 Jul 2013 12:46:36 -0400 Original-Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:45665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uwb3f-000702-KB for help-gnu-emacs@gnu.org; Tue, 09 Jul 2013 12:46:31 -0400 Original-Received: by mail-pa0-f47.google.com with SMTP id kl14so5680455pab.20 for ; Tue, 09 Jul 2013 09:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=wJ3dXmpMm4m4LmVvGai8nQVg+quSqqu+aLVjrvPgRDk=; b=k5lWqt3pKDakSv43nNbu6LWrfN/Yd/1gHl5M4F6PZhPbCwD/BBv90OlK62SMUfsI0z ewvAodLRSqvB0tgfGymZBFghQIrS3XwE/j1JlNjgtt74IBj6JpxXUSSw0JH+cp72GCXn Je3zcIUBFFUwqGZVLuI0H4O44aSECMGP0RkUlzHx49f1z+KJIb+PlgKalom6cVNVJ96W BsE1iwdt7zdG1cXK2Gd0mw8WQJA2TKNg5eINMOo7+PVt9bfcaltpMKf3DwnWOvDDAacM lfYLlLD3AoeMKKzN3Dy9ueGHZVHV6Ke/pHjr7/oSCS+o+PS2jVNb2Ru9euKmovyP6vWI j4tg== X-Received: by 10.68.221.138 with SMTP id qe10mr27341757pbc.103.1373388390707; Tue, 09 Jul 2013 09:46:30 -0700 (PDT) Original-Received: from debian-6.05 ([115.242.221.15]) by mx.google.com with ESMTPSA id bn10sm31126145pad.9.2013.07.09.09.46.28 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Tue, 09 Jul 2013 09:46:30 -0700 (PDT) In-Reply-To: <87r4f7lsj1.fsf@gmail.com> (Sivaram Neelakantan's message of "Tue, 09 Jul 2013 19:55:22 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92030 Archived-At: You are looking for all.el Install it with M-x list-packages from GNU ELPA. Sivaram Neelakantan writes: > Hi, > > When I run M-x occur and get the following output > > 5 matches for "\.txt" in buffer: indices.conf > 14:cnx_midcap_baseline.txt > 16:cnx_nifty_jr_baseline.txt > 18:sp_cnx_500_baseline.txt > 20:sp_cnx_defty_baseline.txt > 22:sp_cnx_nifty_baseline.txt > > is there a way to mark the lines in this buffer and expunge the lines > in the corresponding source buffer? A dired like support would be > useful. I did check the emacswiki and none of the other suggested > packages seem to have support for this sort of thing. > > Any suggestions? I suppose there's delete-matching-lines but wouldn't > it also be useful in the occur buffer? > > sivaram > --