help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: hiding certain lines


From: Christian_Seifert
Subject: RE: hiding certain lines
Date: Wed, 11 Jul 2001 13:27:03 -0500

Sorry, those commands don't really help as they only allow you to narrow
down to a specific region. I would like to hide several lines automatically
that match a reg-expr.

 -----Original Message-----
From:   Spencer Thiel [mailto:sthiel@redhat.com] 
Sent:   Wednesday, July 11, 2001 1:09 PM
To:     Seifert, Christian
Cc:     help-gnu-emacs@gnu.org
Subject:        Re: hiding certain lines

Do M-x apropos narrow

This will show you all the commands/variables that deal with narrowing.

You could also do C-h C-f narrow-to-region to read the info page about
narrowing.

On Wed, 11 Jul 2001 Christian_Seifert@gallup.com wrote:

> Hi,
>
> I am using emacs to develop software in Java. I used to be one of the IDE
> kind of guys, but I am just starting to get to know the power of EMACS and
> it seems like the sky is the limit.
>
> Now, I would like to create two commands to
> 1.    Hide certain lines of code (all that start with WHITESPACE if(DEBUG)
> System.out.println( ...
> 2.    Show those lines again.
>
> This should be doable, right? Any help is greatly appreciated.
>
> Christian
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]