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: Sat, 28 May 2005 00:04:47 GMT Organization: Road Runner High Speed Online http://www.rr.com Message-ID: References: <87br6wff2k.fsf@thalassa.informatimago.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1117238776 13838 80.91.229.2 (28 May 2005 00:06:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 May 2005 00:06:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 28 02:06:15 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dbopq-0000Qn-HZ for geh-help-gnu-emacs@m.gmane.org; Sat, 28 May 2005 02:05:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbouD-0003d9-4J for geh-help-gnu-emacs@m.gmane.org; Fri, 27 May 2005 20:10:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.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: 21 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 1117238687 66.68.174.193 (Fri, 27 May 2005 19:04:47 CDT) Original-NNTP-Posting-Date: Fri, 27 May 2005 19:04:47 CDT Original-Xref: shelby.stanford.edu gnu.emacs.help:131571 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:27030 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27030 "Pascal Bourguignon" wrote in message news:<87br6wff2k.fsf@thalassa.informatimago.com>... > If the parts you want to hide are at the beginning or at the end of a > buffer, you could use narrow-to-region (and then widden). This is a silly suggestion. Clearly anything at either end of the buffer is not going to make reading the code any more difficult. It is the junk that is scattered through the code that I want to suppress. I can implement this. It is just that it is such an obvious thing to want to have that I assumed that it must already exist and that I have just been unable to find it. It would behave like flush-lines except that you can get them back later - _even_ if you have done some editing in the interim. Regards, David V.