Skip to content

Commit 04e0c4d

Browse files
author
Shawn Hoover
committed
merge
2 parents 6d4889d + c7cfb09 commit 04e0c4d

9 files changed

+179
-73
lines changed

.hgignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ syntax: glob
44
*.~is
55
*~
66
clojure
7-
clojure-1.1.0-rc1
7+
clojure-1.1.0*
88
clojure-contrib
99
clojure-mode
1010
emacs

README.rtf

+21-21
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang1033\langfe1033\cgrid\langnp1033\langfenp1033 \snext0 Normal;}{\*\cs10 \additive \ssemihidden Default Paragraph Font;}{\*
99
\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tblind0\tblindtype3\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv
1010
\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}{\*\cs15 \additive \ul\cf2 \sbasedon10 \styrsid15554266 Hyperlink;}}
11-
{\*\rsidtbl \rsid1393697\rsid2033787\rsid4814124\rsid6821360\rsid6821926\rsid8524089\rsid9387819\rsid10817122\rsid12541964\rsid13455212\rsid14491013\rsid14817266\rsid15554266\rsid15682639}{\*\generator Microsoft Word 10.0.6856;}{\info
12-
{\operator Shawn Hoover}{\creatim\yr2009\mo1\dy31\hr15}{\revtim\yr2009\mo12\dy19\hr18\min46}{\version8}{\edmins148}{\nofpages2}{\nofwords423}{\nofchars2415}{\nofcharsws2833}{\vern16393}{\*\password 00000000}}{\*\xmlnstbl }
11+
{\*\rsidtbl \rsid72950\rsid1393697\rsid2033787\rsid4618235\rsid4814124\rsid6821360\rsid6821926\rsid8524089\rsid9387819\rsid10817122\rsid12541964\rsid13455212\rsid14491013\rsid14817266\rsid15554266\rsid15682639}{\*\generator Microsoft Word 10.0.6856;}
12+
{\info{\operator Shawn Hoover}{\creatim\yr2009\mo1\dy31\hr15}{\revtim\yr2009\mo12\dy31\hr11\min41}{\version9}{\edmins149}{\nofpages2}{\nofwords423}{\nofchars2414}{\nofcharsws2832}{\vern16393}{\*\password 00000000}}{\*\xmlnstbl }
1313
\paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\gutter0 \widowctrl\ftnbj\aenddoc\grfdocevents0\noxlattoyen\expshrtn\noultrlspc\dntblnsbdb\nospaceforul\horzdoc\dghspace120\dgvspace120\dghorigin1701\dgvorigin1984\dghshow0\dgvshow3
1414
\jcompress\viewkind4\viewscale100\nolnhtadjtbl\rsidroot6821926 \fet0{\*\wgrffmtfilter 013f}\sectd \linex0\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}
1515
{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}
@@ -26,50 +26,50 @@
2626
\par Clojure Box consists of these components:
2727
\par
2828
\par - Clojure
29-
\par }{\field{\*\fldinst {\f2\fs20\insrsid15554266 HYPERLINK "http://clojure.org" }{\f2\fs20\insrsid14817266\charrsid15554266 {\*\datafield
30-
00d0c9ea79f9bace118c8200aa004ba90b0200000003000000e0c9ea79f9bace118c8200aa004ba90b4000000068007400740070003a002f002f0063006c006f006a007500720065002e006f00720067002f000000795881f43b1d7f48af2c825dc485276300000000a5ab0000000000}}}{\fldrslt {
29+
\par }{\field{\*\fldinst {\f2\fs20\insrsid15554266 HYPERLINK "http://clojure.org" }{\f2\fs20\insrsid4618235\charrsid15554266 {\*\datafield
30+
00d0c9ea79f9bace118c8200aa004ba90b0200000003000000e0c9ea79f9bace118c8200aa004ba90b4000000068007400740070003a002f002f0063006c006f006a007500720065002e006f00720067002f000000795881f43b1d7f48af2c825dc485276300000000a5ab000000000000}}}{\fldrslt {
3131
\cs15\f2\fs20\ul\cf2\insrsid6821926\charrsid15554266 http://clojure.org}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid6821926
3232
\par - Clojure Contrib
33-
\par }{\field{\*\fldinst {\f2\fs20\insrsid15554266 HYPERLINK "http://clojure.org" }{\f2\fs20\insrsid14817266\charrsid15554266 {\*\datafield
34-
00d0c9ea79f9bace118c8200aa004ba90b0200000003000000e0c9ea79f9bace118c8200aa004ba90b4000000068007400740070003a002f002f0063006c006f006a007500720065002e006f00720067002f000000795881f43b1d7f48af2c825dc485276300000000a5ab0000000000}}}{\fldrslt {
33+
\par }{\field{\*\fldinst {\f2\fs20\insrsid15554266 HYPERLINK "http://clojure.org" }{\f2\fs20\insrsid4618235\charrsid15554266 {\*\datafield
34+
00d0c9ea79f9bace118c8200aa004ba90b0200000003000000e0c9ea79f9bace118c8200aa004ba90b4000000068007400740070003a002f002f0063006c006f006a007500720065002e006f00720067002f000000795881f43b1d7f48af2c825dc485276300000000a5ab000000000000}}}{\fldrslt {
3535
\cs15\f2\fs20\ul\cf2\insrsid15554266\charrsid15554266 http://clojure.org}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid6821926
3636
\par - Emacs, via EmacsW32
37-
\par }{\field{\*\fldinst {\f2\fs20\insrsid15554266 HYPERLINK "http://ourcomments.org/Emacs/EmacsW32.html" }{\f2\fs20\insrsid14817266\charrsid15554266 {\*\datafield
37+
\par }{\field{\*\fldinst {\f2\fs20\insrsid15554266 HYPERLINK "http://ourcomments.org/Emacs/EmacsW32.html" }{\f2\fs20\insrsid4618235\charrsid15554266 {\*\datafield
3838
00d0c9ea79f9bace118c8200aa004ba90b0200000003000000e0c9ea79f9bace118c8200aa004ba90b6e00000068007400740070003a002f002f006f007500720063006f006d006d0065006e00740073002e006f00720067002f0045006d006100630073002f0045006d006100630073005700330032002e00680074006d00
39-
6c000000795881f43b1d7f48af2c825dc485276300000000a5ab0000000000}}}{\fldrslt {\cs15\f2\fs20\ul\cf2\insrsid6821926\charrsid15554266 http://ourcomments.org/Emacs/EmacsW32.html}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid6821926
39+
6c000000795881f43b1d7f48af2c825dc485276300000000a5ab000000000000}}}{\fldrslt {\cs15\f2\fs20\ul\cf2\insrsid6821926\charrsid15554266 http://ourcomments.org/Emacs/EmacsW32.html}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid6821926
4040
\par - clojure-mode
41-
\par }{\field{\*\fldinst {\f2\fs20\insrsid4814124 HYPERLINK "}{\f2\fs20\insrsid4814124\charrsid4814124 http://github.com/technomancy/clojure-mode}{\f2\fs20\insrsid4814124 " }{\f2\fs20\insrsid14817266\charrsid12541964 {\*\datafield
41+
\par }{\field{\*\fldinst {\f2\fs20\insrsid4814124 HYPERLINK "}{\f2\fs20\insrsid4814124\charrsid4814124 http://github.com/technomancy/clojure-mode}{\f2\fs20\insrsid4814124 " }{\f2\fs20\insrsid4618235\charrsid12541964 {\*\datafield
4242
00d0c9ea79f9bace118c8200aa004ba90b02000000170000002b00000068007400740070003a002f002f006700690074006800750062002e0063006f006d002f0074006500630068006e006f006d0061006e00630079002f0063006c006f006a007500720065002d006d006f00640065000000e0c9ea79f9bace118c8200aa
43-
004ba90b6e00000068007400740070003a002f002f006700690074006800750062002e0063006f006d002f0074006500630068006e006f006d0061006e00630079002f0063006c006f006a007500720065002d006d006f00640065000000795881f43b1d7f48af2c825dc485276300000000a5ab00000000}}}{\fldrslt {
44-
\cs15\f2\fs20\ul\cf2\insrsid4814124\charrsid12541964 http://github.com/technomancy/clojure-mode}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid6821926
43+
004ba90b6e00000068007400740070003a002f002f006700690074006800750062002e0063006f006d002f0074006500630068006e006f006d0061006e00630079002f0063006c006f006a007500720065002d006d006f00640065000000795881f43b1d7f48af2c825dc485276300000000a5ab0000000000}}}{\fldrslt
44+
{\cs15\f2\fs20\ul\cf2\insrsid4814124\charrsid12541964 http://github.com/technomancy/clojure-mode}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid6821926
4545
\par - swank-clojure
46-
\par }{\field{\*\fldinst {\f2\fs20\insrsid4814124 HYPERLINK "}{\f2\fs20\insrsid4814124\charrsid4814124 http://github.com/technomancy/swank-clojure}{\f2\fs20\insrsid4814124 " }{\f2\fs20\insrsid14817266\charrsid12541964 {\*\datafield
46+
\par }{\field{\*\fldinst {\f2\fs20\insrsid4814124 HYPERLINK "}{\f2\fs20\insrsid4814124\charrsid4814124 http://github.com/technomancy/swank-clojure}{\f2\fs20\insrsid4814124 " }{\f2\fs20\insrsid4618235\charrsid12541964 {\*\datafield
4747
00d0c9ea79f9bace118c8200aa004ba90b02000000170000002c00000068007400740070003a002f002f006700690074006800750062002e0063006f006d002f0074006500630068006e006f006d0061006e00630079002f007300770061006e006b002d0063006c006f006a007500720065000000e0c9ea79f9bace118c82
48-
00aa004ba90b7000000068007400740070003a002f002f006700690074006800750062002e0063006f006d002f0074006500630068006e006f006d0061006e00630079002f007300770061006e006b002d0063006c006f006a007500720065000000795881f43b1d7f48af2c825dc485276300000000a5ab00000000}}
48+
00aa004ba90b7000000068007400740070003a002f002f006700690074006800750062002e0063006f006d002f0074006500630068006e006f006d0061006e00630079002f007300770061006e006b002d0063006c006f006a007500720065000000795881f43b1d7f48af2c825dc485276300000000a5ab0000000000}}
4949
}{\fldrslt {\cs15\f2\fs20\ul\cf2\insrsid4814124\charrsid12541964 http://github.com/technomancy/swank-clojure}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid6821926
5050
\par - Slime
51-
\par }{\field{\*\fldinst {\f2\fs20\insrsid15554266 HYPERLINK "http://common-lisp.net/project/slime/" }{\f2\fs20\insrsid14817266\charrsid15554266 {\*\datafield
51+
\par }{\field{\*\fldinst {\f2\fs20\insrsid15554266 HYPERLINK "http://common-lisp.net/project/slime/" }{\f2\fs20\insrsid4618235\charrsid15554266 {\*\datafield
5252
00d0c9ea79f9bace118c8200aa004ba90b0200000003000000e0c9ea79f9bace118c8200aa004ba90b6400000068007400740070003a002f002f0063006f006d006d006f006e002d006c006900730070002e006e00650074002f00700072006f006a006500630074002f0073006c0069006d0065002f000000795881f43b1d
53-
7f48af2c825dc485276300000000a5ab0000000000}}}{\fldrslt {\cs15\f2\fs20\ul\cf2\insrsid6821926\charrsid15554266 http://common-lisp.net/project/slime/}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid6821926
53+
7f48af2c825dc485276300000000a5ab000000000000}}}{\fldrslt {\cs15\f2\fs20\ul\cf2\insrsid6821926\charrsid15554266 http://common-lisp.net/project/slime/}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid6821926
5454
\par }{\f2\fs20\insrsid15554266 - Paredit}{\f2\fs20\insrsid6821926
55-
\par }{\f2\fs20\insrsid15554266 }{\field{\*\fldinst {\f2\fs20\insrsid15554266 HYPERLINK "http://mumble.net/~campbell/emacs/paredit.el" }{\f2\fs20\insrsid14817266\charrsid9387819 {\*\datafield
55+
\par }{\f2\fs20\insrsid15554266 }{\field{\*\fldinst {\f2\fs20\insrsid15554266 HYPERLINK "http://mumble.net/~campbell/emacs/paredit.el" }{\f2\fs20\insrsid4618235\charrsid9387819 {\*\datafield
5656
00d0c9ea79f9bace118c8200aa004ba90b02000000170000002d00000068007400740070003a002f002f006d0075006d0062006c0065002e006e00650074002f007e00630061006d007000620065006c006c002f0065006d006100630073002f0070006100720065006400690074002e0065006c000000e0c9ea79f9bace11
5757
8c8200aa004ba90b7200000068007400740070003a002f002f006d0075006d0062006c0065002e006e00650074002f007e00630061006d007000620065006c006c002f0065006d006100630073002f0070006100720065006400690074002e0065006c000000795881f43b1d7f48af2c825dc485276300000000a5ab000000
58-
0000}}}{\fldrslt {\cs15\f2\fs20\ul\cf2\insrsid15554266\charrsid9387819 http://mumble.net/~campbell/emacs/paredit.el}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid15554266
58+
000000}}}{\fldrslt {\cs15\f2\fs20\ul\cf2\insrsid15554266\charrsid9387819 http://mumble.net/~campbell/emacs/paredit.el}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid15554266
5959
\par }\pard \ql \li245\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin245\itap0\pararsid15554266 {\f2\fs20\insrsid15554266 Paredit is included for your convenience, but you\rquote ll have to activate it in ~/.emacs. See }{\field{\*\fldinst {
60-
\f2\fs20\insrsid15554266 HYPERLINK "}{\f2\fs20\insrsid15554266\charrsid15554266 http://kyle-burton.tumblr.com/post/86984817/clojure-box-paredit}{\f2\fs20\insrsid15554266 " }{\f2\fs20\insrsid14817266\charrsid9387819 {\*\datafield
60+
\f2\fs20\insrsid15554266 HYPERLINK "}{\f2\fs20\insrsid15554266\charrsid15554266 http://kyle-burton.tumblr.com/post/86984817/clojure-box-paredit}{\f2\fs20\insrsid15554266 " }{\f2\fs20\insrsid4618235\charrsid9387819 {\*\datafield
6161
00d0c9ea79f9bace118c8200aa004ba90b02000000170000004000000068007400740070003a002f002f006b0079006c0065002d0062007500720074006f006e002e00740075006d0062006c0072002e0063006f006d002f0070006f00730074002f00380036003900380034003800310037002f0063006c006f006a007500
6262
720065002d0062006f0078002d0070006100720065006400690074000000e0c9ea79f9bace118c8200aa004ba90b9800000068007400740070003a002f002f006b0079006c0065002d0062007500720074006f006e002e00740075006d0062006c0072002e0063006f006d002f0070006f00730074002f0038003600390038
63-
0034003800310037002f0063006c006f006a007500720065002d0062006f0078002d0070006100720065006400690074000000795881f43b1d7f48af2c825dc485276300000000a5ab0000000000}}}{\fldrslt {\cs15\f2\fs20\ul\cf2\insrsid15554266\charrsid9387819
63+
0034003800310037002f0063006c006f006a007500720065002d0062006f0078002d0070006100720065006400690074000000795881f43b1d7f48af2c825dc485276300000000a5ab000000000000}}}{\fldrslt {\cs15\f2\fs20\ul\cf2\insrsid15554266\charrsid9387819
6464
http://kyle-burton.tumblr.com/post/86984817/clojure-box-paredit}}}\sectd \linex0\sectdefaultcl\sftnbj {\f2\fs20\insrsid15554266 .
6565
\par }\pard \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0 {\f2\fs20\insrsid15554266\charrsid15554266
6666
\par }{\f2\fs20\insrsid6821926 Thanks to all the developers of these excellent packages!
6767
\par
6868
\par }{\f2\fs20\ul\insrsid6821926 Customization
6969
\par
7070
\par }\pard \ql \li0\ri0\nowidctlpar\wrapdefault\faauto\rin0\lin0\itap0\pararsid6821926 {\f2\fs20\insrsid6821926\charrsid6821926 Clojure Box's startup is controlled by default.el in the}{\f2\fs20\insrsid6821926 }{\f2\fs20\insrsid6821926\charrsid6821926 emacs
71-
\\site-start}{\f2\fs20\insrsid6821926 }{\f2\fs20\insrsid6821926\charrsid6821926 directory under the installation. You can put}{\f2\fs20\insrsid6821926 }{\f2\fs20\insrsid6821926\charrsid6821926 your own }{\f2\fs20\insrsid6821926 customizations }{
72-
\f2\fs20\insrsid6821926\charrsid6821926 in}{\f2\fs20\insrsid6821926 your }{\f2\fs20\insrsid6821926\charrsid6821926 .emacs}{\f2\fs20\insrsid6821926 file}{\f2\fs20\insrsid10817122
71+
\\site-}{\f2\fs20\insrsid72950 lisp}{\f2\fs20\insrsid6821926 }{\f2\fs20\insrsid6821926\charrsid6821926 directory under the installation. You can put}{\f2\fs20\insrsid6821926 }{\f2\fs20\insrsid6821926\charrsid6821926 your own }{\f2\fs20\insrsid6821926
72+
customizations }{\f2\fs20\insrsid6821926\charrsid6821926 in}{\f2\fs20\insrsid6821926 your }{\f2\fs20\insrsid6821926\charrsid6821926 .emacs}{\f2\fs20\insrsid6821926 file}{\f2\fs20\insrsid10817122
7373
(these customizations will not be overwritten by future Clojure Box or Emacs installations)}{\f2\fs20\insrsid6821926\charrsid6821926 . Type C-x C-f and enter ~/.emacs. Edit the}{\f2\fs20\insrsid6821926 }{\f2\fs20\insrsid6821926\charrsid6821926
7474
file and save it with C-x C-s. ~ }{\f2\fs20\insrsid4814124 is }{\f2\fs20\insrsid10817122 the same as your HOME environment variable, or }{\f2\fs20\insrsid6821926\charrsid6821926 the application data directory under your user}{\f2\fs20\insrsid6821926 }{
7575
\f2\fs20\insrsid6821926\charrsid6821926 profile}{\f2\fs20\insrsid10817122 if you have no HOME}{\f2\fs20\insrsid6821926\charrsid6821926 .}{\f2\fs20\insrsid6821926

clojure-box-setup.iss

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
AllowNoIcons=yes
33
AppId={{8BECBEE2-A1EF-4326-B1C6-8B4515E21916}
44
AppName=Clojure Box
5-
AppVerName=Clojure Box 1.1RC1-2
5+
AppVerName=Clojure Box 1.1.0-1
66
AppPublisher=Clojure Box
77
AppPublisherURL=http://clojure.bighugh.com
88
AppSupportURL=http://http://www.bitbucket.org/shoover/clojure-box
@@ -13,7 +13,7 @@ DefaultGroupName=Clojure Box
1313
InfoBeforeFile=README.rtf
1414
InfoAfterFile=post-install.txt
1515
OutputDir=C:\Documents and Settings\Shawn\Desktop\clojure-box-setup
16-
OutputBaseFilename=clojure-box-1.1RC1-2-setup
16+
OutputBaseFilename=clojure-box-1.1.0-1-setup
1717
Compression=lzma
1818
SolidCompression=yes
1919

@@ -26,13 +26,13 @@ Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescrip
2626

2727
[Files]
2828
; Clojure from the official download zip
29-
Source: "clojure-1.1.0-rc1\*"; Excludes: ".git*,\classes,*.jar"; DestDir: "{app}\clojure"; Flags: ignoreversion recursesubdirs createallsubdirs
29+
Source: "clojure-1.1.0\*"; Excludes: ".git*,\classes,*.jar"; DestDir: "{app}\clojure"; Flags: ignoreversion recursesubdirs createallsubdirs
3030

3131
; contrib from github/richhickey
3232
Source: "clojure-contrib\*"; Excludes: ".git*,*.class,*.jar,\DLR_Main,bin,obj"; DestDir: "{app}\clojure-contrib"; Flags: ignoreversion recursesubdirs createallsubdirs
3333

3434
; jars need to be in a dir for swank-clojure-jar-home
35-
Source: "clojure-1.1.0-rc1\clojure.jar"; DestDir: "{app}\lib"; Flags: ignoreversion
35+
Source: "clojure-1.1.0\clojure.jar"; DestDir: "{app}\lib"; Flags: ignoreversion
3636
Source: "clojure-contrib\clojure-contrib.jar"; DestDir: "{app}\lib"; Flags: ignoreversion
3737

3838
; Emacs from emacsw32 install

default.el

+24-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,34 @@
3030
(add-to-list 'load-path (concat clojure-home "clojure-mode/"))
3131
(require 'clojure-mode)
3232

33+
;; swank-clojure-project expects every dependency to live under the
34+
;; project. Clojure Box users may not be up to speed with Leiningen
35+
;; so we append whatever the initial classpath was onto what
36+
;; swank-clojure-project thinks the classpath should be. Project
37+
;; jars and dirs come first, then initial swank-clojure-classpath
38+
;; stuff, so the project can always override the Clojure version or
39+
;; swank or anything else.
40+
(defvar clojure-box-initial-classpath nil)
41+
(defadvice swank-clojure-project (before init-clojure-box-classpath)
42+
(setq clojure-box-initial-classpath swank-clojure-classpath))
43+
(add-hook 'swank-clojure-project-hook
44+
(lambda ()
45+
(setq swank-clojure-classpath
46+
(append swank-clojure-classpath
47+
clojure-box-initial-classpath))))
48+
3349
(add-to-list 'load-path (concat clojure-home "swank-clojure/"))
3450
(setq swank-clojure-jar-home (concat clojure-home "lib"))
3551
(require 'swank-clojure)
3652

37-
;; The user may setq this in ~/.emacs. By now it's either defined there
38-
;; or in the require call above, so it's safe to add.
53+
;; Classpath hackery. The user may setq this in ~/.emacs for
54+
;; personal jars and dirs. If not, swank-clojure sets up the
55+
;; defaults. Here we make sure the defaults are added to the end if
56+
;; the user set the variable, in case they didn't add everything we
57+
;; need.
58+
(dolist (item (swank-clojure-default-classpath))
59+
(add-to-list 'swank-clojure-classpath item 'append))
60+
;; And of course we need our swank sources in there.
3961
(add-to-list 'swank-clojure-classpath
4062
(concat clojure-home "swank-clojure/src"))
4163

post-install.txt

+10-3
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,23 @@ The first thing you'll see when you launch Clojure Box is the read-eval-print
22
loop (REPL). Start typing Clojure expressions and you're on your way!
33

44
If you're new to Emacs, check out the built in tutorial by typing C-h t
5-
(Control+h and then t). Here are some of the most useful commands to get you
6-
started:
5+
(Control+h and then t). Emacs has all kinds of commands. You can run any
6+
command by typing M-x (Alt-x) and typing the name. Here are some of the most
7+
useful commands to get you started:
78

89
Open a file (find-file is the Emacs function): C-x C-f
910
Save a file (save-buffer): C-x C-s
1011
Switch to another open buffer (iswitchb): C-x b
1112
Close Emacs (kill-emacs): C-x C-c
12-
Execute any Emacs function by name: M-x (Alt+x)
1313
Restart the REPL with src, classes, and lib/*.jar on the classpath: M-x
1414
swank-clojure-project
15+
Keyboard help: C-h k
1516

1617
In the REPL you can use M-p and M-n to cycle up and down across previous
1718
expressions.
19+
20+
Once you start typing code in .clj files instead of the REPL, you'll want to
21+
evaluate code in the REPL from the files' buffers. Have a look at the Slime
22+
menu or check the keyboard help for C-x C-e, C-M-x, and C-c C-l. You can
23+
quickly switch to the REPL buffer with C-c C-z. Be sure to check out M-. to
24+
jump to the source definition of the symbol under the cursor!

0 commit comments

Comments
 (0)