Permalink
Browse files

Adding Emacs as submodule

  • Loading branch information...
1 parent c754d50 commit 12732943483b7de6abb59429ca269e6bfa7d7daa @hraberg committed Sep 15, 2012
Showing with 9 additions and 12 deletions.
  1. +0 −1 .gitignore
  2. +3 −0 .gitmodules
  3. +0 −2 README.md
  4. +4 −9 configure-emacs
  5. +1 −0 emacs
  6. +1 −0 project.clj
View
1 .gitignore
@@ -6,7 +6,6 @@
/.lein-failures
/checkouts
/.lein-deps-sum
-/emacs*
\#*
*~
TAGS
View
3 .gitmodules
@@ -1,3 +1,6 @@
[submodule "docs"]
path = docs
url = git@github.com:hraberg/deuce.git
+[submodule "emacs"]
+ path = emacs
+ url = https://github.com/emacsmirror/emacs.git
View
2 README.md
@@ -187,8 +187,6 @@ Clojure placeholders for some of the Emacs primitives live under [`deuce.emacs`]
The actual porting of the C will be done using a tactic of avoidance until a function is needed, auto generation of its signatures second, and hand crafting the actual implementation last.
-[`etrace`](http://ndevilla.free.fr/etrace/) can be linked to Emacs and when compiling with `-finstrument-functions` to get a crazy amount of tracing "insight" into what Emacs is doing. [`strace`](http://sourceforge.net/projects/strace/) is another alternative to see what Emacs is doing system call-wise, like to simply see just what files it opens.
-
### The Editor
View
13 configure-emacs
@@ -1,17 +1,12 @@
#!/bin/bash
-EMACS_VERSION=24.2
-
-test -e emacs || curl -L http://ftp.gnu.org/pub/gnu/emacs/emacs-$EMACS_VERSION.tar.bz2 | tar xj
-
-mv emacs-$EMACS_VERSION emacs 2> /dev/null
+EMACS_TAG=emacs-24.2
+git submodule update --init emacs
cd emacs
+git checkout $EMACS_TAG
-# LLVM is faster than gcc, at least without tweaking options, but broken atm.
-# if [[ -e $(which llvm-gcc) ]] ; then
-# export CC=llvm-gcc
-# fi
+test -e ./configure || ./autogen.sh
./configure -with-x=no --without-xpm --without-jpeg --without-tiff --without-gif --without-png \
--without-toolkit-scroll-bars --without-xim --without-sound --without-makeinfo --without-selinux \
1 emacs
@@ -0,0 +1 @@
+Subproject commit efd2cb93e8db6256047b0cb8f1cc301ed2d0581a
View
1 project.clj
@@ -10,6 +10,7 @@
:plugins [[lein-swank "1.4.4"]
[lein-difftest "2.0.0"]
[lein-marginalia "0.7.1"]]
+ :profiles {:dev {:resource-paths ["emacs/test/automated"]}}
:resource-paths ["emacs/lisp"]
:jar-exclusions [#".*\.elc"]
:java-source-paths ["src"]

0 comments on commit 1273294

Please sign in to comment.