Skip to content

Commit

Permalink
renamed sources to ecb
Browse files Browse the repository at this point in the history
fixed compilation window bug
  • Loading branch information
creator committed Jan 7, 2001
1 parent 0f5d240 commit 511c629
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
28 changes: 14 additions & 14 deletions jde-jcb-layout.el → ecb-layout.el
@@ -1,4 +1,4 @@
;;; jde-jcb-layout.el --- layout for ECB
;;; ecb-layout.el --- layout for ECB

;; Copyright (C) 2000 Jesper Nordenberg

Expand Down Expand Up @@ -37,7 +37,7 @@
;; new layouts, better redrawing and more straight forward code.
;; 1. Now all user-layouting is done by customizing the new option
;; `ecb-layout-nr'. The function `ecb-redraw-layout' (formally
;; known as 'jde-jcb-set-layout) can still be called interactively but
;; known as 'ecb-set-layout) can still be called interactively but
;; without arguments because it does only a redraw of the layout
;; specified in `ecb-layout-nr'. All changes to the layout must be made
;; by customizing this new option. Please read the very detailed comment
Expand Down Expand Up @@ -92,7 +92,7 @@
;; regardless in which window the point is.
;;
;; You can rebind your key-shortcuts during ECB with the hooks. In
;; jde-jcb.el you find a hook example how to this:
;; ecb.el you find a hook example how to this:
;;
;; Important: For each new layout with index <index> the programmer must
;; write two functions for this feature:
Expand Down Expand Up @@ -711,7 +711,7 @@ If you have not set a compilation-window in `ecb-layout-nr' then the layout
contains no compilation window and the other windows get a little more
place."
(when ecb-compile-window-height
(ecb-split-ver (* -1 ecb-compile-window-height))
(ecb-split-ver (* -1 ecb-compile-window-height) t)
(setq ecb-compile-window (next-window)))
(ecb-split-hor ecb-windows-width t)
(ecb-set-directories-buffer)
Expand Down Expand Up @@ -754,7 +754,7 @@ If you have not set a compilation-window in `ecb-layout-nr' then the layout
contains no compilation window and the other windows get a little more
place."
(when ecb-compile-window-height
(ecb-split-ver (* -1 ecb-compile-window-height))
(ecb-split-ver (* -1 ecb-compile-window-height) t)
(setq ecb-compile-window (next-window)))
(ecb-split-hor ecb-windows-width t)
(ecb-set-directories-buffer)
Expand Down Expand Up @@ -792,7 +792,7 @@ If you have not set a compilation-window in `ecb-layout-nr' then the layout
contains no compilation window and the other windows get a little more
place."
(when ecb-compile-window-height
(ecb-split-ver (* -1 ecb-compile-window-height))
(ecb-split-ver (* -1 ecb-compile-window-height) t)
(setq ecb-compile-window (next-window)))
(ecb-split-hor ecb-windows-width t)
(ecb-set-directories-buffer)
Expand Down Expand Up @@ -832,7 +832,7 @@ If you have not set a compilation-window in `ecb-layout-nr' then the layout
contains no compilation window and the other windows get a little more
place."
(when ecb-compile-window-height
(ecb-split-ver (* -1 ecb-compile-window-height))
(ecb-split-ver (* -1 ecb-compile-window-height) t)
(setq ecb-compile-window (next-window)))
(ecb-split-hor ecb-windows-width t)
(ecb-set-directories-buffer)
Expand Down Expand Up @@ -872,7 +872,7 @@ If you have not set a compilation-window in `ecb-layout-nr' then the layout
contains no compilation window and the other windows get a little more
place."
(when ecb-compile-window-height
(ecb-split-ver (* -1 ecb-compile-window-height))
(ecb-split-ver (* -1 ecb-compile-window-height) t)
(setq ecb-compile-window (next-window)))
(ecb-split-hor ecb-windows-width t)
(ecb-set-directories-buffer)
Expand Down Expand Up @@ -912,7 +912,7 @@ If you have not set a compilation-window in `ecb-layout-nr' then the layout
contains no compilation window and the other windows get a little more
place."
(when ecb-compile-window-height
(ecb-split-ver (* -1 ecb-compile-window-height))
(ecb-split-ver (* -1 ecb-compile-window-height) t)
(setq ecb-compile-window (next-window)))
(ecb-split-hor (- ecb-windows-width) t)
(setq ecb-edit-window (selected-window))
Expand Down Expand Up @@ -952,7 +952,7 @@ If you have not set a compilation-window in `ecb-layout-nr' then the layout
contains no compilation window and the other windows get a little more
place."
(when ecb-compile-window-height
(ecb-split-ver (* -1 ecb-compile-window-height))
(ecb-split-ver (* -1 ecb-compile-window-height) t)
(setq ecb-compile-window (next-window)))
(ecb-split-hor ecb-windows-width t)
(ecb-set-directories-buffer)
Expand Down Expand Up @@ -1003,7 +1003,7 @@ place."
(if ecb-compile-window-height
(progn
(select-window (next-window))
(ecb-split-ver (* -1 ecb-compile-window-height))
(ecb-split-ver (* -1 ecb-compile-window-height) t)
(setq ecb-compile-window (next-window))
(select-window (next-window))
(switch-to-buffer ecb-history-buffer-name)
Expand Down Expand Up @@ -1042,7 +1042,7 @@ place.
This layout works best if you set `ecb-show-sources-in-directories-buffer'
to non nil!"
(when ecb-compile-window-height
(ecb-split-ver (* -1 ecb-compile-window-height))
(ecb-split-ver (* -1 ecb-compile-window-height) t)
(setq ecb-compile-window (next-window)))
(ecb-split-hor ecb-windows-width t)
(ecb-set-directories-buffer)
Expand Down Expand Up @@ -1096,6 +1096,6 @@ place."
(select-window (next-window))
(setq ecb-edit-window (selected-window)))

(provide 'jde-jcb-layout)
(provide 'ecb-layout)

;;; jde-jcb-layout.el ends here
;;; ecb-layout.el ends here
6 changes: 3 additions & 3 deletions jde-jcb-util.el → ecb-util.el
@@ -1,4 +1,4 @@
;;; jde-jcb-util.el --- utility functions for ECB
;;; ecb-util.el --- utility functions for ECB

;; Copyright (C) 2000 Jesper Nordenberg

Expand Down Expand Up @@ -93,6 +93,6 @@
(ecb-update-directory-node (tree-node-get-parent node))
(tree-buffer-update))

(provide 'jde-jcb-util)
(provide 'ecb-util)

;;; jde-jcb-util.el ends here
;;; ecb-util.el ends here
12 changes: 6 additions & 6 deletions jde-jcb.el → ecb.el
@@ -1,4 +1,4 @@
;;; jde-jcb.el --- a code browser
;;; ecb.el --- a code browser

;; Copyright (C) 2000 Jesper Nordenberg

Expand Down Expand Up @@ -33,7 +33,7 @@
;; To use the Emacs code browser add the ECB files to your load path
;; and add the following line to your .emacs file:
;;
;; (require 'jde-jcb)
;; (require 'ecb)
;;
;; ECB requires version 1.2.1 or higher of Eric's semantic bovinator
;; (http://www.ultranet.com/~zappo/semantic.shtml).
Expand Down Expand Up @@ -72,8 +72,8 @@
(require 'semantic-el)
(require 'semantic-c)
(require 'tree-buffer)
(require 'jde-jcb-layout)
(require 'jde-jcb-util)
(require 'ecb-layout)
(require 'ecb-util)

(eval-when-compile
;; to avoid compiler grips
Expand Down Expand Up @@ -696,6 +696,6 @@ with the actually choosen layout \(see `ecb-layout')."
(ecb-current-buffer-sync)
(error nil))))

(provide 'jde-jcb)
(provide 'ecb)

;;; jcb.el ends here
;;; ecb.el ends here

0 comments on commit 511c629

Please sign in to comment.