/[climacs]/climacs/packages.lisp
ViewVC logotype

Contents of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.126 - (show annotations)
Fri Nov 16 09:29:47 2007 UTC (6 years, 5 months ago) by thenriksen
Branch: MAIN
Changes since 1.125: +4 -3 lines
Restored Climacs' Group-support.
1 ;;; -*- Mode: Lisp; Package: COMMON-LISP-USER -*-
2
3 ;;; (c) copyright 2004-2005 by
4 ;;; Robert Strandh (strandh@labri.fr)
5 ;;; (c) copyright 2005 by
6 ;;; Matthieu Villeneuve (matthieu.villeneuve@free.fr)
7 ;;; (c) copyright 2006 by
8 ;;; Troels Henriksen (athas@sigkill.dk)
9
10 ;;; This library is free software; you can redistribute it and/or
11 ;;; modify it under the terms of the GNU Library General Public
12 ;;; License as published by the Free Software Foundation; either
13 ;;; version 2 of the License, or (at your option) any later version.
14 ;;;
15 ;;; This library is distributed in the hope that it will be useful,
16 ;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 ;;; Library General Public License for more details.
19 ;;;
20 ;;; You should have received a copy of the GNU Library General Public
21 ;;; License along with this library; if not, write to the
22 ;;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23 ;;; Boston, MA 02111-1307 USA.
24
25 ;;; Package definitions for the Climacs editor.
26
27 (in-package :cl-user)
28
29 (defpackage :climacs-gui
30 (:use :clim-lisp :clim :drei-buffer :drei-base
31 :drei-abbrev :drei-syntax :drei-motion
32 :drei-kill-ring :drei-core :drei :clim-extensions
33 :drei-undo :esa :drei-editing :drei-motion
34 :esa-buffer :esa-io :esa-utils)
35 ;;(:import-from :lisp-string)
36 (:export #:climacs ; Frame.
37
38 #:climacs-buffer #:external-format
39 #:climacs-pane
40 #:climacs-info-pane
41 #:typeout-pane
42 #:kill-ring
43
44 ;; GUI functions follow.
45 #:any-buffer
46 #:point
47 #:syntax
48 #:mark
49 #:buffers
50 #:active-group
51 #:groups
52 #:display-window
53 #:split-window
54 #:typeout-window
55 #:delete-window
56 #:other-window
57 #:buffer-pane-p
58
59 ;; Some configuration variables
60 #:*bg-color*
61 #:*fg-color*
62 #:*info-bg-color*
63 #:*info-fg-color*
64 #:*mini-bg-color*
65 #:*mini-fg-color*
66 #:*with-scrollbars*
67 #:*default-external-format*
68 #:*climacs-target-creator*
69
70 ;; The command tables
71 #:global-climacs-table #:keyboard-macro-table #:climacs-help-table
72 #:base-table #:buffer-table #:case-table
73 #:development-table
74 #:info-table #:pane-table
75 #:window-table))
76
77 (defpackage :climacs-core
78 (:use :clim-lisp :drei-base :drei-buffer :drei-fundamental-syntax
79 :drei-syntax :drei-motion :drei :drei-kill-ring
80 :drei-editing :climacs-gui :clim :drei-abbrev :esa :esa-buffer :esa-io
81 :esa-utils :drei-core)
82 (:export #:display-string
83 #:object-equal
84 #:object=
85 #:no-upper-p
86 #:case-relevant-test
87
88 #:switch-to-buffer
89 #:make-new-buffer
90 #:make-new-named-buffer
91 #:erase-buffer
92 #:kill-buffer
93
94 #:filepath-filename
95 #:update-attribute-line
96 #:evaluate-attribute-line
97 #:directory-pathname-p
98 #:find-file #:find-file-read-only
99 #:directory-of-buffer
100 #:set-visited-filename
101 #:check-file-times
102 #:save-buffer
103
104 #:input-from-stream
105 #:save-buffer-to-stream
106 #:make-buffer-from-stream
107
108 #:group
109 #:group-element
110 #:standard-group
111 #:current-buffer-group
112 #:add-group
113 #:get-group
114 #:get-active-group
115 #:deselect-group
116 #:with-group-buffers
117 #:define-group
118 #:group-not-found
119 #:group-buffers
120 #:ensure-group-buffers
121 #:select-group
122 #:display-group-contents)
123 (:documentation "Package for editor functionality that is
124 syntax-aware, but yet not specific to certain
125 syntaxes. Contains stuff like indentation, filling and other
126 features that require a fairly high-level view of the
127 application, but are not solely GUI-specific."))
128
129 (defpackage :climacs-commands
130 (:use :clim-lisp :clim :drei-base :drei-buffer
131 :drei-syntax :drei-motion :drei-editing
132 :climacs-gui :esa :drei-kill-ring :drei
133 :drei-abbrev :drei-undo :climacs-core :drei-core)
134 (:documentation "This package is meant to contain Climacs'
135 command definitions, as well as some useful automatic
136 command-defining facilities."))
137
138 (defpackage :climacs-html-syntax
139 (:use :clim-lisp :clim :drei-buffer :drei-base
140 :drei-syntax :flexichain :drei :drei-fundamental-syntax))
141
142 (defpackage :climacs-text-syntax
143 (:use :clim-lisp :clim :drei-buffer :drei-base
144 :drei-syntax :flexichain :drei :drei-fundamental-syntax))
145
146 (defpackage :climacs-prolog-syntax
147 (:use :clim-lisp :clim :drei-buffer :drei-base
148 :drei-syntax :flexichain :drei :climacs-core :drei-fundamental-syntax
149 :drei)
150 (:shadow #:atom #:close #:exp #:integer #:open #:variable))
151
152 (defpackage :climacs-cl-syntax
153 (:use :clim-lisp :clim :drei-buffer :drei-base
154 :drei-syntax :flexichain :drei :drei-fundamental-syntax)
155 (:export))
156
157 (defpackage :climacs-c-syntax
158 (:use :clim-lisp :clim :clim-extensions :drei-buffer :drei-base
159 :drei-syntax :drei-fundamental-syntax :flexichain :drei
160 :drei-motion :drei-editing :esa-utils :esa :drei-core :esa-io
161 :drei-lr-syntax)
162 (:shadow clim:form)
163 (:export #:c-syntax)
164 (:documentation "Implementation of the syntax module used for
165 editing C code."))
166
167 (defpackage :climacs-java-syntax
168 (:use :clim-lisp :clim :clim-extensions :drei-buffer :drei-base
169 :drei-syntax :drei-fundamental-syntax :flexichain :drei
170 :drei-motion :drei-editing :esa-utils :esa :drei-core :esa-io
171 :drei-lr-syntax)
172 (:shadow clim:form)
173 (:export #:java-syntax)
174 (:documentation "Implementation of the syntax module used for
175 editing Java(tm) code."))
176
177 (defpackage :climacs
178 (:use :clim-lisp :clim :clim-sys :clim-extensions :climacs-gui :drei)
179 (:export #:climacs
180 #:climacs-rv
181 #:edit-definition)
182 (:documentation "Package containing entry points to Climacs."))

  ViewVC Help
Powered by ViewVC 1.1.5