Skip to content

Commit

Permalink
Smarter and more flexible "other-window"-behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
berndl committed Jan 19, 2004
1 parent 6a030eb commit a3a1715
Show file tree
Hide file tree
Showing 12 changed files with 544 additions and 250 deletions.
28 changes: 27 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
* Changes for ECB version 2.20

** New customization group "ecb-most-important"
This group centralizes the most important options of ECB in one group which
is also offered by the "Preferences" submenu ob the ECB-menu. These are
options you should at least know that they exist.

** The restriction of only two edit-windows has been gone!

*** Beginning with this version 2.20 there are no restrictions about the
Expand Down Expand Up @@ -36,11 +41,22 @@
Also available via the ECB-menu. The command is
`ecb-goto-window-edit-last'.

*** Option `ecb-other-window-jump-behavior' has been renamed to
`ecb-other-window-behavior' and has also two new allowed values: 'smart
(the new default) and an arbitrary function-symbol. With the latter one
the user can define his own other-window-behavior and the former one
chooses in a smart and intuitive way the "other window" for going to it
via `other-window' or for scrolling it via one of the "scroll another
window"-functions (e.g. `scroll-other-window'). Thanks to John S. Yates,
Jr. <john@yates-sheets.org> for suggesting the new smart behavior. ECB
autom. upgrades the old value of `ecb-other-window-jump-behavior' to the
new option-name.

*** New option `ecb-scroll-other-window-scrolls-compile-window' and new
command `ecb-toggle-scroll-other-window-scrolls-compile'. If this new
option is nil then ECB chooses very smart and intuitive the window which
will be scrolled by commands like `scroll-other-window' (see documentation
of the advice of `other-window-for-scrolling'). But sometimes the user
of the the option `ecb-other-window-behavior'). But sometimes the user
wants to scroll the compile-window from another window. With this new
command the user can fest and easy toggle the behavior ECB chooses another
window for scrolling.
Expand Down Expand Up @@ -142,6 +158,12 @@
compile-window. Thanks to John S. Yates, Jr. <john@yates-sheets.org> for
suggestion.

*** Adviced `delete-window' and `delete-other-windows' handle compile-window.
The former one hides the compile-window if called in or for that window
whereas the latter one hides the compile-window if called in or for an
unsplitted edit-window. Thanks to John S. Yates, Jr.
<john@yates-sheets.org> for the suggestion.

** New option `ecb-activation-selects-ecb-frame-if-already-active'.
See the docstring for more details. Thanks for suggestion to Jeff Jensen
<jeffjensen@nospam.visi.com>
Expand All @@ -159,6 +181,10 @@
Now it works correctly also when a durable compile-window is set but
currently hidden.

*** Fixed a bug when scrolling a window from within the minibuffer.
For example this bug has prevented scrolling the *Completion* buffer from
within the minibuffer. Now `minibuffer-scroll-window' is set correctly.

*** Toggling the compile-window has not worked when `ecb-compile-window-height'
has not been saved for future sessions. This is fixed now.

Expand Down
3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,9 @@ Usage

Call "M-x ecb-activate" to activated ECB.

Call "M-x ecb-customize-most-important" to get a list of the most important
options of ECB. These are options you should at least know that they exist.

Call "M-x ecb-show-help" to get a detailed online-help for ECB. If you are
using ECB the first time you should read the online help accurately!

Expand Down
10 changes: 7 additions & 3 deletions RELEASE_NOTES
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,20 @@ rewritten and redefined via the new macro `tree-buffer-defpopup-command'!

The option `ecb-primary-mouse-jump-destination' has been renamed to
`ecb-mouse-click-destination' and has also changed its default value to
'last-point. ECB autom. upgrades your setting to the new name.
'last-point.

The option `ecb-split-edit-window' has been renamed in
`ecb-split-edit-window-after-start'. In addition the value t is not allowed
anymore for this option - use 'before-activation instead. ECB autom. upgrades
your setting to the new name and the new value if necessary. In a further
anymore for this option - use 'before-activation instead. In a further
addition this option has a new default value 'before-deactivation. See the
docstring of this option to get all details.

The Option `ecb-other-window-jump-behavior' has been renamed to
`ecb-other-window-behavior'.

ECB autom. upgrades your old settings to the new option types/names!


Upgrading from versions < 2.11:
-------------------------------

Expand Down
3 changes: 3 additions & 0 deletions ecb-file-browser.el
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
Each path can have an optional alias that is used as it's display name. If no
alias is set, the path is used as display name."
:group 'ecb-directories
:group 'ecb-most-important
:initialize 'custom-initialize-default
:set (function (lambda (symbol value)
(set symbol value)
Expand Down Expand Up @@ -258,6 +259,7 @@ entries.
Please note: If you want your home-dir being cached then you MUST NOT use
\"~\" because ECB tries always to match full path-names!"
:group 'ecb-directories
:group 'ecb-most-important
:type `(repeat (cons (regexp :tag "Directory-regexp")
(integer :tag "Filenumber threshold" :value 1000))))

Expand Down Expand Up @@ -389,6 +391,7 @@ combination can be defined.
Tips for the directory- and file-regexps: \"$^\" matches no files/directories,
\".*\" matches all files/directories."
:group 'ecb-sources
:group 'ecb-most-important
:type '(repeat (cons :tag "Directory file-spec"
(regexp :tag "Directory regexp")
(choice :tag "Files to display"
Expand Down
1 change: 1 addition & 0 deletions ecb-help.el
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ used.
Note: If you got ECB as a standard XEmacs-package maybe the
HTML-online-documentation is not included."
:group 'ecb-help
:group 'ecb-most-important
:type '(choice :tag "Online-help format" :menu-tag "Online-help format"
(const :tag "Info" :value info)
(const :tag "Html" :value html)))
Expand Down
Loading

0 comments on commit a3a1715

Please sign in to comment.