From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "David Vanderschel" Newsgroups: gmane.emacs.help Subject: Re: Hiding lines based on a regexp Date: Tue, 31 May 2005 00:52:12 GMT Organization: Road Runner High Speed Online http://www.rr.com Message-ID: <0zOme.24028$6g3.5117@tornado.texas.rr.com> References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1117500703 19184 80.91.229.2 (31 May 2005 00:51:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 00:51:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 31 02:51:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dcuxb-0001p4-RC for geh-help-gnu-emacs@m.gmane.org; Tue, 31 May 2005 02:50:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dcv2a-00041B-U4 for geh-help-gnu-emacs@m.gmane.org; Mon, 30 May 2005 20:55:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!wns13feed!worldnet.att.net!24.30.200.11!news-east.rr.com!be1.texas.rr.com!cyclone.austin.rr.com!news.rr.com!tornado.texas.rr.com.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Original-NNTP-Posting-Host: 66.68.174.193 Original-X-Complaints-To: abuse@rr.com Original-X-Trace: tornado.texas.rr.com 1117500732 66.68.174.193 (Mon, 30 May 2005 19:52:12 CDT) Original-NNTP-Posting-Date: Mon, 30 May 2005 19:52:12 CDT Original-Xref: shelby.stanford.edu gnu.emacs.help:131621 Original-To: help-gnu-emacs@gnu.org 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:27080 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27080 "Mathias Dahl" wrote in message news:uk6lhxk6u.fsf@gmail.com... > "David Vanderschel" writes: > > Could someone please point me to a mechanism that would allow me to > > temporarily hide from display certain lines in a file based on a > > matching regular expression? There is somewhat similar > > functionality with hide-ifdef-mode. However, I want something less > > clever and more general. > Have you looked on EmacsWiki? > http://www.emacswiki.org/cgi-bin/wiki/HideLines Ahhh! That would have satisfied me. Too bad I was not sufficiently patient to wait for Mathias's response to my query. (I had really thought that this was an easy one, and that I would quickly be pointed in the right direction. When that did not happen, I assumed that no one had already implemented the capability.) Overlays are probably a better way to implement it. However, for my own purposes, the extra feedback from my own implementation (which I posted elsewhere in this thread) about how many lines are affected by commands makes it more useful to me. Up to now, I had not been regarding EmacsWiki as a resource for this sort of quest. I will consult it in future. Thanks for the pointer. Regards, David V.