ECB 2.23 is released!
What's new in the new release:
------------------------------
* Changes for ECB version 2.23
** New cedet1.0beta2 is supported.
** Enhancements for the Methods-buffer
*** The look&feel of the Methods-buffer is now much nicer because it has been
polished with a lot of new icons. ECB contains now a lot of new icons for
displaying the Method-buffer as pretty and professional as possible. The
new default-value of the option `ecb-tree-image-icons-directories' points
autom. to the new icon-images. Thanks a lot to Markus Gritsch
<[EMAIL PROTECTED]> for providing these new icons.
To use this you should reset the option `ecb-tree-image-icons-directories'
to the new default-value if you have customized this option!
You can disable this icon-display via the new option
`ecb-display-image-icons-for-semantic-tags' if you do not like the new
icons.
*** New feature for applying default tag-filters for certain files.
The new option `ecb-default-tag-filter' allow to define default
tag-filters for certain files which are applied automatically after
loading such a file into a buffer. The possible filters are the same as
offered by the command `ecb-methods-filter' and they are applied in the
same manner - the only difference is they are applied automatically. The
files can be specified on a combined major-mode- and
filename-regexp-basis.
Usage-example: This can be used to display for outline-mode files (e.g.
NEWS) in the Methods-buffer only the level-1-headings by defining a
regexp-filter "^\* .*" (see the default-value of this new option).
*** New keybindings and commands for faster applying certain tag-filters.
Here are the new bindings:
[C-c . fr] --> `ecb-methods-filter-regexp'
[C-c . ft] --> `ecb-methods-filter-tagclass'
[C-c . fp] --> `ecb-methods-filter-protection'
[C-c . fn] --> `ecb-methods-filter-nofilter'
[C-c . fl] --> `ecb-methods-filter-delete-last'
[C-c . ff] --> `ecb-methods-filter-function'
*** The popup-menu contains now mode-dependend tag-filter entries.
This means for sources not supported by semantic no protection- or
tag-class filters will be offered. And for semantic-supported sources
exactly these tag-classes are offered the semantic-parser for the current
major-mode offers. Same for the command `ecb-methods-filter'. For example
texi-sources can only be filtered by the tag-classes "Definitions" and
"Sections" and java-sources can be filtered by "Methods", "Variables",
"Classes" etc. In general the semantic-variable
`semantic-symbol->name-assoc-list' is used to get the right tag-classes.
*** The option `ecb-show-tags' is now defined on a major-mode-basis.
This means you can have different settings for each major-mode. ECB autom.
upgrades your old setting to the new option-type.
*** Distinction between functions and function-prototypes in the Methods-buffer
This is for example useful for C++ and C because these languages distinct
between a method-prototype (rsp. function-prototype for C) and the method
(rsp. function for C) itself. The new default value of `ecb-show-tags'
displayes per default the methods as flattened and the method-prototype as
collapsed when opening a C- or C++-buffer. ECB autom. updates your old
setting of this option to the new default value.
** The command `ecb-toggle-layout' now has a prefix-argument:
If this optional argument is not nil (e.g. if called with a prefix-arg)
then always the last selected layout was choosen regardless of the setting
in `ecb-toggle-layout-sequence'. The last selected layout is always that
layout which was current direct before the most recent layout-switch. So
now a user can switch to another layout via `ecb-change-layout' [C-c . l c]
and always come back to his previous layout via [C-u C-c . l t].
** Better internal self-monitoring of ECB
ECB now monitors itself when Emacs is idle, ie. it monitors if all
necessary ecb-functions are still member of the hooks `post-command-hook'
and `pre-command-hook'. This is because Emacs resets these hooks to nil if
any of the contained hook-functions fails with an error-signal. The
ECB-hook-functions are error-save but if any of the "other" hook-functions
of these hooks fails then the ECB-hooks would also have been removed from
these hooks. The new monitoring-mechanism checks this periodically and
re-adds the ECB-hooks if necessary.
** New option group for the integrated speedbar and one new option:
The new hook `ecb-speedbar-before-activate-hook' runs directly before ECB
activates the integrated speedbar. For example this hook can be used to
change the expansion-mode of the integrated speedbar via
`speedbar-change-initial-expansion-list'. Example:
(speedbar-change-initial-expansion-list "buffers").
** Added a new section in the info-manual which describes how desktop.el can be
used best in combination with ECB. This has been done because some
conflicts have been reported. See the "Conflicts"-Chapter in the
info-manual.
** Fixed bugs
*** Double-clicking the mouse-1-button now works with integrated speedbar.
*** Fixed two small bugs in the advice of `display-buffer':
One bug occured when called for one of the special ECB-buffers. The other
bug has not preserved the current-buffer when called for a buffer in the
sense of `ecb-compilation-buffer-p' and a hidden compile-window is
shown by display-buffer to display this buffer. The latter one for example
has prevented the ant-server of JDEE from working properly.
*** Fixed a bug so now always the correct directory in the directories-buffer
is higlighted.
How to get it:
--------------
Sorry, it's too big to post the sources here...
If you are using ECB >= 1.80 then you can just call "M-x ecb-download-ecb" if
you are online. ECB will then download autom. latest and newest ECB and
install it for you.
Or go to the homepage at http://ecb.sourceforge.net and download it from
there.
General description of ECB:
---------------------------
ECB stands for "Emacs Code Browser". While Emacs already has good
*editing* support for many modes, its *browsing* support is somewhat
lacking. That's where ECB comes in: it displays a number of informational
windows that allow for easy source code navigation and overview.
The informational windows can contain:
- A directory tree,
- a list of source files in the current directory,
- a list of functions/classes/methods/... in the current file, (ECB uses the
Semantic Bovinator, or Imenu, or etags, for getting this list so all
languages supported by any of these tools are automatically supported by
ECB too)
- a history of recently visited files,
- the Speedbar and
- output from compilation (the "*compilation*" window) and other modes like
help, grep etc. or whatever a user defines to be displayed in this window.
As an added bonus, ECB makes sure to keep these informational windows visible,
even when you use C-x 1 and similar commands.
It goes without saying that you can configure the layout, ie which
informational windows should be displayed where. ECB comes with a number of
ready-made window layouts to choose from.
Here is an ascii-screenshot of what ECB offers you:
------------------------------------------------------------------
| | |
| Directories | |
| | |
|--------------| |
| | |
| Sources | |
| | |
|--------------| Edit-area |
| | (can be splitted in several edit-windows) |
| Methods/Vars | |
| | |
|--------------| |
| | |
| History | |
| | |
------------------------------------------------------------------
| |
| Compilation-window (optional) |
| |
------------------------------------------------------------------
For more details go to http://ecb.sourceforge.net/
Enjoy,
Klaus
Klaus Berndl mailto: [EMAIL PROTECTED]
sd&m AG http://www.sdm.de
software design & management
Carl-Wery-Str. 42, 81739 Muenchen, Germany
Tel +49 89 63812-392, Fax -220