OCaml Forge
SCM

Detail: [#1345] Internal open breaks C-M-x and friends

Bugs: Browse | Download .csv | Monitor

[#1345] Internal open breaks C-M-x and friends

Date:
2013-11-12 22:10
Priority:
3
State:
Closed
Submitted by:
Phil Hagelberg (technomancy)
Assigned to:
Christophe Troestler (chris)
Hardware:
None
Resolution:
Fixed
Severity:
normal
Version:
None
Component:
Tuareg
Operating System:
None
Product:
Tuareg
 
URL:
Summary:
Internal open breaks C-M-x and friends

Detailed description
Functions with internal open (let open Module in...) confuse tuareg's notion of a top-level definition.

http://p.hagelb.org/internal-open-bad-phrase.html

The culprit appears to be `tuareg-find-phrase-beginning-regexp`, which counts any `open` as indicating a new top-level definition. I started to work on a fix, but I discovered Emacs's regex engine doesn't support negative lookbehind, so I'm not sure what the best fix would be.

Followup

Message
Date: 2014-01-02 12:19
Sender: Christophe Troestler

Works with the current version of Tuareg (63d89f7).

Attached Files:

Changes:

Field Old Value Date By
status_idOpen2014-01-02 12:19chris
close_dateNone2014-01-02 12:19chris
ResolutionAccepted As Bug2014-01-02 12:19chris
ProductNone2014-01-02 12:19chris
assigned_tonone2013-11-12 22:20chris
ResolutionNone2013-11-12 22:20chris
SeverityNone2013-11-12 22:20chris
ComponentNone2013-11-12 22:20chris