HOL icon indicating copy to clipboard operation
HOL copied to clipboard

Emacs hangs when using mark tactic twice or inside a term

Open Luceat opened this issue 7 years ago • 2 comments

Hi,

Using mark tactic (M-h t) twice in a row hangs emacs, recoverable by (C-g g).

Using mark tactic inside a term, such as when the cursor is on h in Cases on 'h' similarily hangs emacs.

Luceat avatar May 19 '17 13:05 Luceat

I played around with this a bit. I can confirm this behavior, but only at the end of a file. If the tactic is followed by "THEN", ">>", "val" and probably some other keywords as well, it seems to work fine.

thtuerk avatar May 19 '17 13:05 thtuerk

For me, this happens also in declarations such as:

val MY_THM = prove( 'goal', (* Buggy behaviour here *) );

Luceat avatar May 19 '17 13:05 Luceat