Opened 11 years ago

Closed 11 years ago

#473 closed defect (fixed)

Indentation screwed up by "/." (not by "/ .") in, e.g., [Arguments foo /.]

Reported by: coquser Owned by: David Aspinall
Priority: minor Milestone: PG-Emacs-4.3
Component: 2:pg-emacs Keywords:
Cc:

Description

The following two blocks of code have been indented by highlighting the lines and pressing TAB:

Incorrect indentation:

Section foo.
  Arguments id /.
            Definition foo := Type.
  Definition bar := Type.
End foo.

Correct indentation:

Section foo.
  Arguments id / .
  Definition foo := Type.
  Definition bar := Type.
End foo.

Change History (1)

comment:1 Changed 11 years ago by courtieu

Resolution: fixed
Status: newclosed

Fixed. Thanks for the bug report.

I decided to consider all tokens ending with dot as command ends (except if exactly ".."). User declared notation ending with dot would screw pg synchro anyway.

Note: See TracTickets for help on using tickets.