![]() |
|
![]() | ||
|
Subject:
emacs collapse source blocks for programming
Category: Computers > Programming Asked by: petar-ga List Price: $20.00 |
Posted:
22 Jul 2004 07:47 PDT
Expires: 21 Aug 2004 07:47 PDT Question ID: 377578 |
I need an emacs (not Xemacs) minor mode for collapsing source code blocks enclosed by {}'s. I will use this mainly for C++ programming. The present outline mode is not useful and the Xemacs ECB is too cumbersome. The mode should be able to collapse, say, all first and second level {} blocks by default. Each collapsed block should be replaced with a custom colored string. And the block should be zoomable by mouse-clicking or some key combination when over this string placeholder (with the mouse or keyboard). Alternatively, a mouse click/key combination over the area of an expanded {} block, should collapse it. All other text should remain visible and editable normally. This mode should be able to coexist with emacs' viper mode and work regardless of the specific language used (C or C++ or Java ..). I need source code for this mode in Elisp, so I can extend it further. I am willing to negotiate the price for it. Thanks, Petar |
![]() | ||
|
There is no answer at this time. |
![]() | ||
|
Subject:
Re: emacs collapse source blocks for programming
From: crythias-ga on 22 Jul 2004 10:14 PDT |
This isn't *exactly* like what you want, but http://www.linuxgazette.com/issue01to08/emacs_mar96.html tells about outline-minor-mode which can help collapse your blocks. It seems to be built-in to emacs. |
Subject:
Re: emacs collapse source blocks for programming
From: crythias-ga on 22 Jul 2004 10:15 PDT |
Sorry. I'll ask to have my comment removed. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |