mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
76 lines
3.7 KiB
EmacsLisp
76 lines
3.7 KiB
EmacsLisp
;;; .ecb-user-layouts.el --- user defined ECB-layouts
|
|
|
|
;; Copyright (C) 2001 - 2005 Jesper Nordenberg
|
|
;; Copyright (C) 2001 - 2005 Free Software Foundation, Inc.
|
|
;; Copyright (C) 2001 - 2005 Klaus Berndl <klaus.berndl@sdm.de>
|
|
|
|
;; Author: Klaus Berndl <klaus.berndl@sdm.de>
|
|
;; Maintainer: Klaus Berndl <klaus.berndl@sdm.de>
|
|
;; Keywords: java, class, browser
|
|
|
|
;; This program is free software; you can redistribute it and/or modify it
|
|
;; under the terms of the GNU General Public License as published by the Free
|
|
;; Software Foundation; either version 2, or (at your option) any later
|
|
;; version.
|
|
|
|
;; This program is distributed in the hope that it will be useful, but WITHOUT
|
|
;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
;; more details.
|
|
|
|
;; You should have received a copy of the GNU General Public License along
|
|
;; with GNU Emacs; see the file COPYING. If not, write to the Free Software
|
|
;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
;;; Commentary:
|
|
|
|
;; This file contains all user-defined ECB-layouts created by the command
|
|
;; `ecb-create-new-layout'.
|
|
|
|
;; !!! DO NOT EDIT THIS FILE MANUALLY - IT IS GENERATED BY ECB !!!
|
|
|
|
(ecb-layout-define "user-left1" left nil
|
|
(if (fboundp (quote ecb-set-directories-buffer)) (ecb-set-directories-buffer) (ecb-set-default-ecb-buffer))
|
|
(dotimes (i 2) (other-window 1) (if (equal (selected-window) ecb-compile-window) (other-window 1)))
|
|
(ecb-split-ver 0.75 t)
|
|
(if (fboundp (quote ecb-set-directories-buffer)) (ecb-set-directories-buffer) (ecb-set-default-ecb-buffer))
|
|
(dotimes (i 1) (other-window 1) (if (equal (selected-window) ecb-compile-window) (other-window 1)))
|
|
(if (fboundp (quote ecb-set-methods-buffer)) (ecb-set-methods-buffer) (ecb-set-default-ecb-buffer))
|
|
(dotimes (i 2) (other-window 1) (if (equal (selected-window) ecb-compile-window) (other-window 1)))
|
|
(dotimes (i 2) (other-window 1) (if (equal (selected-window) ecb-compile-window) (other-window 1)))
|
|
)
|
|
|
|
(ecb-layout-define "user-left2" left
|
|
"This function creates the following layout:
|
|
|
|
-------------------------------------------------------
|
|
| | |
|
|
| | |
|
|
| | |
|
|
| | |
|
|
| | |
|
|
| Directories | |
|
|
| | |
|
|
| | Edit |
|
|
| | |
|
|
| | |
|
|
| | |
|
|
|--------------| |
|
|
| | |
|
|
| Methods | |
|
|
| | |
|
|
-------------------------------------------------------
|
|
| |
|
|
| Compilation |
|
|
| |
|
|
-------------------------------------------------------
|
|
|
|
If you have not set a compilation-window in `ecb-compile-window-height' then
|
|
the layout contains no persistent compilation window and the other windows get a
|
|
little more place. This layout works best if it is contained in
|
|
`ecb-show-sources-in-directories-buffer'!"
|
|
(ecb-set-directories-buffer)
|
|
(ecb-split-ver 0.75)
|
|
(ecb-set-methods-buffer)
|
|
(select-window (next-window)))
|