Comments (8)
Do you use the latest version (available through opam)? I cannot reproduce your problem:
# let y = [| 1; 2 |] ;;
val y : int array = [|1; 2|]
from tuareg.
I was using tuareg from melpa. I tried switching to the version from opam and I'm seeing the same thing. I can reproduce this with an emacs with no configuration (except for the loading of tuareg-site-file
).
I'm trying to debug it and the problem is with smie-forward-sexp
that stops too early. It returns (t 19 "]")
but I'm not sure to understand what it means.
I am using emacs 24.5.1.
from tuareg.
Ah, I misunderstood your report. You are trying to evaluate let y = [| 1; 2 |]
with C-x C-e
and the expression is not well detected.
from tuareg.
Yes, exactly.
from tuareg.
I cannot reproduce this with the latest code from the Git repository. I fixed a related issue some weeks (months?) ago, so maybe that was it. Can someone still reproduce the problem with the latest code?
from tuareg.
He means having
let y = [| 1; 2 |]
in a buffer and trying to send it to the toplevel with C-x C-e
.
from tuareg.
I just checked and it is fixed — likely by commit a551d07
from tuareg.
I confirm here as well. Thanks!
from tuareg.
Related Issues (20)
- Un-git `tuareg-site-file.el` HOT 4
- Unbind `C-c ?` and `C-c C-h` (maybe) HOT 22
- Can't run Ocaml REPL HOT 3
- Find alternate file doesn't seem to care about tuareg-other-file-alist HOT 1
- Possible bug : missing file tuareg-compat HOT 3
- 3.0 version not tagged HOT 8
- Package cl is deprecated HOT 2
- Tuareg depends on emacs-nox HOT 3
- Triggers warning for using obsolete aliases on Emacs HOT 5
- Target newer Emacs version HOT 8
- outline mode
- Document the differences between tuareg and caml-mode HOT 5
- Completion in the *OCaml* buffer HOT 3
- tuareg.3.0.0 fails to load in emacs on macOS when installed using opam HOT 1
- How does one jump to definition? HOT 3
- Add configuration option(s?) to make highlighting behave closer to what it was like in 2.2 . HOT 2
- Use tree-sitter HOT 1
- tuareg-current-fun-name returns inaccurate results, breaking which-function-mode
- create a custom variable for process-connection-type HOT 4
- Adding parentheses changes indentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuareg.