Главная
Study mode:
on
1
Introduction
2
Overlays and what they can do
3
Simple overlay example - creating an overlay
4
Adding properties
5
Deleting an overlay
6
Setting fonts the right way
7
More properties
8
Visibility
9
Adding text
10
Custom properties
11
Notes on properties
12
Improving C++ compiler output
13
The problem with C++ error messages
14
Many standard class templates have default arguments
15
Some types are aliases for longer things, too
16
Reporting type information accurately means long lines
17
Emacs can help - Treat C++ type names as just another kind of balanced expression
18
Add overlays to improve readability
19
Create a minor mode that runs during compilation
20
Parsing types as balanced expressions
21
Indent and fill with overlays - Use ancient "pretty printing" algorithms"
22
Overlays can mimic line breaks and indentation
23
Hiding details - Marking depths with overlays
24
Hiding to a target depth
25
Demo
26
Conclusion
Description:
Explore how to enhance C++ compiler diagnostics using Emacs overlays in this 21-minute conference talk from EmacsConf 2023. Learn about overlay creation, properties, and manipulation techniques before diving into practical applications for improving C++ error message readability. Discover how to treat C++ type names as balanced expressions, create a minor mode for compilation, and implement indentation and hiding strategies using overlays. Gain insights into parsing complex types, applying pretty printing algorithms, and customizing overlay depth for optimal diagnostics display. Conclude with a demonstration showcasing the power of overlays in simplifying C++ compiler output within Emacs.

Improving Compiler Diagnostics with Overlays in Emacs - EmacsConf 2023

EmacsConf and Emacs hangouts
Add to list