From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Herenz Newsgroups: gmane.emacs.help Subject: Re: Remove all lines containig a keyword Date: Mon, 15 Sep 2008 21:47:06 +0200 Organization: A noiseless patient Spider Message-ID: References: <22932311-7aca-41eb-b2d9-796c53229c80@o40g2000prn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1221511304 1589 80.91.229.12 (15 Sep 2008 20:41:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Sep 2008 20:41:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 15 22:42:40 2008 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 1KfKtv-0001Fe-Ai for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2008 22:42:27 +0200 Original-Received: from localhost ([127.0.0.1]:36506 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KfKsu-0001dY-Gx for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Sep 2008 16:41:24 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!feeder.erje.net!news.motzarella.org!motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-X-Trace: feeder.motzarella.org U2FsdGVkX189qlr0m71gnrWHCyRf9kwkxdFWYDgxMx/dd8jNIARE/aenyXsI3nlPNIJCQ7rsqwVIg+T0xpmsNulcoMRK4/9iqG+vDKYbZt93CXXF0eDYkBTCCGubA6cYvMn20zdgPdg= Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Mon, 15 Sep 2008 19:45:33 +0000 (UTC) In-Reply-To: <22932311-7aca-41eb-b2d9-796c53229c80@o40g2000prn.googlegroups.com> X-Auth-Sender: U2FsdGVkX19ZMOQje3qDek0hTn7KQg0j43SITBT7AR0= Cancel-Lock: sha1:2QmDGvfdTs4emshNTpeAm8aW9zg= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de-AT; rv:1.8.1.16) Gecko/20080702 Iceape/1.1.11 (Debian-1.1.11-1) Original-Xref: news.stanford.edu gnu.emacs.help:162315 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:57652 Archived-At: Xah schrieb: > On Sep 14, 2:08 am, Christian Herenz > wrote: >> Hi, >> I have a huge list of "stuff" I sell / sold. >> To print out an actual list, without the stuff that is sold already, It would be >> nice to have a command for doing this task automated - Remove all lines with the >> keyword "sold". >> Thanks for your Help, >> Christian > > you can just use M-x delete-matching-lines. > > Note that there's also list-matching-lines. > these tips are from and more: http://xahlee.org/emacs/emacs_esoteric.html > > Xah > ∑ http://xahlee.org/ > > ☄ Thanks.. I even bookmarked your site.. But sometimes you don't know where to find something, if you need it. I use emacs now for 2 years, and still I do some things manually, where I think there is an emacs-command. But I am just a student, and maybe looking up a particular command is at first not so fast, as doing a specific task manually - and my fellow students may have changed their codes faster than me, because I still fiddle out what keys next to press... But I think there is a long-term benifit from trying to avoid the mouse while inside emacs. Greets, Christian