summaryrefslogtreecommitdiffstats
path: root/2023/info/overlay-after.md
diff options
context:
space:
mode:
Diffstat (limited to '2023/info/overlay-after.md')
-rw-r--r--2023/info/overlay-after.md52
1 files changed, 26 insertions, 26 deletions
diff --git a/2023/info/overlay-after.md b/2023/info/overlay-after.md
index 77329547..4967091a 100644
--- a/2023/info/overlay-after.md
+++ b/2023/info/overlay-after.md
@@ -5,7 +5,7 @@
# Transcript
-Introduction
+[[!template text="""Introduction""" video="00:00:00.000" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Hi, I'm Jeff Trull, and today I'm going to talk to you""" start="00:00:00.000" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""about improving C++ compiler diagnostics""" start="00:00:04.898" video="mainVideo-overlay" id="subtitle"]]
@@ -19,7 +19,7 @@ Introduction
[[!template text="""and build a new minor mode""" start="00:00:26.751" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""using overlays and other Emacs features.""" start="00:00:28.448" video="mainVideo-overlay" id="subtitle"]]
-Overlays and what they can do
+[[!template text="""Overlays and what they can do""" video="00:00:33.560" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""First of all, overlays.""" start="00:00:33.560" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""What are they?""" start="00:00:35.520" video="mainVideo-overlay" id="subtitle"]]
@@ -54,7 +54,7 @@ Overlays and what they can do
[[!template text="""it's still there, because it's hidden by an overlay.""" start="00:01:55.205" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""And that's kind of the essence of what overlays are.""" start="00:01:58.220" video="mainVideo-overlay" id="subtitle"]]
-Simple overlay example - creating an overlay
+[[!template text="""Simple overlay example - creating an overlay""" video="00:02:02.500" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Let's do a simple overlay example.""" start="00:02:02.500" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""We have some text on the right here,""" start="00:02:04.780" video="mainVideo-overlay" id="subtitle"]]
@@ -67,7 +67,7 @@ Simple overlay example - creating an overlay
[[!template text="""You can see we've created an overlay""" start="00:02:29.540" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""from position 74 to 224.""" start="00:02:33.277" video="mainVideo-overlay" id="subtitle"]]
-Adding properties
+[[!template text="""Adding properties""" video="00:02:35.700" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Now we can take that overlay that we already created""" start="00:02:35.700" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""and add a property, in this case a `face` property,""" start="00:02:38.064" video="mainVideo-overlay" id="subtitle"]]
@@ -82,7 +82,7 @@ Adding properties
[[!template text="""Now you can see that the poem looks quite a bit different.""" start="00:03:01.140" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""It looks more like what we'd see in a book.""" start="00:03:03.700" video="mainVideo-overlay" id="subtitle"]]
-Deleting an overlay
+[[!template text="""Deleting an overlay""" video="00:03:10.940" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""We can also delete overlays.""" start="00:03:10.940" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""So I've named this one.""" start="00:03:13.100" video="mainVideo-overlay" id="subtitle"]]
@@ -92,7 +92,7 @@ Deleting an overlay
[[!template text="""And there it is.""" start="00:03:22.660" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""It's back to normal.""" start="00:03:23.660" video="mainVideo-overlay" id="subtitle"]]
-Setting fonts the right way
+[[!template text="""Setting fonts the right way""" video="00:03:24.660" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Now, if you're interested in changing all of the verses""" start="00:03:24.660" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""inside an Org Mode file to a different face""" start="00:03:28.474" video="mainVideo-overlay" id="subtitle"]]
@@ -107,14 +107,14 @@ Setting fonts the right way
[[!template text="""Let's give it a try.""" start="00:03:56.100" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""It worked!""" start="00:03:58.340" video="mainVideo-overlay" id="subtitle"]]
-More properties
+[[!template text="""More properties""" video="00:03:59.540" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""There are more advanced things that you can do""" start="00:03:59.540" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""other than just changing fonts.""" start="00:04:01.806" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""There's a whole long list of them in the manual,""" start="00:04:03.300" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""but let's talk about the ones we're going to use today.""" start="00:04:05.544" video="mainVideo-overlay" id="subtitle"]]
-Visibility
+[[!template text="""Visibility""" video="00:04:12.580" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""You can make text invisible, just like `org-present` did.""" start="00:04:12.580" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""The simplest way is to set the `invisible` property to true,""" start="00:04:17.380" video="mainVideo-overlay" id="subtitle"]]
@@ -132,7 +132,7 @@ Visibility
[[!template text="""I suggest reading the manual""" start="00:04:44.220" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""if you'd like to know more about that.""" start="00:04:46.627" video="mainVideo-overlay" id="subtitle"]]
-Adding text
+[[!template text="""Adding text""" video="00:04:49.780" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Another thing we can do with properties""" start="00:04:49.780" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""is to add text either before or after an overlay.""" start="00:04:52.118" video="mainVideo-overlay" id="subtitle"]]
@@ -149,7 +149,7 @@ Adding text
[[!template text="""There it is.""" start="00:05:19.580" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""So that's how you can replace words using overlays.""" start="00:05:22.020" video="mainVideo-overlay" id="subtitle"]]
-Custom properties
+[[!template text="""Custom properties""" video="00:05:27.820" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""You can also have custom properties""" start="00:05:27.820" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""that you name and then use yourself.""" start="00:05:29.761" video="mainVideo-overlay" id="subtitle"]]
@@ -158,7 +158,7 @@ Custom properties
[[!template text="""to regions in the buffer for your own tracking""" start="00:05:38.009" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""in a minor mode or something like that, which we will use.""" start="00:05:41.180" video="mainVideo-overlay" id="subtitle"]]
-Notes on properties
+[[!template text="""Notes on properties""" video="00:05:45.380" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Finally, two notes on properties.""" start="00:05:45.380" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""We've been talking about overlay properties,""" start="00:05:49.620" video="mainVideo-overlay" id="subtitle"]]
@@ -179,7 +179,7 @@ Notes on properties
[[!template text="""if you're going to make heavy use of them.""" start="00:06:28.893" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""I prefer overlays because they're just easier to use.""" start="00:06:31.060" video="mainVideo-overlay" id="subtitle"]]
-Improving C++ compiler output
+[[!template text="""Improving C++ compiler output""" video="00:06:36.100" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""C++ compiler output.""" start="00:06:36.100" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""So my day job is C++ programmer,""" start="00:06:37.540" video="mainVideo-overlay" id="subtitle"]]
@@ -216,14 +216,14 @@ Improving C++ compiler output
[[!template text="""Okay.""" start="00:08:11.000" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""Back to our presentation.""" start="00:08:12.000" video="mainVideo-overlay" id="subtitle"]]
-The problem with C++ error messages
+[[!template text="""The problem with C++ error messages""" video="00:08:17.680" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""So it's often this way in C++""" start="00:08:17.680" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""because we compose types from other types.""" start="00:08:20.064" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""They can be long to begin with,""" start="00:08:23.400" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""but then a couple of other factors come into play.""" start="00:08:26.217" video="mainVideo-overlay" id="subtitle"]]
-Many standard class templates have defalut arguments
+[[!template text="""Many standard class templates have defalut arguments""" video="00:08:30.240" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""First of all, we can have default template arguments.""" start="00:08:30.240" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""These are arguments you didn't write,""" start="00:08:33.280" video="mainVideo-overlay" id="subtitle"]]
@@ -233,7 +233,7 @@ Many standard class templates have defalut arguments
[[!template text="""which causes them to get a bit bigger,""" start="00:08:40.301" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""such as these allocator arguments here and here.""" start="00:08:42.441" video="mainVideo-overlay" id="subtitle"]]
-Some types are aliases for longer things, too
+[[!template text="""Some types are aliases for longer things, too""" video="00:08:47.520" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Then there are type aliases.""" start="00:08:47.520" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""For example, `std::string` here expands to""" start="00:08:49.360" video="mainVideo-overlay" id="subtitle"]]
@@ -245,7 +245,7 @@ Some types are aliases for longer things, too
[[!template text="""Let's run the comparison.""" start="00:09:14.258" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""Yeah.""" start="00:09:18.360" video="mainVideo-overlay" id="subtitle"]]
-Reporting type information accurately means long lines
+[[!template text="""Reporting type information accurately means long lines""" video="00:09:20.960" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""So in summary, to properly understand an error""" start="00:09:20.960" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""when you're a C++ programmer""" start="00:09:24.925" video="mainVideo-overlay" id="subtitle"]]
@@ -272,7 +272,7 @@ Reporting type information accurately means long lines
[[!template text="""But there's a better way.""" start="00:10:13.240" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""Now, anyway.""" start="00:10:15.240" video="mainVideo-overlay" id="subtitle"]]
-Emacs can help - Treat C++ type names as just another kind of balanced expression
+[[!template text="""Emacs can help - Treat C++ type names as just another kind of balanced expression""" video="00:10:18.240" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""So what can Emacs do to help us with this problem?""" start="00:10:18.240" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""First of all, if you think about a type name,""" start="00:10:23.960" video="mainVideo-overlay" id="subtitle"]]
@@ -305,7 +305,7 @@ Emacs can help - Treat C++ type names as just another kind of balanced expressio
[[!template text="""as though they were balanced expressions or S-expressions,""" start="00:11:41.815" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""the same kind that Emacs is really good at handling.""" start="00:11:44.313" video="mainVideo-overlay" id="subtitle"]]
-Add overlays to improve readability
+[[!template text="""Add overlays to improve readability""" video="00:11:49.320" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Secondly, we can use overlays""" start="00:11:49.320" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""to improve the readability of errors.""" start="00:11:51.980" video="mainVideo-overlay" id="subtitle"]]
@@ -318,7 +318,7 @@ Add overlays to improve readability
[[!template text="""We can also use the `invisible` property""" start="00:12:15.160" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""to hide unwanted detail.""" start="00:12:19.642" video="mainVideo-overlay" id="subtitle"]]
-Create a minor mode that runs during compilation
+[[!template text="""Create a minor mode that runs during compilation""" video="00:12:22.400" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Last of all, we can create a minor mode.""" start="00:12:22.400" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""When we're compiling things in Emacs,""" start="00:12:24.960" video="mainVideo-overlay" id="subtitle"]]
@@ -334,7 +334,7 @@ Create a minor mode that runs during compilation
[[!template text="""so that we can see a simplified version""" start="00:12:50.177" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""or a more detailed version of a type, depending on our needs.""" start="00:12:53.907" video="mainVideo-overlay" id="subtitle"]]
-Parsing types as balanced expressions
+[[!template text="""Parsing types as balanced expressions""" video="00:12:59.500" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""First of all, parsing types as balanced expressions.""" start="00:12:59.500" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""We need to be able to quickly locate""" start="00:13:03.980" video="mainVideo-overlay" id="subtitle"]]
@@ -362,7 +362,7 @@ Parsing types as balanced expressions
[[!template text="""can be used now with our angle brackets""" start="00:14:08.708" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""and inside of our types.""" start="00:14:11.486" video="mainVideo-overlay" id="subtitle"]]
-Indent and fill with overlays - Use ancient "pretty printing" algorithms"
+[[!template text="""Indent and fill with overlays - Use ancient "pretty printing" algorithms"""" video="00:14:16.100" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""The next thing we can do is""" start="00:14:16.100" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""perform indent and fill with overlays.""" start="00:14:18.463" video="mainVideo-overlay" id="subtitle"]]
@@ -376,7 +376,7 @@ Indent and fill with overlays - Use ancient "pretty printing" algorithms"
[[!template text="""Back in the day, they had algorithms that could do both.""" start="00:14:43.940" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""Those are what we're going to leverage.""" start="00:14:47.080" video="mainVideo-overlay" id="subtitle"]]
-Overlays can mimic line breaks and indentation
+[[!template text="""Overlays can mimic line breaks and indentation""" video="00:14:52.260" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""We can use the `before-string` property""" start="00:14:52.260" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""to insert a new line in the correct number of spaces""" start="00:14:54.583" video="mainVideo-overlay" id="subtitle"]]
@@ -385,7 +385,7 @@ Overlays can mimic line breaks and indentation
[[!template text="""that will indent 4 upon each open angle bracket.""" start="00:15:03.526" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""Let's give it a try.""" start="00:15:07.280" video="mainVideo-overlay" id="subtitle"]]
-Hiding details - Marking depths with overlays
+[[!template text="""Hiding details - Marking depths with overlays""" video="00:15:14.520" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""The next thing we're going to need to do is hide details.""" start="00:15:14.520" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""So we have nested types, and the user is going to want to""" start="00:15:18.280" video="mainVideo-overlay" id="subtitle"]]
@@ -425,7 +425,7 @@ Hiding details - Marking depths with overlays
[[!template text="""So it's reasonable that there should be two,""" start="00:17:07.660" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""and that's what we expect.""" start="00:17:10.830" video="mainVideo-overlay" id="subtitle"]]
-Hiding to a target depth
+[[!template text="""Hiding to a target depth""" video="00:17:12.660" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Now that we've marked the nested types with their depths,""" start="00:17:12.660" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""let's experiment with hiding details.""" start="00:17:17.354" video="mainVideo-overlay" id="subtitle"]]
@@ -444,7 +444,7 @@ Hiding to a target depth
[[!template text="""Now if we put it back to 3, it should reveal everything.""" start="00:17:54.540" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""So that's what we're going to use in our minor mode.""" start="00:17:59.660" video="mainVideo-overlay" id="subtitle"]]
-Demo
+[[!template text="""Demo""" video="00:18:04.900" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""Let's have a demo.""" start="00:18:04.900" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""We're going to revisit the initial example""" start="00:18:05.900" video="mainVideo-overlay" id="subtitle"]]
@@ -488,7 +488,7 @@ Demo
[[!template text="""Let's go back to our presentation.""" start="00:20:04.540" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""All right.""" start="00:20:08.340" video="mainVideo-overlay" id="subtitle"]]
-Conclusion
+[[!template text="""Conclusion""" video="00:20:10.220" id="subtitle"mainVideo-overlay]]
[[!template new="1" text="""In conclusion, we saw how we could solve""" start="00:20:10.220" video="mainVideo-overlay" id="subtitle"]]
[[!template text="""a real problem for C++ programmers""" start="00:20:12.997" video="mainVideo-overlay" id="subtitle"]]