From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.help Subject: Re: Negative occur Date: Wed, 28 Nov 2007 11:21:43 +0100 Organization: Organization?!? Message-ID: <85aboybrgo.fsf@lola.goethe.zz> References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1196257057 19009 80.91.229.10 (28 Nov 2007 13:37:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2007 13:37:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 28 14:43:18 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from mail-forward.uio.no ([129.240.10.42]) by dough.gmane.org with esmtp (Exim 4.50) id 1IxKuU-0003xF-Ti for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 12:16:54 +0100 Original-Received: from mail-mx8.uio.no ([129.240.10.38]) by pat.uio.no with esmtp (Exim 4.67) (envelope-from ) id 1IxKO9-0007VN-8I for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 11:43:29 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx8.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1IxKNt-0005Wa-2t for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 11:43:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IxKMu-000425-2r for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2007 05:42:12 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!goblin1!goblin.stu.neva.ru!nuzba.szn.dk!pnx.dk!news.germany.com!newsfeed2.scan-plus.net!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: 2FEFf>]>q>2iw=B6, xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN; i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:PV5TTVIp6wMpgkfGu4QhLXdALDQ= Original-Lines: 13 Original-NNTP-Posting-Date: 28 Nov 2007 11:21:25 CET Original-NNTP-Posting-Host: 753890f0.newsspool4.arcor-online.net Original-X-Trace: DXC=6n1OK\jUn?L@Y=h<_c3PkH4IUKBe4h1HQ21S]I1_LiI6ENVaM3>5MOK`; S:bhJLBj7O6Ni=KQLWnld88i_VoD Original-X-Complaints-To: usenet-abuse@arcor.de Original-Xref: shelby.stanford.edu gnu.emacs.help:154194 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 X-UiO-SPF-Received: Received-SPF: pass (mail-mx8.uio.no: domain of gnu.org designates 199.232.76.165 as permitted sender) client-ip=199.232.76.165; envelope-from=help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org; helo=lists.gnu.org; X-UiO-ClamAV-Virus: No X-UiO-Spam-info: not spam, SpamAssassin (score=-1.0, required=5.0, autolearn=disabled, RCVD_IN_DNSWL_LOW=-1) X-UiO-Scanned: 6E933ED055A11C848F22B391FBA652FE197A8040 X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -9 maxlevel 200 minaction 2 bait 0 mail/h: 16 total 27906 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.help:49628 Archived-At: "spamfilteraccount@gmail.com" writes: > Is there a command like occur which shows non-matching lines? It would > come in handy for me for the work I'm doing. > > It's a useful a feature and not hard to implement, so I'm sure it's > already in Emacs in some form only I'm overlooking it. You could try running "occur" with the pattern "^" (which matches every line), then prune the results with M-x delete-matching-lines RET -- David Kastrup, Kriemhildstr. 15, 44793 Bochum