16674
|
1 |
<?xml version='1.0' encoding='iso-8859-1' ?>
|
|
2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3 |
<!-- $Id$ -->
|
|
4 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
5 |
|
|
6 |
<head>
|
|
7 |
<title>MacOS X Emacs hints</title>
|
|
8 |
<?include file="//include/htmlheader.include.html"?>
|
|
9 |
</head>
|
|
10 |
|
|
11 |
<body class="dist">
|
|
12 |
<?include file="//include/header.include.html"?>
|
|
13 |
<div class="hr"><hr/></div>
|
|
14 |
<?include file="//include/navigation.include.html"?>
|
|
15 |
<div class="hr"><hr/></div>
|
|
16 |
<div id="content">
|
|
17 |
|
|
18 |
<h2>MacOS X Emacs hints</h2>
|
|
19 |
|
|
20 |
<p>Assuming you have an installation of Isabelle on your Mac,
|
|
21 |
there are various possibilites for running ProofGeneral:</p>
|
|
22 |
|
|
23 |
<ul>
|
|
24 |
<li>You should also be able to launch <a href=
|
|
25 |
"http://proofgeneral.inf.ed.ac.uk/">Proof General</a> by typing
|
|
26 |
<tt class="shellcmd">Isabelle</tt> at the Unix command line. This will invoke the
|
|
27 |
Apple-supplied version of Emacs in a terminal window, providing a primitive
|
|
28 |
environment.</li>
|
|
29 |
<li>Somewhat better is to run Proof General from within a version
|
|
30 |
of Emacs ported as a native Mac OS X application, such as <a href=
|
|
31 |
"http://home.att.ne.jp/alpha/z123/emacs-mac-e.html">MacEmacs JP</a> or
|
|
32 |
<a href="http://mindlube.com/products/emacs/">mindlube's</a> or <a href=
|
|
33 |
"http://www.cs.man.ac.uk/%7efranconi/mac-emacs/">Enhanced Carbon Emacs</a>.
|
|
34 |
Visiting a theory file from Emacs will automatically launch Proof General
|
|
35 |
provided <tt class="shellcmd">isabelle</tt> is on the search path. None of these options
|
|
36 |
support the X-Symbol package, unfortunately.</li>
|
|
37 |
<li>In order to get the full benefit of Proof General, you must install the X
|
|
38 |
Window System (X11) and <a href="http://www.xemacs.org/">XEmacs</a> or
|
|
39 |
<a href="http://www.gnu.org/software/emacs/emacs.html">GNU Emacs</a>.</li>
|
|
40 |
<ul>
|
|
41 |
<li>
|
|
42 |
<a href="http://www.apple.com/macosx/x11/">apple's version of X11</a>
|
|
43 |
is included with the Panther (MacOS X 10.3) installation discs, though it is
|
|
44 |
not installed by default. The Command key serves as Meta, but it is
|
|
45 |
reserved for standard Apple shortcuts such as C, V and X, so you must use
|
|
46 |
Esc-C, Esc-V and Esc-X in Emacs or else deselect »Enable key equivalents«
|
|
47 |
in the X11 preferences.</li>
|
|
48 |
<li>The easiest way to install XEmacs or GNU Emacs is via the package manager
|
|
49 |
<a href="http://fink.sourceforge.net/">Fink</a>. Install the Fink package
|
|
50 |
<tt>xemacs-sumo-pkg</tt> to get the XEmacs libraries that Proof General needs
|
|
51 |
to run. To install GNU Emacs, install the package <tt>emacs21</tt>. Fink can
|
|
52 |
compile from sources, but this takes hours, so it is better to request binary
|
|
53 |
installations.</li>
|
|
54 |
<li>To use <a href="http://www.gnu.org/software/emacs/emacs.html">GNU
|
|
55 |
Emacs</a> instead of <a href="http://www.xemacs.org/">XEmacs</a>, you must
|
|
56 |
recompile Proof General and X-Symbol following the instructions <a href=
|
|
57 |
"http://proofgeneral.inf.ed.ac.uk/FAQ">here</a>. Note that Proof General
|
|
58 |
incorporates its own copy of X-Symbol.</li>
|
|
59 |
|
|
60 |
</ul>
|
|
61 |
</ul>
|
|
62 |
|
|
63 |
<p>You may want to install this drag-and-drop <a href=
|
17563
|
64 |
"//misc/isabelle_droplet.dmg">Isabelle launcher</a>. It is a simple hack that
|
16674
|
65 |
invokes XEmacs on any files dropped on it.</p>
|
|
66 |
|
|
67 |
<p>Here is a <a href=
|
17563
|
68 |
"//img/screenshot_isabelle_macos.gif">screenshot</a> showing Proof General running
|
16674
|
69 |
in GNU Emacs.</p>
|
|
70 |
|
|
71 |
</div>
|
|
72 |
<div class="hr"><hr/></div>
|
|
73 |
<?include file="//include/footer.include.html"?>
|
|
74 |
</body>
|
|
75 |
|
|
76 |
</html>
|