Commit graph

1428 commits

Author SHA1 Message Date
Takafumi Arakaki
dbe1a92dc2 Do not show_sys_info in interactive mode 2012-09-18 00:36:25 +02:00
Takafumi Arakaki
9658cb38f2 Remove useless top level run function 2012-09-18 00:36:25 +02:00
Takafumi Arakaki
a870e0896b Import subprocess at top level 2012-09-18 00:36:25 +02:00
Takafumi Arakaki
f1746a763f Do not start subprocess while constructing command 2012-09-18 00:36:25 +02:00
Takafumi Arakaki
5438b47281 Fix failing show_sys_info when testing func-test.el 2012-09-18 00:36:25 +02:00
Takafumi Arakaki
254d8f12ad Merge branch 'clean-top'
Move testein.py, emacslisp.py and generated log files into
sub-directories from top directory.
2012-09-18 00:34:13 +02:00
Takafumi Arakaki
db4260e6e2 Better EIN_ROOT 2012-09-14 14:41:22 +02:00
Takafumi Arakaki
fa3f2c0232 Fix travis-ci make target 2012-09-14 14:25:09 +02:00
Takafumi Arakaki
908984d60c Put log files from testein.py under log/ 2012-09-13 18:38:01 +02:00
Takafumi Arakaki
8bf54bd777 Fix testein.py path 2012-09-13 15:56:33 +02:00
Takafumi Arakaki
3607bb868b git mv testein.py tools/ 2012-09-13 15:29:12 +02:00
Takafumi Arakaki
df3fe57dfb Fix link to emacslisp.py in the document 2012-09-13 15:27:09 +02:00
Takafumi Arakaki
fd35ec902f git mv emacslisp.py tools/ 2012-09-13 15:25:01 +02:00
Takafumi Arakaki
0fe4ba4b3d Merge branch 'travis-ci'
Start CI at travis-ci.org
2012-09-13 00:26:32 +02:00
Takafumi Arakaki
7d9d9ae651 Add build-status image in README 2012-09-13 00:22:50 +02:00
Takafumi Arakaki
fe48a421c3 Fix test-ein-node.el for Emacs 24.2
As of Emacs 24.2, ewoc-data is compiler macro and flet cannot be
used to override the definition.  Therefore, dummy object is used
instead of mocking ewoc-data.  See ein:testing-node-dummy-ewco-node
for how the dummy object is made.
2012-09-13 00:04:58 +02:00
Takafumi Arakaki
9321661867 Safer ein:dev-sys-info 2012-09-13 00:03:41 +02:00
Takafumi Arakaki
737391694e Run tests using SVG when SVG is available 2012-09-13 00:03:32 +02:00
Takafumi Arakaki
35b6e64658 Add :image-types-available in ein:dev-sys-info 2012-09-13 00:03:12 +02:00
Takafumi Arakaki
9834632b41 Check python --version in travis-ci make target 2012-09-13 00:03:08 +02:00
Takafumi Arakaki
02d6d8ece6 Handle error properly in show_sys_info 2012-09-13 00:03:05 +02:00
Takafumi Arakaki
77abf26bfd Show system info in testein.py 2012-09-13 00:03:02 +02:00
Takafumi Arakaki
9ebb9582bc Add ein:dev-show-sys-info 2012-09-13 00:03:00 +02:00
Takafumi Arakaki
c3ae427d6d Fix multi-line command in .travis.yml 2012-09-13 00:02:45 +02:00
Takafumi Arakaki
50b061841f Install emacs-snapshot only when needed 2012-09-12 19:14:14 +02:00
Takafumi Arakaki
814139a2a4 Use environment variable to control Emacs version 2012-09-12 19:05:20 +02:00
Takafumi Arakaki
b113b3e7e1 Automatically determine if ERT is needed or not 2012-09-12 18:57:30 +02:00
Takafumi Arakaki
8e92ebbaa3 Cleaner test result 2012-09-12 18:25:39 +02:00
Takafumi Arakaki
981d69b706 Show Emacs version 2012-09-12 18:20:28 +02:00
Takafumi Arakaki
d5d02c8496 Use -qq/-y to skip prompt 2012-09-12 18:16:24 +02:00
Takafumi Arakaki
743f9b7928 Use emacs-snapshot for test in travis-ci 2012-09-12 18:04:38 +02:00
Takafumi Arakaki
b501a07df6 Add .travis.yml 2012-09-12 17:54:19 +02:00
Takafumi Arakaki
1822c683f6 Merge branch 'testein'
Add testein.py to run tests in a separated environment.
2012-09-12 17:38:45 +02:00
Takafumi Arakaki
f59b33d185 Add make target testein-unit-all 2012-09-12 17:31:38 +02:00
Takafumi Arakaki
3c7bedfe07 Fix failing unit test for Emacs 23
Comparison using equal result in:
  Variable binding depth exceeds max-specpdl-size
2012-09-12 17:29:05 +02:00
Takafumi Arakaki
541f377a13 Add make target to compile ERT
Otherwise, testein-default (using Emacs 23.3.1) fails with error
"Lisp nesting exceeds `max-lisp-eval-depth'".
2012-09-12 17:13:33 +02:00
Takafumi Arakaki
1e5a3ad489 Do not test ein:insert-html when SHR is not available 2012-09-12 17:01:53 +02:00
Takafumi Arakaki
2344691f67 group-n is not defined in Emacs 23 2012-09-12 16:44:51 +02:00
Takafumi Arakaki
0d37ab279d Change ERT revision to the last working version 2012-09-12 16:37:16 +02:00
Takafumi Arakaki
da74f92d47 Modify ein:dev-require-all to make test run-able 2012-09-12 16:35:31 +02:00
Takafumi Arakaki
2a919070b1 Adapt testein.py from zeroein 2012-09-12 16:35:04 +02:00
Takafumi Arakaki
eb4497656f Add external libraries as git submodules 2012-09-12 16:17:48 +02:00
Takafumi Arakaki
18dec8a1cb Cleanup FIXMEs 2012-09-11 01:47:50 +02:00
Takafumi Arakaki
47b01c1f55 Add a link to tips from python-mode.el gotchas 2012-09-11 01:31:03 +02:00
Takafumi Arakaki
13068f39ed Mention that dev version of MuMaMo is required
fixes #56
2012-09-11 01:29:39 +02:00
Takafumi Arakaki
24d860da6f Merge branch 'ac-chunk'
* Use an official way to complete dotty words, instead of the
  syntax table hack.

* Fixed:
  ein:ac-setup is not called in ein:notebook-org-src-mode

* Fixed:
  Potential bug in ein:connect-buffer-to-notebook:
  Current buffer was not set when accessing buffer local variable.
2012-09-11 01:01:54 +02:00
Takafumi Arakaki
920ffa5cd3 Tweak ein:ac-chunk-regex to complete "~/PATH/..." 2012-09-11 00:57:53 +02:00
Takafumi Arakaki
4c94006516 Set buffer properly in ein:connect-buffer-to-notebook
Current buffer must be set when accessing ein:%connect% and
ac-sources.
2012-09-11 00:49:40 +02:00
Takafumi Arakaki
5d4f2c3e89 Add ein:ac-setup to ein:notebook-mode-hook
This way, I don't need to add hooks for each specific notebook mode.
Previously ein:notebook-org-src-mode-hook has no ein:ac-setup.
This change fix this problem.
2012-09-11 00:46:28 +02:00
Takafumi Arakaki
197fa4d7d1 Use "official" way to complete dotty chunk 2012-09-11 00:29:10 +02:00