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

Contents of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.139 - (show annotations)
Sun Jun 15 09:11:23 2008 UTC (5 years, 10 months ago) by thenriksen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.138: +1 -1 lines
Use ESA-UTILS:FORMAT-SYM for formatting symbols.
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 #:*climacs-text-style*
38
39 #:climacs-buffer #:external-format
40 #:climacs-pane
41 #:climacs-info-pane
42 #:kill-ring
43
44 ;; View-stuff
45 #:views
46 #:view-setting-error #:view
47 #:unknown-view
48 #:view-already-displayed #:window
49 ;; Restarts
50 #:switch-to-pane #:remove-other-use #:remove-other-pane #:clone-view #:cancel
51 #:any-view #:any-undisplayed-view
52 #:clone-view-for-climacs
53 #:make-new-view-for-climacs
54
55 ;; GUI functions follow.
56 #:point
57 #:syntax
58 #:mark
59 #:buffers
60
61 #:active-group
62 #:groups
63 #:display-window
64 #:split-window
65 #:delete-window
66 #:other-window
67 #:buffer-pane-p
68 #:display-view-info-to-info-pane
69 #:display-view-status-to-info-pane
70
71
72 ;; Some configuration variables
73 #:*info-bg-color*
74 #:*info-fg-color*
75 #:*mini-bg-color*
76 #:*mini-fg-color*
77 #:*with-scrollbars*
78 #:*default-external-format*
79 #:*climacs-target-creator*
80
81 ;; The command tables
82 #:global-climacs-table #:keyboard-macro-table #:climacs-help-table
83 #:base-table #:buffer-table #:case-table
84 #:development-table
85 #:info-table
86 #:window-table #:window-menu-table
87
88 ;; Typeout
89 #:typeout-view #:typeout-view-p
90 #:with-typeout-view #:invoke-with-typeout-view
91 #:with-typeout #:invoke-with-typeout))
92
93 (defpackage :climacs-core
94 (:use :clim-lisp :drei-base :drei-buffer :drei-fundamental-syntax
95 :drei-syntax :drei-motion :drei :drei-kill-ring
96 :drei-editing :climacs-gui :clim :drei-abbrev :esa :esa-buffer :esa-io
97 :esa-utils :drei-core)
98 (:export #:display-string
99 #:object-equal
100 #:object=
101 #:no-upper-p
102 #:case-relevant-test
103
104 #:switch-to-view #:switch-or-move-to-view
105 #:make-new-buffer
106 #:kill-view
107
108 #:filepath-filename
109 #:update-attribute-line
110 #:evaluate-attribute-line
111 #:directory-pathname-p
112 #:find-file #:find-file-read-only
113 #:directory-of-buffer
114 #:set-visited-filename
115 #:check-file-times
116 #:save-buffer
117
118 #:input-from-stream
119 #:save-buffer-to-stream
120 #:make-buffer-from-stream
121
122 #:group
123 #:group-element
124 #:standard-group
125 #:current-buffer-group
126 #:add-group
127 #:get-group
128 #:get-active-group
129 #:deselect-group
130 #:with-group-views
131 #:define-group
132 #:group-not-found
133 #:group-views
134 #:ensure-group-views
135 #:select-group
136 #:display-group-contents)
137 (:documentation "Package for editor functionality that is
138 syntax-aware, but yet not specific to certain
139 syntaxes. Contains stuff like indentation, filling and other
140 features that require a fairly high-level view of the
141 application, but are not solely GUI-specific."))
142
143 (defpackage :climacs-commands
144 (:use :clim-lisp :clim :esa-utils :drei-base :drei-buffer
145 :drei-syntax :drei-motion :drei-editing
146 :climacs-gui :esa :drei-kill-ring :drei
147 :drei-abbrev :drei-undo :climacs-core :drei-core)
148 (:documentation "This package is meant to contain Climacs'
149 command definitions, as well as some useful automatic
150 command-defining facilities."))
151
152 (defpackage :climacs-html-syntax
153 (:use :clim-lisp :clim :drei-buffer :drei-base
154 :drei-syntax :flexichain :drei :drei-fundamental-syntax))
155
156 (defpackage :climacs-text-syntax
157 (:use :clim-lisp :clim :drei-buffer :drei-base
158 :drei-syntax :flexichain :drei :drei-fundamental-syntax
159 :esa-utils))
160
161 (defpackage :climacs-prolog-syntax
162 (:use :clim-lisp :clim :drei-buffer :drei-base
163 :drei-syntax :flexichain :drei :climacs-core :drei-fundamental-syntax
164 :drei :esa-utils)
165 (:shadow #:atom #:close #:exp #:integer #:open #:variable))
166
167 (defpackage :climacs-cl-syntax
168 (:use :clim-lisp :clim :drei-buffer :drei-base
169 :drei-syntax :flexichain :drei :drei-fundamental-syntax)
170 (:export))
171
172 (defpackage :climacs-structedit
173 (:use :clim-lisp :clim :esa :esa-utils :drei :drei-buffer :drei-base :drei-core
174 :drei-motion :drei-editing :drei-syntax :drei-lr-syntax :drei-lisp-syntax)
175 (:shadow clim:form)
176 (:export #:structedit-mode
177 #:structedit-table))
178
179 (defpackage :climacs-c-syntax
180 (:use :clim-lisp :clim :clim-extensions :drei-buffer :drei-base
181 :drei-syntax :drei-fundamental-syntax :flexichain :drei
182 :drei-motion :drei-editing :esa-utils :esa :drei-core :esa-io
183 :drei-lr-syntax)
184 (:shadow clim:form)
185 (:export #:c-syntax)
186 (:documentation "Implementation of the syntax module used for
187 editing C code."))
188
189 (defpackage :climacs-java-syntax
190 (:use :clim-lisp :clim :clim-extensions :drei-buffer :drei-base
191 :drei-syntax :drei-fundamental-syntax :flexichain :drei
192 :drei-motion :drei-editing :esa-utils :esa :drei-core :esa-io
193 :drei-lr-syntax)
194 (:shadow clim:form)
195 (:export #:java-syntax)
196 (:documentation "Implementation of the syntax module used for
197 editing Java(tm) code."))
198
199 (defpackage :climacs
200 (:use :clim-lisp :clim :clim-sys :clim-extensions :climacs-gui :drei)
201 (:export #:climacs
202 #:climacs-rv
203 #:edit-definition
204 #:edit-file)
205 (:documentation "Package containing entry points to Climacs."))

  ViewVC Help
Powered by ViewVC 1.1.5