Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
Adding Emacs as submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakan Raberg committed Sep 15, 2012
1 parent c754d50 commit 1273294
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 12 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
/.lein-failures
/checkouts
/.lein-deps-sum
/emacs*
\#*
*~
TAGS
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -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
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
13 changes: 4 additions & 9 deletions configure-emacs
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
1 change: 1 addition & 0 deletions emacs
Submodule emacs added at efd2cb
1 change: 1 addition & 0 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 1273294

Please sign in to comment.