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
Resolution:
Accepted As Bug
Severity:
critical
Version:
None
Component:
Tuareg
Operating System:
Linux
Product:
Tuareg
 
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: 2014-01-15 18:32
Sender: Stefan Monnier

I installed a patch which should fix this.
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:

Field Old Value Date By
ResolutionNone2014-01-02 12:50chris
ComponentNone2014-01-02 12:50chris
ProductNone2014-01-02 12:50chris