Commit graph

1396 commits

Author SHA1 Message Date
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
Takafumi Arakaki
91861e8fd2 Add ein:ac-chunk-candidates-from-list 2012-09-11 00:18:17 +02:00
Takafumi Arakaki
2627157e60 Add section headers in ein-ac.el 2012-09-11 00:13:45 +02:00
Takafumi Arakaki
d10565b052 Change default n value in ein:kernel-history-request 2012-09-08 00:04:08 +02:00
Takafumi Arakaki
6075690e27 Merge branch 'notebooklist-new-url-retrieve-workaround'
* Workaround the bug in url-retrieve to make notebook creation
  work for the recent developmental version of IPython.
  See: https://github.com/ipython/ipython/pull/2218

* Some refactoring around messaging:
  ein-notebooklist.el uses `ein:log' instead of `message' now.
2012-09-07 00:18:41 +02:00
Takafumi Arakaki
05f54d62f7 Tweak message in ein:notebooklist-new-notebook-error 2012-09-07 00:15:53 +02:00
Takafumi Arakaki
90f36785d7 Remove unneeded format in ein:notebooklist-new-notebook-error 2012-09-07 00:06:23 +02:00
Takafumi Arakaki
6b95f51d15 More message in ein:notebooklist-new-notebook-error 2012-09-07 00:05:27 +02:00
Takafumi Arakaki
106576409a Use ein:log instead of message in ein-notebooklist.el
%s/(message /(ein:log 'info /g
2012-09-07 00:04:21 +02:00
Takafumi Arakaki
32f93d2b9f Reduce code for messaging for notebook-open 2012-09-07 00:01:27 +02:00
Takafumi Arakaki
5f4ddd3947 Workaround the url-retrieve bug for notebook creation
As of https://github.com/ipython/ipython/pull/2218, IPython server
redirects when creating a new notebook.  However, redirection on
local server does not work in url-retrieve.  See:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12374

This bug in url-retrieve is handled in the newly introduced error
callback.
2012-09-06 23:46:29 +02:00
Takafumi Arakaki
22ea11889c Merge branch 'local-files-url-fix'
* Local images can be displayed via HTML output now.
* Local links in HTML output works now.
2012-09-06 21:16:03 +02:00
Takafumi Arakaki
8a95b1d20b Fix and improve docstring for ein:insert-html--fix-urls 2012-09-06 20:42:07 +02:00
Takafumi Arakaki
9c0c8cbffd Add tests for ein:insert-html--fix-urls 2012-09-06 20:38:00 +02:00
Takafumi Arakaki
e6e5e2a46c Refactoring: add ein:xml-parse-html-string 2012-09-06 20:11:12 +02:00
Takafumi Arakaki
ff2f528406 Fix local URL in a and img tags 2012-09-06 20:07:11 +02:00
Takafumi Arakaki
e755a90eb2 Refactor ein:insert-html-shr 2012-09-06 19:09:02 +02:00
Takafumi Arakaki
74bb441400 Update ein-loaddefs.el 2012-09-06 17:52:05 +02:00
Takafumi Arakaki
8906d46433 Merge branch 'helm-ein-kernel-history'
Helm/anything interface to search kernel history is added.
2012-09-06 00:31:33 +02:00
Takafumi Arakaki
27c2ea5662 Document ein:helm-kernel-history-search-auto-pattern 2012-09-06 00:23:29 +02:00
Takafumi Arakaki
402fbe7f2e Add ein:helm-kernel-history-search-auto-pattern 2012-09-06 00:21:55 +02:00
Takafumi Arakaki
2d94ad654d Do not filter out candidates 2012-09-06 00:17:22 +02:00
Takafumi Arakaki
d620dcd4b0 Naming tweaks in ein-helm.el 2012-09-05 23:34:22 +02:00
Takafumi Arakaki
6e6b859bc1 Update change log 2012-09-05 23:31:10 +02:00
Takafumi Arakaki
c854fa1022 Add config: ein:helm-kernel-history-search-key 2012-09-05 23:27:17 +02:00
Takafumi Arakaki
ec20c63a30 Reduce requires-pattern for kernel history search 2012-09-05 23:08:45 +02:00
Takafumi Arakaki
31220e30ee Update change log 2012-09-05 22:58:27 +02:00
Takafumi Arakaki
53c8a86241 Add autoload cookie 2012-09-05 22:51:21 +02:00
Takafumi Arakaki
af4a5af812 Cosmetic change in ein-helm.el 2012-09-05 22:51:04 +02:00
Takafumi Arakaki
7f6795f85b Add helm/anything-ein-kernel-history 2012-09-05 22:49:41 +02:00
Takafumi Arakaki
851c6c96d2 Add ein:kernel-history-search-synchronously 2012-09-05 22:47:11 +02:00
Takafumi Arakaki
5834822e5d Merge branch 'find-file-callback'
Add functions for opening notebook by file name.
2012-09-05 20:34:27 +02:00
Takafumi Arakaki
75a51b2c70 Fix ein:notebooklist-open-notebook-by-file-name
The NOERROR argument was not used.
2012-09-05 20:33:21 +02:00