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

Contents of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.135 - (show annotations)
Mon Jan 21 17:19:34 2008 UTC (6 years, 2 months ago) by thenriksen
Branch: MAIN
Changes since 1.134: +2 -1 lines
Added Print Last Expression command, TODO changes and README changes,
courtesy of Cyrus Harmon.
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 #:pane-table
86 #:window-table
87
88 ;; Typeout
89 #:typeout-view #:typeout-view-p
90 #:with-typeout #:invoke-with-typeout))
91
92 (defpackage :climacs-core
93 (:use :clim-lisp :drei-base :drei-buffer :drei-fundamental-syntax
94 :drei-syntax :drei-motion :drei :drei-kill-ring
95 :drei-editing :climacs-gui :clim :drei-abbrev :esa :esa-buffer :esa-io
96 :esa-utils :drei-core)
97 (:export #:display-string
98 #:object-equal
99 #:object=
100 #:no-upper-p
101 #:case-relevant-test
102
103 #:switch-to-view #:switch-or-move-to-view
104 #:make-new-buffer
105 #:kill-view
106
107 #:filepath-filename
108 #:update-attribute-line
109 #:evaluate-attribute-line
110 #:directory-pathname-p
111 #:find-file #:find-file-read-only
112 #:directory-of-buffer
113 #:set-visited-filename
114 #:check-file-times
115 #:save-buffer
116
117 #:input-from-stream
118 #:save-buffer-to-stream
119 #:make-buffer-from-stream
120
121 #:group
122 #:group-element
123 #:standard-group
124 #:current-buffer-group
125 #:add-group
126 #:get-group
127 #:get-active-group
128 #:deselect-group
129 #:with-group-views
130 #:define-group
131 #:group-not-found
132 #:group-views
133 #:ensure-group-views
134 #:select-group
135 #:display-group-contents)
136 (:documentation "Package for editor functionality that is
137 syntax-aware, but yet not specific to certain
138 syntaxes. Contains stuff like indentation, filling and other
139 features that require a fairly high-level view of the
140 application, but are not solely GUI-specific."))
141
142 (defpackage :climacs-commands
143 (:use :clim-lisp :clim :esa-utils :drei-base :drei-buffer
144 :drei-syntax :drei-motion :drei-editing
145 :climacs-gui :esa :drei-kill-ring :drei
146 :drei-abbrev :drei-undo :climacs-core :drei-core)
147 (:documentation "This package is meant to contain Climacs'
148 command definitions, as well as some useful automatic
149 command-defining facilities."))
150
151 (defpackage :climacs-html-syntax
152 (:use :clim-lisp :clim :drei-buffer :drei-base
153 :drei-syntax :flexichain :drei :drei-fundamental-syntax))
154
155 (defpackage :climacs-text-syntax
156 (:use :clim-lisp :clim :drei-buffer :drei-base
157 :drei-syntax :flexichain :drei :drei-fundamental-syntax
158 :esa-utils))
159
160 (defpackage :climacs-prolog-syntax
161 (:use :clim-lisp :clim :drei-buffer :drei-base
162 :drei-syntax :flexichain :drei :climacs-core :drei-fundamental-syntax
163 :drei)
164 (:shadow #:atom #:close #:exp #:integer #:open #:variable))
165
166 (defpackage :climacs-cl-syntax
167 (:use :clim-lisp :clim :drei-buffer :drei-base
168 :drei-syntax :flexichain :drei :drei-fundamental-syntax)
169 (:export))
170
171 (defpackage :climacs-structedit
172 (:use :clim-lisp :clim :esa :esa-utils :drei :drei-buffer :drei-base :drei-core
173 :drei-motion :drei-editing :drei-syntax :drei-lr-syntax :drei-lisp-syntax)
174 (:shadow clim:form)
175 (:export #:structedit-mode
176 #:structedit-table))
177
178 (defpackage :climacs-c-syntax
179 (:use :clim-lisp :clim :clim-extensions :drei-buffer :drei-base
180 :drei-syntax :drei-fundamental-syntax :flexichain :drei
181 :drei-motion :drei-editing :esa-utils :esa :drei-core :esa-io
182 :drei-lr-syntax)
183 (:shadow clim:form)
184 (:export #:c-syntax)
185 (:documentation "Implementation of the syntax module used for
186 editing C code."))
187
188 (defpackage :climacs-java-syntax
189 (:use :clim-lisp :clim :clim-extensions :drei-buffer :drei-base
190 :drei-syntax :drei-fundamental-syntax :flexichain :drei
191 :drei-motion :drei-editing :esa-utils :esa :drei-core :esa-io
192 :drei-lr-syntax)
193 (:shadow clim:form)
194 (:export #:java-syntax)
195 (:documentation "Implementation of the syntax module used for
196 editing Java(tm) code."))
197
198 (defpackage :climacs
199 (:use :clim-lisp :clim :clim-sys :clim-extensions :climacs-gui :drei)
200 (:export #:climacs
201 #:climacs-rv
202 #:edit-definition)
203 (:documentation "Package containing entry points to Climacs."))

  ViewVC Help
Powered by ViewVC 1.1.5