annotate lisp/oobr/BR-README @ 0:376386a54a3c r19-14

Import from CVS: tag r19-14
author cvs
date Mon, 13 Aug 2007 08:45:50 +0200
parents
children 4103f0995bd7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
1 # See "br-vers.el" for the OO-Browser Lisp Code Directory information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
2 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
3 # SUMMARY: OO-Browser overview and installation notes
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
4 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
5 # AUTHOR: Bob Weiner
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
6 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
7 # ORIG-DATE: 16-Jun-90
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
8 # LAST-MOD: 3-May-96 at 20:45:00 by Harri Pasanen
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
9 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
10 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
11 # See the file BR-COPY for license information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
12 #
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
13 # This file is part of the OO-Browser.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
14
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
15 ===========================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
16 * Table of Contents
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
17 ===========================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
18 * Files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
19 * Mail Lists
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
20 * Installation / Configuration
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
21 * Invocation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
22
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
23
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
24 ===========================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
25 * Files
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
26 ===========================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
27
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
28 See the "BR-COPY" file for copying and distribution information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
29
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
30 See the "BR-OBTAIN" file for information on obtaining the OO-Browser.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
31
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
32 See the "MANIFEST" file for summaries of the OO-Browser files.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
33
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
34 See the "BR-RELEASE" file for a summary of new features in this release.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
35
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
36 See the "BR-FEATURES" file for a summary of OO-Browser features.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
37
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
38 "man/oo-browser.info" and "man/oo-browser.texi" contain the Info and Texinfo
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
39 source versions of the OO-Browser User Manual.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
40
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
41
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
42 ===========================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
43 * Mail Lists
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
44 ===========================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
45
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
46 <oo-browser@hub.ucsb.edu> - mail list
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
47 <oo-browser-request@hub.ucsb.edu> - administrative requests
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
48
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
49 The oo-browser mail list is for discussion, bug reports and feature
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
50 requests concerning the OO-Browser multi-language code browser.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
51 If your Emacs version supports menubars and popup menus, you can use the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
52 Compose-Mail-to-List and Mail-List-Request menu items to access the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
53 mail list and administrative address, respectively, when in the OO-Browser.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
54
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
55 ALL mail concerning administration of the OO-Browser mailing list should
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
56 be sent to the -request address. That includes addition, change, or
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
57 deletion requests. Don't EVER consider sending such a request to the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
58 oo-browser mail list.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
59
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
60 Use the following formats on your subject line to execute requests,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
61 where you substitute your own values for the <> delimited items.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
62
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
63 Subject: Subscribe '<' <user@domain> '>' (<your name>).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
64 Subject: Unsubscribe '<' <user@domain> '>'.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
65
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
66 To change your address, you must unsubscribe your old address in one
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
67 message and then subscribe your new address in another message.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
68
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
69 For example:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
70
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
71 To: oo-browser-request@hub.ucsb.edu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
72 Subject: Unsubscribe <joe@any.com>.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
73
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
74 To: oo-browser-request@hub.ucsb.edu
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
75 Subject: Subscribe <joe@any.com> (Joe Williams).
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
76
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
77 If you ask questions, you should consider adding to the discussion by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
78 telling people the kinds of work you are doing or contemplating doing
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
79 with the OO-Browser. In this way, the list will not be overwhelmed by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
80 messages that ask for, but provide no information.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
81
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
82
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
83 ===========================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
84 * Installation / Configuration
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
85 ===========================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
86
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
87 To install the OO-Browser:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
88
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
89 If you have the Hyperbole system installed, you must be using
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
90 V3.18.4 or greater. Otherwise, you must upgrade. Get Hyperbole
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
91 from: /anonymous@ftp.xemacs.org:/pub/infodock. Get the h*
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
92 files in that directory. Once you have this version installed,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
93 you can safely delete the oobr/hypb/ directory, which duplicates a
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
94 subset of the Hyperbole files to provide the OO-Browser with
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
95 context-sensitive keyboard and mouse keys. But then you must
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
96 make a symbolic link from your hyperbole directory to oobr/hypb,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
97 so that the OO-Browser Makefile can see the Hyperbole files it needs.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
98
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
99 Add the full path of either the Hyperbole code directory or the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
100 "oobr/hypb/" subdirectory to your 'load-path' variable.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
101
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
102 You may want to change the settings of 'c++-cpp-include-dirs'
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
103 and 'c++-include-dirs' at the bottom of "br-site.el".
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
104
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
105 If you prefer to use some non-GNU Emacs editor such
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
106 as vi to view and edit your code, then modify to your taste the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
107 settings in the br-setup-external function in "br-site.el" and add
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
108 the following line to your personal Emacs initialization file:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
109 (add-hook 'br-mode-hook 'br-setup-external)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
110
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
111 Add the following lines to your site autoload configuration, substituting
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
112 the correct full path for <OO-BROWSER-DIR>:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
113
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
114 (defvar br-directory "<OO-BROWSER-DIR>/")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
115 "Directory where the OO-Browser executable code is kept.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
116 It must end with a directory separator character.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
117
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
118 (autoload 'oo-browser (expand-file-name "br-start" br-directory)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
119 "Invoke the OO-Browser" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
120 (autoload 'br-env-browse (expand-file-name "br-start" br-directory)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
121 "Browse an existing OO-Browser Environment" t)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
122
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
123 Add the following key binding to your site keys configuration:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
124
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
125 (global-set-key "\C-c\C-o" 'oo-browser)
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
126
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
127 It conceivable that you are not actively using all the languages that
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
128 OO-Browser supports. You can limit the list of offered languages by
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
129 providing your own definition of br-env-lang-avector, defined in
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
130 br-env.el.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
131
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
132 For example, to enable just C++ and Python browsing, add this to your
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
133 .emacs:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
134
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
135 (defvar br-env-lang-avector
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
136 '[("C++" . "c++-")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
137 ("Python" . "python-")]
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
138 "Association vector of (LANGUAGE-NAME . LANGUAGE-PREFIX-STRING) elements of OO-Browser languages.")
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
139
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
140 The OO-Browser's Emacs Lisp files are pre-byte-compiled for InfoDock,
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
141 Emacs 19 and XEmacs, so if you run one of these versions, when you use
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
142 make to build the OO-Browser, very few files will need to be built, so
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
143 your make will finish quickly.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
144
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
145 Before doing your first make, edit the CONFIGURABLE SECTION in the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
146 "Makefile". You must set the EMACS variable to point to the Emacs
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
147 executable that you want to use to byte-compile the OO-Browser Lisp
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
148 files. You may also have to set SITE-PRELOADS; follow the instructions
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
149 that precede the 'SITE-PRELOADS =' line. Make these changes now and save
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
150 the Makefile.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
151
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
152 If you are running Emacs V18 or Epoch, you must first rebuild all
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
153 byte-compiled Lisp files. Move to the oobr directory and use:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
154 make all-elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
155
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
156 Then, whatever Emacs version you use, move to the oobr directory
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
157 and use:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
158 make
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
159
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
160 Use these commands if you want to build graphical interfaces to
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
161 the OO-Browser:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
162
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
163 If you want to build the X OO-Browser, you have to change some
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
164 of the variable settings at the top of the "tree-x/Makefile",
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
165 such as the BINDIR directory.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
166
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
167 Once you have done that, use:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
168 make xoobr
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
169 to build the X OO-Browser and then use:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
170 make install
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
171 to install the executable for use.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
172
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
173 If you want to rebuild the NEXTSTEP OO-Browser below the
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
174 "tree-nx" directory, you must use NeXT's ProjectBuilder. The
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
175 browser is pre-built for NEXTSTEP 3.0 on 68k NeXT machines.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
176
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
177 To produce the Postscript version of the Hyperbole manual:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
178 make ps
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
179
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
180 If you ever want to just rebuild out of data Lisp files, use:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
181 make elc
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
182
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
183 The OO-Browser is now ready for use.
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
184
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
185
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
186 ===========================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
187 * Invocation
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
188 ===========================================================================
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
189
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
190 To invoke the OO-Browser, use:
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
191
376386a54a3c Import from CVS: tag r19-14
cvs
parents:
diff changeset
192 {C-c C-o} or {M-x oo-browser RET}