OCaml Forge
SCM

Detail: [#1167] sending tuareg mode into a loop

Bugs: Browse | Download .csv | Monitor

[#1167] sending tuareg mode into a loop

Date:
2012-06-06 02:56
Priority:
3
State:
Open
Submitted by:
Ralf Treinen (treinen)
Assigned to:
Nobody (None)
Hardware:
None
Product:
None
Operating System:
Linux
Component:
None
Version:
None
Severity:
critical
Resolution:
None
 
URL:
Summary:
sending tuareg mode into a loop

Detailed description
This is tuareg-mode 2.0.6, with SMIE indentation switched on, GNU emacs 23.4.1

Open a buffer with extension .ml and type the following two lines:

let f = function
[] -> 0

Then, at the beginning of the third line, hit the '|' key or a <TAB> key. This sends tuareg-mode into
a loop. If the second line starts with an '|' then everything is fine.

-Ralf

Followup

Message
Date: 2013-02-01 13:14
Sender: Alan Schmitt

I'm seeing the same issue with the following (emacs 23.3.1):

let x = 2;;
let

as soon as the "space" is typed after the last let, emacs crashes.

not using SMIE solves this.

Attached Files:

Changes:

No Changes Have Been Made to This Item