Ihor Radchenko <yanta...@posteo.net> writes:
> As Max proposed, it may be a good idea to extend the concept of org-lint > to export. > > We may unify the LaTeX errors, some errors/warnings potentially signalled > by export backend, and maybe some warnings from org-lint during the > export process. These errors can ideally be displayed just like in > org-lint, with ability to jump to the problematic LoCs in > Org/intermediate file. > > This is a medium task and one will need to: > 1. Generalize org-lint interactive interface (list of errors) to work > with other code. Extract it into a separate library. > 2. Accumulate export issues into a list to be displayed. For example, > broken links can be displayed > 3. Make functions like `org-latex-compile' accumulate LaTeX errors as > well. (Optionally) associate LaTeX buffer lines with Org source. > 4. Display the list of errors/warnings at the end of successful or > failed export. > > Each step if fairly simple, except optional part in 3. > Patches welcome! > Anything which provides additional information to assist the user in identifying issues in their document is a plus in my view.