[slime-devel] navigating large buffers

Austin Haas austin at pettomato.com
Sun Sep 25 16:15:45 UTC 2011


I use HideShow constantly. It allows you to quickly collapse an entire buffer down to just the first line of each block.

http://www.gnu.org/software/emacs/manual/html_node/emacs/Hideshow.html#Hideshow

Occur is also really helpful. You can type M-x occur and then type in a regular expression and it will open a new buffer with all the lines that match that regex. And if you click on any of those lines, it will take you to its location in the original buffer.

http://www.gnu.org/software/emacs/manual/html_mono/emacs.html#index-C_002do-_0040r_007b_0028Occur-mode_0029_007d-712

-austin

-- 
Austin Haas
Pet Tomato, Inc.
http://pettomato.com

On Sun Sep 25 11:21 , Tamas Papp wrote:
> Hi,
> 
> I have been experimenting with keeping everything in a single .lisp
> file for the initial development phase of a project, then cutting it
> up when it the structure converges.
> 
> I am looking for better ways to navigate a single buffer when it gets
> large, and I would appreciate advice on how others manage this.  Of
> course, SLIME features such as M-. work fine, and forward/backward
> isearch is useful too, but I was wondering if there was something
> else.  I found a reference to outline-mode [1], but not much besides
> that.  Any advice or tips & tricks would be appreciated.
> 
> Thanks,
> 
> Tamas
> 
> [1] http://mumble.net/~campbell/scheme/style.txt
> 
> 
> _______________________________________________
> slime-devel site list
> slime-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/slime-devel
> 




More information about the slime-devel mailing list