From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Travis Spencer Newsgroups: gmane.emacs.help Subject: Re: Hiding lines based on a regexp Date: Fri, 27 May 2005 22:24:20 -0700 Message-ID: References: Reply-To: Travis Spencer NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1117257838 16732 80.91.229.2 (28 May 2005 05:23:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 28 May 2005 05:23:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 28 07:23:56 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DbtnT-0004iq-Ia for geh-help-gnu-emacs@m.gmane.org; Sat, 28 May 2005 07:23:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dbtrr-0004Sx-TU for geh-help-gnu-emacs@m.gmane.org; Sat, 28 May 2005 01:28:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DbtrS-0004Qt-NU for help-gnu-emacs@gnu.org; Sat, 28 May 2005 01:27:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DbtrR-0004QF-OE for help-gnu-emacs@gnu.org; Sat, 28 May 2005 01:27:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DbtrR-0004Os-JO for help-gnu-emacs@gnu.org; Sat, 28 May 2005 01:27:49 -0400 Original-Received: from [64.233.184.205] (helo=wproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dbtp7-0006wP-Ni for help-gnu-emacs@gnu.org; Sat, 28 May 2005 01:25:25 -0400 Original-Received: by wproxy.gmail.com with SMTP id 36so2837520wra for ; Fri, 27 May 2005 22:24:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=eL2bCHhH28vJYW2QDBaKvHu6llfB9JY/xhkR7HeKmdo1UmqnmGsLW8uldPaiAaISErzctlKvs7WcmtGr3cAxJanJJYfi1ewLONdImBQ6wLFBsIHAgewDFdo6uKgN/xdyP4lLw8uW/Dm3a3MXivn0CvVbbiyi4BVmUlCCfo1cPZE= Original-Received: by 10.54.138.3 with SMTP id l3mr3078262wrd; Fri, 27 May 2005 22:24:20 -0700 (PDT) Original-Received: by 10.54.130.5 with HTTP; Fri, 27 May 2005 22:24:20 -0700 (PDT) Original-To: David Vanderschel In-Reply-To: Content-Disposition: inline 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:27035 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27035 On 5/27/05, David Vanderschel wrote: > What I have in mind is to suppress lines I have > inserted into a program for debugging purpose, but > which lines can make examining the code more > difficult. For example, when coding in java, there > are times when I would like to hide lines that match > "assert" or "system.out.println". Though hs-minor-mode doesn't collapse code based on a regular expression, you may want to check it out and see if it will meet your needs. Its hs-hide-block combined w/ a macro might just work. --=20 Regards, Travis Spencer Portland, OR USA