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

Contents of /climacs/packages.lisp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.121 - (hide annotations)
Sun Nov 12 16:06:06 2006 UTC (7 years, 5 months ago) by thenriksen
Branch: MAIN
Changes since 1.120: +28 -378 lines
Make Climacs use Drei. There are known problems (apart from the docs
now being outdated):

* Some syntaxes have not been updated.
* Group functionality has been disabled.
* It's a large change and Climacs has no test suite. Bugs probably
  still remain.

But it should work nicely most of the time. Otherwise, you'll get a
full refund.
1 strandh 1.1 ;;; -*- Mode: Lisp; Package: COMMON-LISP-USER -*-
2    
3 mvilleneuve 1.29 ;;; (c) copyright 2004-2005 by
4 strandh 1.6 ;;; Robert Strandh (strandh@labri.fr)
5 mvilleneuve 1.29 ;;; (c) copyright 2005 by
6     ;;; Matthieu Villeneuve (matthieu.villeneuve@free.fr)
7 thenriksen 1.104 ;;; (c) copyright 2006 by
8     ;;; Troels Henriksen (athas@sigkill.dk)
9 strandh 1.1
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 thenriksen 1.104 (in-package :cl-user)
28    
29 thenriksen 1.84 (defpackage :climacs-gui
30 thenriksen 1.121 (:use :clim-lisp :clim :drei-buffer :drei-base
31     :drei-abbrev :drei-syntax :drei-motion
32     :drei-kill-ring :drei :clim-extensions
33     :drei-undo :esa :drei-editing :drei-motion
34     :esa-buffer :esa-io :esa-utils)
35 thenriksen 1.106 ;;(:import-from :lisp-string)
36     (:export #:climacs ; Frame.
37    
38 thenriksen 1.121 #:climacs-buffer #:external-format
39     #:climacs-pane
40 thenriksen 1.106 #:climacs-info-pane
41 thenriksen 1.107 #:typeout-pane
42     #:kill-ring
43 thenriksen 1.106
44     ;; GUI functions follow.
45 thenriksen 1.119 #:any-buffer
46 thenriksen 1.106 #:point
47     #:syntax
48     #:mark
49 thenriksen 1.108 #:buffers
50 thenriksen 1.117 #:active-group
51     #:groups
52 thenriksen 1.106 #:display-window
53 thenriksen 1.107 #:split-window
54     #:typeout-window
55     #:delete-window
56     #:other-window
57 thenriksen 1.108 #:buffer-pane-p
58 thenriksen 1.104
59 thenriksen 1.106 ;; 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 thenriksen 1.121 #:*default-external-format*
68 thenriksen 1.106
69     ;; The command tables
70     #:global-climacs-table #:keyboard-macro-table #:climacs-help-table
71 thenriksen 1.121 #:base-table #:buffer-table #:case-table
72     #:development-table
73     #:info-table #:pane-table
74     #:window-table))
75 thenriksen 1.106
76     (defpackage :climacs-core
77 thenriksen 1.121 (:use :clim-lisp :drei-base :drei-buffer :drei-fundamental-syntax
78     :drei-syntax :drei-motion :drei :drei-kill-ring
79     :drei-editing :climacs-gui :clim :drei-abbrev :esa :esa-buffer :esa-io
80     :esa-utils :drei-core :flexi-streams)
81 thenriksen 1.108 (:export #:display-string
82     #:object-equal
83     #:object=
84     #:no-upper-p
85     #:case-relevant-test
86    
87     #:switch-to-buffer
88 thenriksen 1.112 #:make-new-buffer
89     #:make-new-named-buffer
90 thenriksen 1.108 #:erase-buffer
91     #:kill-buffer
92    
93     #:filepath-filename
94 thenriksen 1.110 #:update-attribute-line
95     #:evaluate-attribute-line
96 thenriksen 1.108 #:directory-pathname-p
97 thenriksen 1.112 #:find-file #:find-file-read-only
98 thenriksen 1.108 #:directory-of-buffer
99 thenriksen 1.112 #:set-visited-filename
100 thenriksen 1.108 #:check-file-times
101 thenriksen 1.112 #:save-buffer
102    
103     #:input-from-stream
104     #:save-buffer-to-stream
105 thenriksen 1.116 #:make-buffer-from-stream
106    
107 thenriksen 1.117 #:group
108     #:group-element
109     #:standard-group
110     #:current-buffer-group
111     #:add-group
112     #:get-group
113     #:get-active-group
114     #:deselect-group
115     #:with-group-buffers
116     #:define-group
117     #:group-not-found
118     #:group-buffers
119     #:ensure-group-buffers
120     #:select-group
121     #:display-group-contents)
122 thenriksen 1.106 (:documentation "Package for editor functionality that is
123     syntax-aware, but yet not specific to certain
124     syntaxes. Contains stuff like indentation, filling and other
125     features that require a fairly high-level view of the
126     application, but are not solely GUI-specific."))
127 thenriksen 1.100
128 thenriksen 1.103 (defpackage :climacs-commands
129 thenriksen 1.121 (:use :clim-lisp :clim :drei-base :drei-buffer
130     :drei-syntax :drei-motion :drei-editing
131     :climacs-gui :esa :drei-kill-ring :drei
132     :drei-abbrev :drei-undo :climacs-core :drei-core)
133 thenriksen 1.103 (:documentation "This package is meant to contain Climacs'
134     command definitions, as well as some useful automatic
135     command-defining facilities."))
136 thenriksen 1.84
137 rstrandh 1.53 (defpackage :climacs-html-syntax
138 thenriksen 1.121 (:use :clim-lisp :clim :drei-buffer :drei-base
139     :drei-syntax :flexichain :drei :drei-fundamental-syntax))
140 rstrandh 1.32
141 crhodes 1.60 (defpackage :climacs-prolog-syntax
142 thenriksen 1.121 (:use :clim-lisp :clim :drei-buffer :drei-base
143     :drei-syntax :flexichain :drei :climacs-core :drei-fundamental-syntax
144     :drei)
145 tmoore 1.85 (:shadow #:atom #:close #:exp #:integer #:open #:variable))
146 pfong 1.61
147     (defpackage :climacs-cl-syntax
148 thenriksen 1.121 (:use :clim-lisp :clim :drei-buffer :drei-base
149     :drei-syntax :flexichain :drei :drei-fundamental-syntax)
150 rstrandh 1.63 (:export))
151    
152 thenriksen 1.104 (defpackage :climacs
153 thenriksen 1.121 (:use :clim-lisp :clim :clim-sys :clim-extensions :climacs-gui :drei)
154 thenriksen 1.104 (:export #:climacs
155     #:climacs-rv
156     #:edit-definition)
157     (:documentation "Package containing entry points to Climacs."))

  ViewVC Help
Powered by ViewVC 1.1.5