https://github.com/tpapp/ess-julia-extensions
https://github.com/tpapp/ess-julia-extensions
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tpapp/ess-julia-extensions
- Owner: tpapp
- License: gpl-2.0
- Created: 2015-02-25T14:11:13.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-03T10:56:41.000Z (about 11 years ago)
- Last Synced: 2025-02-28T16:20:10.396Z (over 1 year ago)
- Language: Emacs Lisp
- Size: 180 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
This is an experiment to improve the integration of [[https://github.com/emacs-ess/ESS][ESS]] and [[https://github.com/JuliaLang/julia/][Julia]], especially the interaction with the Julia REPL.
For now, the code is kept separate from ESS, and can be installed along with the latest version of ESS. I hope that once ESS is updated to depend on [[https://github.com/emacs-ess/ESS/pull/122][julia-mode]], this repository will be integrated into ESS; then it will be deleted.
* Where it improves on ESS
Evaluating code from the source buffer into the REPL will
1. keep track of files and line numbers, leading to more meaningful error messages,
2. if the code is within a module, it will be evaluated in that module, allowing incremental development of modules, similarly to [[http://junolab.org/][Juno]].
* Usage
Load the Emacs Lisp code, eg
#+BEGIN_SRC emacs-lisp
(load "path-to/ESS-julia-extensions/ess-julia-extensions.el")
#+END_SRC
with the path, of course, depending on where you cloned this repo.
It will take over the =C-RET=, =C-c C-r=, and =C-c C-c= keybindings in Julia buffers.
All the code is experimental: improvements, suggestions and pull requests are welcome.
* Acknowledgments
Vitalie Spinu, Wilfred Hughes, and Mike Innes kindly helped me out with questions about ESS and Julia.