diff options
Diffstat (limited to '')
-rw-r--r-- | 2020/info/22.md | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/2020/info/22.md b/2020/info/22.md index 38d7f6e7..85e366d1 100644 --- a/2020/info/22.md +++ b/2020/info/22.md @@ -147,7 +147,7 @@ love to have it. [[!template text="I hope you're all enjoying the EmacsConf." start="00:00:07.359" video="mainVideo" id=subtitle]] [[!template text="My name is Musa Al-hassy, and I hope you're" start="00:00:11.519" video="mainVideo" id=subtitle]] [[!template text="excited to learn about powering up special blocks." start="00:00:15.040" video="mainVideo" id=subtitle]] -[[!template text="Let's first off find out what these special blocks are," start="00:00:19.840" video="mainVideo" id=subtitle]] +[[!template new="1" text="Let's first off find out what these special blocks are," start="00:00:19.840" video="mainVideo" id=subtitle]] [[!template text="and see what we can go from." start="00:00:25.574" video="mainVideo" id=subtitle]] [[!template text="Yesterday, I saw a lot of cool talks" start="00:00:27.920" video="mainVideo" id=subtitle]] [[!template text="and people were chatting about" start="00:00:30.240" video="mainVideo" id=subtitle]] @@ -162,7 +162,7 @@ love to have it. [[!template text="You can just see things here." start="00:00:58.960" video="mainVideo" id=subtitle]] [[!template text="I was worried that I'd have to take pictures" start="00:01:00.879" video="mainVideo" id=subtitle]] [[!template text="and then insert pings, so that was a delight." start="00:01:03.452" video="mainVideo" id=subtitle]] -[[!template text="Okay. Special blocks are these things like a center small quote." start="00:01:09.760" video="mainVideo" id=subtitle]] +[[!template new="1" text="Okay. Special blocks are these things like a center small quote." start="00:01:09.760" video="mainVideo" id=subtitle]] [[!template text="That's what a special block is," start="00:01:15.704" video="mainVideo" id=subtitle]] [[!template text="and with a bit of Lisp, we can make" start="00:01:17.280" video="mainVideo" id=subtitle]] [[!template text="special blocks and link types." start="00:01:19.733" video="mainVideo" id=subtitle]] @@ -176,7 +176,7 @@ love to have it. [[!template text="You write in Org markup and you can have HTML," start="00:01:41.200" video="mainVideo" id=subtitle]] [[!template text="you can have PDF, and joyously, org-reveal." start="00:01:45.213" video="mainVideo" id=subtitle]] [[!template text="That was an unexpected delight." start="00:01:49.767" video="mainVideo" id=subtitle]] -[[!template text="Here are a few that you'll just see" start="00:01:53.600" video="mainVideo" id=subtitle]] +[[!template new="1" text="Here are a few that you'll just see" start="00:01:53.600" video="mainVideo" id=subtitle]] [[!template text="in this presentation." start="00:01:57.840" video="mainVideo" id=subtitle]] [[!template text="I won't show some of these link-only ones," start="00:02:01.759" video="mainVideo" id=subtitle]] [[!template text="but we'll see a few of these other ones" start="00:02:05.040" video="mainVideo" id=subtitle]] @@ -187,7 +187,7 @@ love to have it. [[!template text="No HTML was written." start="00:02:15.120" video="mainVideo" id=subtitle]] [[!template text="Look, Ma! No HTML, just pure Org Mode," start="00:02:18.400" video="mainVideo" id=subtitle]] [[!template text="and you get all these beautiful boxes and things." start="00:02:21.280" video="mainVideo" id=subtitle]] -[[!template text="The motivation for this is..." start="00:02:25.840" video="mainVideo" id=subtitle]] +[[!template new="1" text="The motivation for this is..." start="00:02:25.840" video="mainVideo" id=subtitle]] [[!template text="you're online, you run into a blog," start="00:02:29.120" video="mainVideo" id=subtitle]] [[!template text="and you see something you like," start="00:02:31.200" video="mainVideo" id=subtitle]] [[!template text="and you're like, man," start="00:02:32.120" video="mainVideo" id=subtitle]] @@ -207,7 +207,7 @@ love to have it. [[!template text="and learn cascading style sheets," start="00:03:10.159" video="mainVideo" id=subtitle]] [[!template text="and sit in a corner and cry," start="00:03:14.239" video="mainVideo" id=subtitle]] [[!template text="and decide to do other things with your life." start="00:03:15.767" video="mainVideo" id=subtitle]] -[[!template text="We want to give you Org users numerous styles" start="00:03:18.080" video="mainVideo" id=subtitle]] +[[!template new="1" text="We want to give you Org users numerous styles" start="00:03:18.080" video="mainVideo" id=subtitle]] [[!template text="and an extensible mechanism to add more of these" start="00:03:22.640" video="mainVideo" id=subtitle]] [[!template text="aesthetically pleasing styles," start="00:03:27.200" video="mainVideo" id=subtitle]] [[!template text="to have really nice things" start="00:03:28.799" video="mainVideo" id=subtitle]] @@ -218,7 +218,7 @@ love to have it. [[!template text="people might be encouraged to try making new ones," start="00:03:41.680" video="mainVideo" id=subtitle]] [[!template text="especially when the interface is not so difficult," start="00:03:45.519" video="mainVideo" id=subtitle]] [[!template text="that's the aim." start="00:03:49.040" video="mainVideo" id=subtitle]] -[[!template text="So let's have a real story to motivate this even more." start="00:03:54.159" video="mainVideo" id=subtitle]] +[[!template new="1" text="So let's have a real story to motivate this even more." start="00:03:54.159" video="mainVideo" id=subtitle]] [[!template text="Here's three friends. I hope I don't butcher their names," start="00:03:59.120" video="mainVideo" id=subtitle]] [[!template text="but these friends are called" start="00:04:03.533" video="mainVideo" id=subtitle]] [[!template text="Amin, Sacha, and Corwin. They're organizing a conference," start="00:04:04.640" video="mainVideo" id=subtitle]] @@ -250,7 +250,7 @@ love to have it. [[!template text="You'd have to have multiple arguments:" start="00:05:21.919" video="mainVideo" id=subtitle]] [[!template text="the first argument, and then" start="00:05:24.000" video="mainVideo" id=subtitle]] [[!template text="the replacement argument. It's a bit clunky." start="00:05:25.360" video="mainVideo" id=subtitle]] -[[!template text="But with our setup, you just write some text," start="00:05:28.800" video="mainVideo" id=subtitle]] +[[!template new="1" text="But with our setup, you just write some text," start="00:05:28.800" video="mainVideo" id=subtitle]] [[!template text="write #+replace_with" start="00:05:32.080" video="mainVideo" id=subtitle]] [[!template text="and then write more text, and you're good to go." start="00:05:34.367" video="mainVideo" id=subtitle]] [[!template text="Normal Org markup." start="00:05:36.240" video="mainVideo" id=subtitle]] @@ -259,7 +259,7 @@ love to have it. [[!template text="or they're arguing about" start="00:05:43.833" video="mainVideo" id=subtitle]] [[!template text="whether we talk about frames or windows," start="00:05:45.919" video="mainVideo" id=subtitle]] [[!template text="so maybe they want to have some translations." start="00:05:48.000" video="mainVideo" id=subtitle]] -[[!template text="So there are different kinds of feedback." start="00:05:50.560" video="mainVideo" id=subtitle]] +[[!template new="1" text="So there are different kinds of feedback." start="00:05:50.560" video="mainVideo" id=subtitle]] [[!template text="Let's take an example." start="00:05:53.433" video="mainVideo" id=subtitle]] [[!template text="Look at what they are." start="00:05:55.360" video="mainVideo" id=subtitle]] [[!template text="For example, Sacha might write" start="00:05:59.360" video="mainVideo" id=subtitle]] @@ -298,7 +298,7 @@ love to have it. [[!template text="So they agree. "Hey, let's have a uniform Org interface that exports" start="00:07:45.167" video="mainVideo" id=subtitle]] [[!template text="to both HTML and PDF." start="00:07:50.000" video="mainVideo" id=subtitle]] [[!template text="Make both of us happy."" start="00:07:52.567" video="mainVideo" id=subtitle]] -[[!template text="Okay. So they decide to use Org special blocks." start="00:07:54.080" video="mainVideo" id=subtitle]] +[[!template new="1" text="Okay. So they decide to use Org special blocks." start="00:07:54.080" video="mainVideo" id=subtitle]] [[!template text="Right. To set this up," start="00:07:58.160" video="mainVideo" id=subtitle]] [[!template text="they need to read a little bit of Lisp," start="00:08:01.300" video="mainVideo" id=subtitle]] [[!template text="hooks, advice, macros to get all of this set up," start="00:08:04.400" video="mainVideo" id=subtitle]] @@ -313,7 +313,7 @@ love to have it. [[!template text="to reduce the overkill," start="00:08:36.900" video="mainVideo" id=subtitle]] [[!template text="so they can try to avoid duplication" start="00:08:38.867" video="mainVideo" id=subtitle]] [[!template text="by factoring things out into self-contained functions." start="00:08:41.367" video="mainVideo" id=subtitle]] -[[!template text="But now, to set up our links," start="00:08:46.800" video="mainVideo" id=subtitle]] +[[!template new="1" text="But now, to set up our links," start="00:08:46.800" video="mainVideo" id=subtitle]] [[!template text="we'll have to learn a new interface, org setup link." start="00:08:50.320" video="mainVideo" id=subtitle]] [[!template text="Learn a little bit about fonts, follow links, export handlers..." start="00:08:55.467" video="mainVideo" id=subtitle]] [[!template text="It's so much. That's so much. But then," start="00:09:02.160" video="mainVideo" id=subtitle]] @@ -329,7 +329,7 @@ love to have it. [[!template text="Here's all that glorious," start="00:09:25.279" video="mainVideo" id=subtitle]] [[!template text="glorious documentation with examples." start="00:09:26.959" video="mainVideo" id=subtitle]] [[!template text="Sorry. I like that." start="00:09:28.800" video="mainVideo" id=subtitle]] -[[!template text="They might make an ad-hoc mechanism" start="00:09:30.300" video="mainVideo" id=subtitle]] +[[!template new="1" text="They might make an ad-hoc mechanism" start="00:09:30.300" video="mainVideo" id=subtitle]] [[!template text="to simulate arguments for special blocks," start="00:09:32.467" video="mainVideo" id=subtitle]] [[!template text="so something maybe called extract-arguments," start="00:09:35.400" video="mainVideo" id=subtitle]] [[!template text="and then, of course, to make new link types," start="00:09:38.500" video="mainVideo" id=subtitle]] @@ -343,7 +343,7 @@ love to have it. [[!template text="Maybe I'll just rush things quickly," start="00:10:05.839" video="mainVideo" id=subtitle]] [[!template text="or do it ad-hoc..." start="00:10:07.767" video="mainVideo" id=subtitle]] [[!template text="We have things to do." start="00:10:10.320" video="mainVideo" id=subtitle]] -[[!template text="But maybe the squad wants to have a modular and unified interface" start="00:10:13.680" video="mainVideo" id=subtitle]] +[[!template new="1" text="But maybe the squad wants to have a modular and unified interface" start="00:10:13.680" video="mainVideo" id=subtitle]] [[!template text="so everyone's comfortable with defun to define a function" start="00:10:19.367" video="mainVideo" id=subtitle]] [[!template text="and they say, "It would be nice if we could just define simultaneously" start="00:10:23.700" video="mainVideo" id=subtitle]] [[!template text="both a block and the link type."" start="00:10:29.440" video="mainVideo" id=subtitle]] @@ -365,7 +365,7 @@ love to have it. [[!template text="It's not that difficult, I hope." start="00:11:28.959" video="mainVideo" id=subtitle]] [[!template text="Just six lines, and that's including a documentation string," start="00:11:31.233" video="mainVideo" id=subtitle]] [[!template text="newlines and things." start="00:11:35.300" video="mainVideo" id=subtitle]] -[[!template text="So in line 1, we define the block just like you define a function." start="00:11:37.633" video="mainVideo" id=subtitle]] +[[!template new="1" text="So in line 1, we define the block just like you define a function." start="00:11:37.633" video="mainVideo" id=subtitle]] [[!template text="We define a block." start="00:11:43.300" video="mainVideo" id=subtitle]] [[!template text="The block name is going to be called "feedback."" start="00:11:44.880" video="mainVideo" id=subtitle]] [[!template text="It has an author, "who."" start="00:11:47.433" video="mainVideo" id=subtitle]] @@ -414,7 +414,7 @@ love to have it. [[!template text="defblock also gives you something called raw-contents," start="00:14:02.433" video="mainVideo" id=subtitle]] [[!template text="if you really want to touch" start="00:14:06.933" video="mainVideo" id=subtitle]] [[!template text="the raw contents with all of the Org markups still there." start="00:14:08.633" video="mainVideo" id=subtitle]] -[[!template text="Let's see how everyone can communicate amongst themselves" start="00:14:12.639" video="mainVideo" id=subtitle]] +[[!template new="1" text="Let's see how everyone can communicate amongst themselves" start="00:14:12.639" video="mainVideo" id=subtitle]] [[!template text="using this new interface." start="00:14:19.440" video="mainVideo" id=subtitle]] [[!template text="So, Sacha speculates and she... How does" start="00:14:22.480" video="mainVideo" id=subtitle]] [[!template text="she speculate for her Org HTML?" start="00:14:26.000" video="mainVideo" id=subtitle]] @@ -437,7 +437,7 @@ love to have it. [[!template text="and can have varying outputs." start="00:15:29.360" video="mainVideo" id=subtitle]] [[!template text="I think it looks quite nice," start="00:15:32.800" video="mainVideo" id=subtitle]] [[!template text="and I hope you do too." start="00:15:34.480" video="mainVideo" id=subtitle]] -[[!template text="There's a few more." start="00:15:36.639" video="mainVideo" id=subtitle]] +[[!template new="1" text="There's a few more." start="00:15:36.639" video="mainVideo" id=subtitle]] [[!template text="Maybe, as you saw in some previous ones," start="00:15:38.800" video="mainVideo" id=subtitle]] [[!template text="we had text side beside side," start="00:15:41.800" video="mainVideo" id=subtitle]] [[!template text="or we folded some regions away." start="00:15:43.920" video="mainVideo" id=subtitle]] @@ -456,7 +456,7 @@ love to have it. [[!template text="I hope you've enjoyed this little" start="00:16:31.759" video="mainVideo" id=subtitle]] [[!template text="happy fun time with the Emacs and friends." start="00:16:34.880" video="mainVideo" id=subtitle]] [[!template text="I'll happily answer questions right now." start="00:16:38.160" video="mainVideo" id=subtitle]] -[[!template text="Someone says: "Why did you put optional arguments" start="00:16:45.360" video="mainVideo" id=subtitle]] +[[!template new="1" text="Someone says: "Why did you put optional arguments" start="00:16:45.360" video="mainVideo" id=subtitle]] [[!template text="in a separate list" start="00:16:49.467" video="mainVideo" id=subtitle]] [[!template text="rather than using cl-style argument lists?"" start="00:16:50.480" video="mainVideo" id=subtitle]] [[!template text="So that's a very good question," start="00:16:54.560" video="mainVideo" id=subtitle]] @@ -489,7 +489,7 @@ love to have it. [[!template text="for both special blocks and Org link types," start="00:18:39.100" video="mainVideo" id=subtitle]] [[!template text="and we thought this way was quite nice." start="00:18:41.733" video="mainVideo" id=subtitle]] [[!template text="That was the main reason." start="00:18:46.240" video="mainVideo" id=subtitle]] -[[!template text="Someone asks--" start="00:18:47.500" video="mainVideo" id=subtitle]] +[[!template new="1" text="Someone asks--" start="00:18:47.500" video="mainVideo" id=subtitle]] [[!template text="if you have follow-ups, please ask--" start="00:18:52.480" video="mainVideo" id=subtitle]] [[!template text="Someone asks, "Do you intend to try to" start="00:18:55.039" video="mainVideo" id=subtitle]] [[!template text="upstream this amazing work into Org?"" start="00:18:57.600" video="mainVideo" id=subtitle]] @@ -502,7 +502,7 @@ love to have it. [[!template text="source blocks are awesome." start="00:19:17.120" video="mainVideo" id=subtitle]] [[!template text="Now maybe we can have arguments in special blocks," start="00:19:20.240" video="mainVideo" id=subtitle]] [[!template text="and motivate and encourage more people to learn Lisp." start="00:19:22.467" video="mainVideo" id=subtitle]] -[[!template text="So another person asks," start="00:19:28.799" video="mainVideo" id=subtitle]] +[[!template new="1" text="So another person asks," start="00:19:28.799" video="mainVideo" id=subtitle]] [[!template text=""What is used to produce colorful" start="00:19:32.559" video="mainVideo" id=subtitle]] [[!template text="boxes around the cursor?"" start="00:19:35.280" video="mainVideo" id=subtitle]] [[!template text="I'm not quite sure if you're asking..." start="00:19:38.559" video="mainVideo" id=subtitle]] @@ -516,7 +516,7 @@ love to have it. [[!template text="and we can try some things out." start="00:20:04.467" video="mainVideo" id=subtitle]] [[!template text="Happy to do that." start="00:20:06.320" video="mainVideo" id=subtitle]] [[!template text="You're welcome." start="00:20:09.440" video="mainVideo" id=subtitle]] -[[!template text="Someone asks a side question about org-reveal: "How do you get" start="00:20:10.133" video="mainVideo" id=subtitle]] +[[!template new="1" text="Someone asks a side question about org-reveal: "How do you get" start="00:20:10.133" video="mainVideo" id=subtitle]] [[!template text="bespoke or multiple-column layouts" start="00:20:15.520" video="mainVideo" id=subtitle]] [[!template text="without using HTML?"" start="00:20:17.440" video="mainVideo" id=subtitle]] [[!template text="Excellent question. That's what we do." start="00:20:19.120" video="mainVideo" id=subtitle]] @@ -538,7 +538,7 @@ love to have it. [[!template text="So these were just instances of using" start="00:21:18.400" video="mainVideo" id=subtitle]] [[!template text="the parallel block, and it makes things parallel." start="00:21:22.640" video="mainVideo" id=subtitle]] [[!template text="So that's quite nice." start="00:21:26.480" video="mainVideo" id=subtitle]] -[[!template text="Another person asks," start="00:21:27.633" video="mainVideo" id=subtitle]] +[[!template new="1" text="Another person asks," start="00:21:27.633" video="mainVideo" id=subtitle]] [[!template text=""How does this relate to pandoc," start="00:21:33.360" video="mainVideo" id=subtitle]] [[!template text="which is used for converting between markup formats?"" start="00:21:37.840" video="mainVideo" id=subtitle]] [[!template text="So all we're doing is we're saying," start="00:21:40.960" video="mainVideo" id=subtitle]] @@ -578,7 +578,7 @@ love to have it. [[!template text="In this article, there's a few where" start="00:23:43.039" video="mainVideo" id=subtitle]] [[!template text="we change your text upon export." start="00:23:45.039" video="mainVideo" id=subtitle]] [[!template text="We translate it, we do other things to it." start="00:23:47.167" video="mainVideo" id=subtitle]] -[[!template text="So someone says, "If you export to LaTeX, to PDF," start="00:23:51.760" video="mainVideo" id=subtitle]] +[[!template new="1" text="So someone says, "If you export to LaTeX, to PDF," start="00:23:51.760" video="mainVideo" id=subtitle]] [[!template text="does that work well with Beamer as well" start="00:23:56.500" video="mainVideo" id=subtitle]] [[!template text="to create slides with columns?"" start="00:23:58.640" video="mainVideo" id=subtitle]] [[!template text="I made a bunch of these changes" start="00:24:05.200" video="mainVideo" id=subtitle]] @@ -601,7 +601,7 @@ love to have it. [[!template text="to learn a little bit about Lisp, if you're not comfortable," start="00:24:58.633" video="mainVideo" id=subtitle]] [[!template text="or to ask some questions." start="00:25:01.000" video="mainVideo" id=subtitle]] [[!template text="Lots of helpful people." start="00:25:03.267" video="mainVideo" id=subtitle]] -[[!template text="So there's another question that says," start="00:25:06.400" video="mainVideo" id=subtitle]] +[[!template new="1" text="So there's another question that says," start="00:25:06.400" video="mainVideo" id=subtitle]] [[!template text=""Does typing in a block mess up with syntax highlighting?" start="00:25:09.440" video="mainVideo" id=subtitle]] [[!template text="Usually, you use a single color inside an" start="00:25:13.120" video="mainVideo" id=subtitle]] [[!template text="example block, for example." start="00:25:15.679" video="mainVideo" id=subtitle]] @@ -641,12 +641,12 @@ love to have it. [[!template text="But I would appreciate any help or guidance" start="00:27:21.133" video="mainVideo" id=subtitle]] [[!template text="on how to maintain the fontification." start="00:27:23.200" video="mainVideo" id=subtitle]] [[!template text="I really would like to keep those colors in." start="00:27:26.240" video="mainVideo" id=subtitle]] -[[!template text="Amin: Musa, we have time for maybe one more question," start="00:27:29.200" video="mainVideo" id=subtitle]] +[[!template new="1" text="Amin: Musa, we have time for maybe one more question," start="00:27:29.200" video="mainVideo" id=subtitle]] [[!template text="one or two more questions," start="00:27:32.640" video="mainVideo" id=subtitle]] [[!template text="and then we have to move on to the next talk." start="00:27:34.500" video="mainVideo" id=subtitle]] [[!template text="You're more than welcome to" start="00:27:37.039" video="mainVideo" id=subtitle]] [[!template text="continue taking the questions via IRC or the pad." start="00:27:39.120" video="mainVideo" id=subtitle]] -[[!template text="Musa: Okay. Thank you." start="00:27:42.559" video="mainVideo" id=subtitle]] +[[!template new="1" text="Musa: Okay. Thank you." start="00:27:42.559" video="mainVideo" id=subtitle]] [[!template text="The final question we'll take is," start="00:27:45.760" video="mainVideo" id=subtitle]] [[!template text=""Should packages implement" start="00:27:48.880" video="mainVideo" id=subtitle]] [[!template text="interface to one specific format," start="00:27:52.320" video="mainVideo" id=subtitle]] @@ -666,7 +666,7 @@ love to have it. [[!template text="but it surprisingly does look good." start="00:28:34.960" video="mainVideo" id=subtitle]] [[!template text="That was nice." start="00:28:38.559" video="mainVideo" id=subtitle]] [[!template text="That was a terrible magenta, but that is life." start="00:28:40.067" video="mainVideo" id=subtitle]] -[[!template text="Anyhow, I hope you all enjoyed this talk." start="00:28:44.320" video="mainVideo" id=subtitle]] +[[!template new="1" text="Anyhow, I hope you all enjoyed this talk." start="00:28:44.320" video="mainVideo" id=subtitle]] [[!template text="I hope you will find defblock useful to you." start="00:28:47.100" video="mainVideo" id=subtitle]] [[!template text="It is available on MELPA." start="00:28:51.033" video="mainVideo" id=subtitle]] [[!template text="In a rush to make it available for EmacsConf 2020," start="00:28:52.799" video="mainVideo" id=subtitle]] |