Opened 15 years ago

Last modified 12 years ago

#273 accepted enhancement

next-error functions: document and streamline

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

Description

Parsing prover error messages allows more generality in error handling (e.g. dealing with multiple errors, errors in different files).

This has been implemented for Isabelle but not yet documented.

Next error regexps could be combined and some additional output fontification added (to make error regions active). Can we implement this usefully for Coq?

Change History (5)

comment:1 Changed 15 years ago by David Aspinall

Coq has some custom highlighting for next-error behaviour (I found it had an annoying delay; any user feedback on the feature?). Also, Emacs has its own built-in next-error support which is somewhat generic and could be reused. We should combine all this cleanly.

comment:2 Changed 15 years ago by David Aspinall

Milestone: PG-Emacs-4.0PG-Emacs-4.1
Status: newaccepted

comment:3 Changed 13 years ago by David Aspinall

Milestone: PG-Emacs-4.1PG-Emacs-4.2

comment:4 Changed 12 years ago by David Aspinall

Milestone: PG-Emacs-4.2PG-Emacs-4.3

comment:5 Changed 12 years ago by courtieu

One point on this. Error messages of coq are not compliant with next-error syntax. I thought it was simpler to implement a small ad-hos solution.

In future versions of coq there will be a much cleaner xml protocol (equivalent to a very simple version of pgip) and it may be the occasion to switch to a non ad-hoc solution.

Note: See TracTickets for help on using tickets.