From 728446a0f04ccc9ade73d8bacac5c0e44573f96e Mon Sep 17 00:00:00 2001 From: Sacha Chua Date: Sun, 29 Nov 2026 17:33:34 -0500 Subject: publish bible and prefix --- ...woedged-sword-in-emacs--kristjon-ciko--main.vtt | 991 +++++++++++++++++++++ ...6-prefix--prefixtabgroups--marco-wahl--main.vtt | 904 +++++++++++++++++++ 2 files changed, 1895 insertions(+) create mode 100644 2026/captions/emacsconf-2026-bible--biblegateway-a-twoedged-sword-in-emacs--kristjon-ciko--main.vtt create mode 100644 2026/captions/emacsconf-2026-prefix--prefixtabgroups--marco-wahl--main.vtt (limited to '2026/captions') diff --git a/2026/captions/emacsconf-2026-bible--biblegateway-a-twoedged-sword-in-emacs--kristjon-ciko--main.vtt b/2026/captions/emacsconf-2026-bible--biblegateway-a-twoedged-sword-in-emacs--kristjon-ciko--main.vtt new file mode 100644 index 00000000..699d8d13 --- /dev/null +++ b/2026/captions/emacsconf-2026-bible--biblegateway-a-twoedged-sword-in-emacs--kristjon-ciko--main.vtt @@ -0,0 +1,991 @@ +WEBVTT + +NOTE Introduction + +00:00:01.350 --> 00:00:04.412 +Hello everyone and welcome to my talk! + +00:00:06.174 --> 00:00:10.037 +I'm Kristjon and today I'd like to introduce + +00:00:10.697 --> 00:00:14.900 +`bible-gateway`, an Emacs package that fetches + +00:00:15.141 --> 00:00:19.824 +Bible verses, passages, chapters, and even search + +00:00:19.864 --> 00:00:24.027 +results from the Bible Gateway website directly + +00:00:24.127 --> 00:00:24.748 +into Emacs, + +00:00:26.132 --> 00:00:29.314 +making it a convenient tool for reading and + +00:00:29.394 --> 00:00:31.675 +studying the Bible in your editor. + +NOTE What is the Bible Gateway? + +00:00:34.837 --> 00:00:37.979 +The Bible Gateway website is a searchable online + +00:00:37.999 --> 00:00:38.540 +Bible tool. + +00:00:39.440 --> 00:00:43.023 +It hosts more than 200 versions of the Bible in + +00:00:43.103 --> 00:00:46.325 +over 70 languages that you can freely read, + +00:00:47.245 --> 00:00:50.147 +research, and reference anywhere. + +NOTE History + +00:00:52.963 --> 00:00:55.265 +A few words about the history of this package. + +00:00:56.326 --> 00:01:00.048 +Everything started with Daily Bible Verse, a + +00:01:00.088 --> 00:01:02.930 +Chrome extension that I once installed to show + +00:01:02.950 --> 00:01:04.411 +the verse of the day + +00:01:04.412 --> 00:01:06.293 +upon opening a new browser tab. + +00:01:09.255 --> 00:01:12.297 +And looking at the extension's code, I found that + +00:01:12.377 --> 00:01:15.540 +it simply retrieves the Bible verse of the day by + +00:01:15.600 --> 00:01:19.783 +calling a Bible Gateway JSON API endpoint. + +00:01:22.165 --> 00:01:24.386 +That was enough to get the verse of the day into + +00:01:24.486 --> 00:01:26.867 +Emacs given its built-in support + +00:01:26.868 --> 00:01:29.289 +for JSON and URL requests. + +00:01:30.810 --> 00:01:32.111 +So the package grew from there. + +00:01:33.152 --> 00:01:37.394 +It was first called VOTD for verse of the day. + +NOTE Installing bible-gateway + +00:01:40.736 --> 00:01:43.638 +Here is a simple Emacs Lisp snippet that installs + +00:01:43.698 --> 00:01:46.600 +`bible-gateway` assuming you've added MELPA to + +00:01:46.620 --> 00:01:49.300 +your package archives and installed the + +00:01:49.301 --> 00:01:50.122 +`dashboard` package. + +00:01:51.955 --> 00:01:56.397 +In this demo, we use the `dashboard` package, but it + +00:01:56.437 --> 00:01:58.978 +can work with any similar package that can be + +00:01:58.998 --> 00:02:01.679 +configured to output a string in the dashboard. + +00:02:04.160 --> 00:02:06.841 +The `bible-gateway-get-verse` fetches the verse of + +00:02:06.861 --> 00:02:09.680 +the day either via JSON API + +00:02:09.681 --> 00:02:11.163 +or by scraping the website. + +00:02:12.704 --> 00:02:15.265 +The content is parsed into a string that can be + +00:02:15.405 --> 00:02:17.925 +used as a scratch buffer message + +00:02:17.926 --> 00:02:20.647 +and as an Emacs dashboard footer. + +00:02:22.105 --> 00:02:24.126 +Let's switch to these buffers + +00:02:24.127 --> 00:02:25.027 +and see how it looks. + +00:02:32.473 --> 00:02:34.714 +So, here we have the verse of the day used as an + +00:02:34.794 --> 00:02:38.277 +Emacs dashboard footer, and the same content can + +00:02:38.317 --> 00:02:40.959 +be used as a message in the scratch buffer. + +00:02:43.621 --> 00:02:46.403 +The verse is cached locally, so Emacs doesn't + +00:02:46.423 --> 00:02:48.705 +make a request every time it starts, + +00:02:50.079 --> 00:02:52.240 +although many Emacs users tend to not restart + +00:02:52.300 --> 00:02:53.181 +Emacs very often. + +00:02:54.602 --> 00:02:57.263 +If the request fails, for example when you're + +00:02:57.303 --> 00:03:01.745 +offline or the website cannot be reached, + +00:03:01.746 --> 00:03:04.366 +it falls back to a default verse, + +00:03:04.367 --> 00:03:05.488 +which can be customized. + +NOTE State of the art + +00:03:14.322 --> 00:03:17.163 +As I mentioned earlier, the package started with + +00:03:17.304 --> 00:03:20.065 +only the verse of the day, but following the + +00:03:20.145 --> 00:03:22.766 +Emacs philosophy of doing everything inside + +00:03:22.826 --> 00:03:27.128 +Emacs, I decided to add more features, such as + +00:03:27.209 --> 00:03:30.530 +reading the Bible in Emacs or inserting a passage + +00:03:30.890 --> 00:03:31.311 +at point. + +00:03:32.991 --> 00:03:35.393 +There are already several packages for reading + +00:03:35.413 --> 00:03:41.855 +the Bible, such as esv.el, dtk, bible-mode, + +00:03:41.856 --> 00:03:44.097 +sword-to-org, and so on. + +00:03:45.507 --> 00:03:49.389 +Their setup typically involves either signing up + +00:03:49.429 --> 00:03:53.751 +for an API key, or being limited to a single + +00:03:53.791 --> 00:03:58.233 +version or language, installing an extra program + +00:03:58.613 --> 00:04:03.535 +such as diatheke, or downloading SWORD modules. + +NOTE bible-gateway: design choices + +00:04:06.736 --> 00:04:10.478 +The `bible-gateway` takes a different approach. + +00:04:12.783 --> 00:04:14.283 +No setup required. + +00:04:14.763 --> 00:04:18.483 +No external program, no Bible modules, no API key. + +00:04:20.565 --> 00:04:23.105 +Of course, this simplicity comes at a cost. + +00:04:24.006 --> 00:04:26.246 +The package depends on the Bible Gateway website, + +00:04:27.546 --> 00:04:30.227 +and for now, it has no offline support. + +00:04:32.628 --> 00:04:36.869 +It retrieves Bible text over HTTP using Emacs' + +00:04:36.929 --> 00:04:38.749 +built-in URL library. + +00:04:40.678 --> 00:04:43.639 +Then it parses the returned web pages to extract + +00:04:43.719 --> 00:04:44.299 +the passage. + +00:04:46.880 --> 00:04:50.421 +It stores almost nothing locally except a small + +00:04:50.461 --> 00:04:55.502 +cache for the verse of the day or a short preview + +00:04:56.363 --> 00:05:03.065 +for the verses that we are memorizing. + +00:05:03.125 --> 00:05:04.125 +For now it supports + +00:05:05.945 --> 00:05:10.667 +14 public domain Bible versions in several + +00:05:10.687 --> 00:05:11.167 +languages. + +00:05:12.348 --> 00:05:16.750 +English, French, Spanish, Albanian, Ukrainian, + +00:05:17.510 --> 00:05:21.792 +Russian, German, Norwegian, Bulgarian, Swedish, + +00:05:22.732 --> 00:05:27.394 +Danish, Finnish, Hungarian, and Latin. + +00:05:30.615 --> 00:05:31.836 +Everything is fetched live. + +00:05:33.207 --> 00:05:35.849 +And the languages can be switched on the fly. + +00:05:38.150 --> 00:05:42.673 +It also comes with a transient menu to access the + +00:05:42.693 --> 00:05:43.353 +main features. + +NOTE Insert a Bible passage at point + +00:05:47.176 --> 00:05:49.637 +Let us spend the rest of the talk demonstrating + +00:05:49.697 --> 00:05:51.898 +the main features of `bible-gateway`. + +00:05:54.120 --> 00:05:57.882 +The first feature I'd like to show is inserting + +00:05:57.962 --> 00:05:59.183 +a Bible passage at point. + +00:06:00.771 --> 00:06:03.652 +To insert a passage at point in the current + +00:06:03.672 --> 00:06:08.013 +buffer, we can either use a transient menu or + +00:06:08.113 --> 00:06:10.354 +invoke the `bible-gateway-get-passage` function. + +00:06:11.695 --> 00:06:14.676 +In the minibuffer, we can request a Bible verse, + +00:06:15.496 --> 00:06:19.977 +a verse range, a chapter, or several chapters in + +00:06:20.057 --> 00:06:21.398 +any of the supported languages. + +00:06:23.232 --> 00:06:25.853 +It also provides autocompletion for the Bible + +00:06:25.893 --> 00:06:30.956 +book names in all these supported languages with + +00:06:31.036 --> 00:06:34.157 +hints about the available chapters. + +00:06:36.698 --> 00:06:41.821 +Let us switch to the demo tab, and let's say we + +00:06:41.861 --> 00:06:47.743 +are preparing a document for devotion and would + +00:06:47.763 --> 00:06:49.944 +like to insert a passage at point + +00:06:49.945 --> 00:06:50.745 +in the current buffer. + +00:06:53.748 --> 00:06:56.209 +As I mentioned earlier, we can either do it using + +00:06:56.269 --> 00:06:59.850 +the transient menu or invoke the function for the + +00:06:59.870 --> 00:07:00.730 +respective feature. + +00:07:04.451 --> 00:07:07.911 +The `bible-gateway` command opens + +00:07:07.912 --> 00:07:09.612 +the transient menu where we can see + +00:07:09.613 --> 00:07:13.173 +the selected version + +00:07:13.174 --> 00:07:17.055 +and suffixes for all the supported features. + +00:07:18.835 --> 00:07:21.436 +Here we hit `i` to insert a passage at point + +00:07:24.198 --> 00:07:25.518 +And in the minibuffer, + +00:07:25.519 --> 00:07:27.019 +we can specify the Bible book. + +00:07:28.840 --> 00:07:31.821 +Let's say we want to add a verse from the Gospel + +00:07:31.861 --> 00:07:38.163 +according to John, chapter 3, verse 16. + +00:07:40.104 --> 00:07:45.005 +We see here the verse added at point. + +00:07:45.946 --> 00:07:50.067 +We can also request a verse range in the same way. + +00:07:52.442 --> 00:07:56.683 +John chapter 3 verses 16 to 17. + +00:08:00.704 --> 00:08:04.145 +Or we can also request the whole chapter. + +00:08:07.945 --> 00:08:08.586 +Chapter 3. + +00:08:09.286 --> 00:08:14.307 +The whole chapter is inserted at point in the + +00:08:14.347 --> 00:08:15.287 +selected language. + +NOTE Changing languages or versions + +00:08:17.819 --> 00:08:20.660 +If we'd like to change the language then we can + +00:08:22.120 --> 00:08:25.361 +use the `V` suffix to set the Bible version. + +00:08:27.101 --> 00:08:31.542 +Here is a list of the all supported languages. + +00:08:34.243 --> 00:08:37.923 +Let's say we want to add a verse in Spanish using + +00:08:37.962 --> 00:08:40.144 +the Reina-Valera Antigua version. + +00:08:41.604 --> 00:08:44.385 +Now the version is switched to RVA. + +00:08:46.039 --> 00:08:51.621 +In the same way, we can select a Bible book + +00:08:52.561 --> 00:08:57.322 +and a chapter, as well as a verse. + +00:08:57.862 --> 00:08:59.763 +We see here the verse added in Spanish. + +00:09:01.463 --> 00:09:04.004 +To switch to another language, but also use the + +00:09:04.644 --> 00:09:07.945 +Bible book names in that language, then we need + +00:09:07.985 --> 00:09:12.685 +to set a variable, + +00:09:12.686 --> 00:09:15.387 +set `bible-gateway-use-english-book-names` to `nil`. + +00:09:17.908 --> 00:09:24.330 +That means that the Bible book names will be used + +00:09:24.890 --> 00:09:26.971 +in the same selected language. + +00:09:29.992 --> 00:09:34.733 +And here if we'd like to, let's say, add a verse + +00:09:34.893 --> 00:09:42.974 +in French in the Louis Segond version, + +00:09:42.975 --> 00:09:44.456 +we switch to that and + +00:09:46.143 --> 00:09:47.103 +in the minibuffer now, + +00:09:47.104 --> 00:09:50.527 +we'll see the Bible book names in French. + +00:09:52.468 --> 00:09:58.293 +I want to add from Jean chapter 3 verse 16. + +00:10:01.535 --> 00:10:04.077 +Here is the verse added in French. + +00:10:04.978 --> 00:10:11.723 +In the same way we can switch to other languages. + +00:10:12.844 --> 00:10:13.445 +For example, + +00:10:14.324 --> 00:10:18.387 +a language which uses the Cyrillic alphabet, + +00:10:19.648 --> 00:10:26.472 +Ukrainian, and Genesis 1. + +00:10:31.335 --> 00:10:36.238 +A supported language means that it is in the + +00:10:36.278 --> 00:10:36.979 +public domain. + +00:10:37.699 --> 00:10:40.740 +I have tested it thoroughly before adding it + +00:10:40.741 --> 00:10:41.322 +in this list. + +00:10:42.599 --> 00:10:45.841 +And also the Bible book names are included or + +00:10:45.922 --> 00:10:49.104 +hard-coded in the package in order to provide + +00:10:50.245 --> 00:10:51.005 +autocompletion. + +00:10:51.846 --> 00:10:54.488 +As I mentioned before, more versions are coming + +00:10:54.848 --> 00:10:58.891 +and the next to-do is to add versions in Chinese. + +NOTE Read and listen + +00:11:01.373 --> 00:11:05.636 +If you just want to read the Bible in Emacs and + +00:11:05.696 --> 00:11:09.279 +not insert a passage at point, you can use the + +00:11:09.319 --> 00:11:10.680 +`bible-gateway-read-passage` + +00:11:12.067 --> 00:11:15.249 +which uses the same get passage function + +00:11:15.369 --> 00:11:18.430 +underneath, but it prepares a reading environment + +00:11:19.230 --> 00:11:22.072 +with a dedicated read-only buffer where the + +00:11:22.112 --> 00:11:25.172 +current verse is highlighted and you can use + +00:11:25.173 --> 00:11:29.555 +`n`, `p` or `j`, `k` to move the highlight between verses. + +00:11:31.076 --> 00:11:35.458 +If you'd rather listen [to] the passage or chapter, + +00:11:36.364 --> 00:11:38.665 +you can use `bible-gateway-listen-passage` function. + +00:11:39.586 --> 00:11:42.747 +It currently supports only the Zondervan King + +00:11:42.787 --> 00:11:47.430 +James Audio Bible from the Dramatized project. + +00:11:49.290 --> 00:11:52.672 +You can request a chapter in the minibuffer, + +00:11:53.413 --> 00:11:57.074 +and automatically it will launch a browser tab + +00:11:57.495 --> 00:12:00.156 +where you can listen to this chapter. + +00:12:03.890 --> 00:12:06.931 +Let us see how these two functions work. + +00:12:15.553 --> 00:12:19.312 +Let's say we want to read a Bible passage, + +00:12:19.313 --> 00:12:28.134 +so let's switch to English + +00:12:28.135 --> 00:12:31.376 +and hit `r` to read the passage. + +00:12:32.882 --> 00:12:35.264 +We want to read John chapter 1. + +00:12:37.206 --> 00:12:43.831 +Here we have the reading environment where we can + +00:12:45.932 --> 00:12:50.736 +go to the next verses with `n` or previous. + +00:12:54.559 --> 00:12:59.703 +We have also the current verse highlighted. + +00:13:04.638 --> 00:13:07.539 +When we are at the end, we can also add + +00:13:08.159 --> 00:13:08.840 +another chapter. + +00:13:11.621 --> 00:13:12.161 +Chapter 2. + +00:13:12.541 --> 00:13:17.623 +It will be added below the previous chapter. + +00:13:20.944 --> 00:13:21.384 +And so on. + +00:13:23.205 --> 00:13:23.845 +We can read it. + +NOTE Listening + +00:13:26.986 --> 00:13:29.267 +To demonstrate how listen-passage works, + +00:13:31.205 --> 00:13:36.990 +We can call the transient menu and hit `l` to + +00:13:37.030 --> 00:13:37.890 +listen to a chapter. + +00:13:39.412 --> 00:13:44.596 +Let's say we want to listen to John chapter 1 + +00:13:47.058 --> 00:13:55.745 +and here we have the browser tab where we can + +00:13:56.025 --> 00:13:57.987 +listen to John chapter 1 + +00:13:59.993 --> 00:14:02.180 +in this version. + +00:14:02.181 --> 00:14:14.479 + + +00:14:04.421 --> 00:14:08.741 +"The Gospel according to Saint John, chapter one. + +00:14:08.741 --> 00:14:10.718 +In the beginning was the Word, + +00:14:10.719 --> 00:14:12.441 +and the Word was with God, + +00:14:12.442 --> 00:14:13.781 +and the word was God." + +NOTE Compare translations + +00:14:14.480 --> 00:14:19.133 +Let's get back to Emacs. The next feature I'd + +00:14:19.134 --> 00:14:23.233 +like to show is compare translations. + +00:14:23.234 --> 00:14:27.270 +The `bible-gateway-compare` function allows you to + +00:14:27.870 --> 00:14:30.892 +open two translations side by side in split + +00:14:30.953 --> 00:14:31.293 +windows. + +00:14:32.153 --> 00:14:37.538 +It also opens a small Ediff style control panel so + +00:14:37.578 --> 00:14:43.282 +that you can navigate to the translations at the + +00:14:43.322 --> 00:14:43.763 +same time. + +00:14:45.044 --> 00:14:48.526 +You can start a new comparison or you can quit the + +00:14:48.566 --> 00:14:48.927 +session. + +00:14:51.909 --> 00:14:52.890 +Let's see how this works. + +00:14:55.037 --> 00:14:58.718 +Let's say we want to compare two different + +00:14:58.758 --> 00:14:59.439 +translations. + +00:15:01.219 --> 00:15:07.762 +So we hit `c` and here we select the book Psalm 23. + +00:15:08.602 --> 00:15:19.166 +We want to compare Psalm 23 in English version A + +00:15:19.326 --> 00:15:22.207 +and version B in Norwegian. + +00:15:28.270 --> 00:15:33.831 +Here we have two split windows with Psalm 23 + +00:15:33.832 --> 00:15:34.972 +in the respective languages. + +00:15:36.032 --> 00:15:41.074 +The cursor is automatically at the control panel. + +00:15:41.774 --> 00:15:49.236 +We can hit `n` to go to next verses + +00:15:49.237 --> 00:15:53.698 +or previous, or we can + +00:15:58.607 --> 00:16:01.449 +press `c` for a new translation, for a new + +00:16:01.489 --> 00:16:02.029 +comparison. + +00:16:03.670 --> 00:16:11.234 +Let's say we want to compare Psalm 100 in French + +00:16:13.776 --> 00:16:18.038 +and in Albanian. + +00:16:29.334 --> 00:16:34.916 +To quit this compare session we can press `q` + +00:16:34.917 --> 00:16:38.298 +and this will close the control panel, + +00:16:38.299 --> 00:16:40.099 +along with all the buffers + +00:16:40.100 --> 00:16:43.682 +which are related to that compare session. + +NOTE Search + +00:16:48.024 --> 00:16:50.446 +The next feature is search. + +00:16:51.226 --> 00:16:55.368 +The `bible-gateway-search` function takes a keyword + +00:16:55.769 --> 00:16:58.030 +and searches in a specific Bible version, + +00:16:59.557 --> 00:17:03.638 +in the Bible Gateway website. The results appear + +00:17:03.758 --> 00:17:06.878 +in a dedicated buffer with the keyword highlighted. + +00:17:07.858 --> 00:17:11.319 +The references are clickable, so you can preview + +00:17:11.339 --> 00:17:17.040 +the passage in context. When there are several + +00:17:17.362 --> 00:17:21.522 +multiple results, they are paginated where you can + +00:17:21.663 --> 00:17:26.184 +press `n` and `p` to go to the next page of the + +00:17:26.223 --> 00:17:26.604 +results. + +00:17:31.552 --> 00:17:34.353 +If you want to know how many times a word occurs + +00:17:34.393 --> 00:17:37.574 +in the Bible, `bible-gateway-search` + +00:17:37.575 --> 00:17:38.515 +is the function to use. + +00:17:41.997 --> 00:17:45.678 +From the transient menu of `bible-gateway`, you can + +00:17:45.718 --> 00:17:51.021 +press `s` to search by keyword, enter the keyword, + +00:17:52.742 --> 00:17:59.143 +for example "friend", and you get a list + +00:17:59.144 --> 00:18:00.165 +of all the results + +00:18:01.933 --> 00:18:07.815 +where this keyword is mentioned, a list of all + +00:18:07.835 --> 00:18:08.496 +the references. + +00:18:09.576 --> 00:18:13.678 +You can navigate with `n` and `p` to the references, + +00:18:15.198 --> 00:18:21.821 +and when you click, you get the passage in context. + +00:18:22.821 --> 00:18:28.523 +One verse before and one verse after + +00:18:29.684 --> 00:18:41.259 +the verse where "friend" occurs. + +00:18:41.260 --> 00:18:45.462 +To start another search with more results... + +00:18:50.423 --> 00:18:56.566 +Here we see that "morning" is mentioned 214 times + +00:18:56.686 --> 00:18:57.166 +in the Bible. + +00:18:58.486 --> 00:19:00.127 +Here we have the results from 1 to 100. + +00:19:04.348 --> 00:19:08.773 +The results will be displayed in three pages and + +00:19:08.813 --> 00:19:12.457 +we can navigate through the pages with `N`. + +00:19:16.201 --> 00:19:21.726 +And the final page, which contains + +00:19:21.727 --> 00:19:32.019 +the rest of the results. + +NOTE Daily reading plan + +00:19:32.020 --> 00:19:34.796 +You can use the Bible Gateway package for daily + +00:19:34.856 --> 00:19:35.616 +Bible reading. + +00:19:37.137 --> 00:19:44.819 +This function, `bible-gateway-read-today`, follows a CSV reading plan which + +00:19:44.859 --> 00:19:47.820 +you can generate from this website. + +00:19:53.102 --> 00:19:56.022 +Once you prepare the plan, + +00:19:56.023 --> 00:19:58.804 +you can export it as CSV + +00:20:01.071 --> 00:20:06.736 +and place it in the `bible-gateway` package directory. + +00:20:10.659 --> 00:20:16.284 +Here there is a file to track the progress and + +00:20:16.304 --> 00:20:18.626 +the plan as a CSV file. + +00:20:20.327 --> 00:20:21.848 +This is the format of the plan. + +00:20:22.909 --> 00:20:27.373 +It has one line for the date and + +00:20:29.769 --> 00:20:31.490 +the chapters to read. + +00:20:38.034 --> 00:20:45.138 +You can either read today's reading by pressing + +00:20:46.479 --> 00:20:56.024 +the red cross here in the mode line or using the + +00:20:56.064 --> 00:20:56.845 +transient menu. + +00:20:58.710 --> 00:21:02.173 +The cross in the mode line can be added by + +00:21:02.893 --> 00:21:06.156 +enabling the `bible-gateway-modeline-mode`. + +00:21:08.978 --> 00:21:11.760 +This is the Bible reading plan for today. + +00:21:13.702 --> 00:21:20.907 +You can go to the next verses by pressing `n`. + +00:21:20.908 --> 00:21:27.673 +Once you read the passages for the day, + +00:21:30.593 --> 00:21:36.955 +the cross will turn green and the date will be + +00:21:37.035 --> 00:21:50.339 +added in the progress file. + +NOTE Memorize verses + +00:21:50.340 --> 00:21:53.501 +And finally, the last feature that I'd like to + +00:21:53.541 --> 00:21:55.922 +show: memorize verses. + +00:21:57.902 --> 00:21:59.083 +`bible-gateway-memorise` + +00:22:00.273 --> 00:22:06.179 +enables you to combine memorizing scripture with + +00:22:06.219 --> 00:22:09.282 +a touch typing practice mode + +00:22:09.283 --> 00:22:11.525 +with live color-coded feedback as you type. + +00:22:12.766 --> 00:22:15.769 +It shows your typing speed when you finish + +00:22:15.770 --> 00:22:18.091 +and store the verses you practice + +00:22:18.092 --> 00:22:19.734 +with a short preview. + +00:22:24.280 --> 00:22:28.100 +To practice touch typing while memorizing Bible verses, + +00:22:28.101 --> 00:22:31.882 +you can either use the function or press `m` + +00:22:33.262 --> 00:22:36.603 +from the `bible-gateway` transient menu. + +00:22:38.663 --> 00:22:41.443 +In the minibuffer, you can see a list of the verses + +00:22:41.444 --> 00:22:43.864 +that you're practicing + +00:22:43.865 --> 00:22:46.225 +along with a short preview for each verse. + +00:22:47.986 --> 00:22:49.826 +If you'd like to choose a new verse to practice, + +00:22:51.186 --> 00:22:53.807 +then you can click this. + +00:22:55.904 --> 00:23:00.047 +The first time you practice that verse, + +00:23:00.048 --> 00:23:04.211 +it will be stored in a cache with a short preview. + +00:23:07.394 --> 00:23:11.117 +Let's choose John 3:16 to memorize. + +00:23:12.558 --> 00:23:14.079 +The frame splits into two buffers: + +00:23:15.420 --> 00:23:19.844 +the target verse on top, which is read only, and + +00:23:19.864 --> 00:23:33.959 +the typing area below where the cursor starts. + +00:23:33.960 --> 00:23:38.676 +As we type, each character is colored green if + +00:23:38.736 --> 00:23:42.498 +it's correct or red if it's incorrect. + +00:24:04.838 --> 00:24:08.080 +The session only completes once every character + +00:24:08.440 --> 00:24:09.501 +has been typed correctly. + +00:24:13.904 --> 00:24:17.706 +Once finished, you can see the typing speed in words + +00:24:17.746 --> 00:24:20.648 +per minute and the elapsed time. + +00:24:22.429 --> 00:24:26.832 +We can press `C-c C-r` to retry this verse, + +00:24:27.773 --> 00:24:33.997 +`C-c RET` for a new verse, and `C-c C-c` to quit. + +NOTE Wrapping up + +00:24:39.820 --> 00:24:41.640 +Thank you so much for watching. + +00:24:41.641 --> 00:24:44.069 +If you run into any issues or have ideas for + +00:24:44.149 --> 00:24:46.754 +contributions, please let me know on GitHub. + +00:24:47.837 --> 00:24:48.978 +And if you have any questions, + +00:24:48.979 --> 00:24:51.243 +feel free to ask in the chat + +00:24:51.244 --> 00:24:53.669 +or email me at the address on the screen. + +00:24:54.591 --> 00:24:55.132 +Thanks again. diff --git a/2026/captions/emacsconf-2026-prefix--prefixtabgroups--marco-wahl--main.vtt b/2026/captions/emacsconf-2026-prefix--prefixtabgroups--marco-wahl--main.vtt new file mode 100644 index 00000000..b40cd9c8 --- /dev/null +++ b/2026/captions/emacsconf-2026-prefix--prefixtabgroups--marco-wahl--main.vtt @@ -0,0 +1,904 @@ +WEBVTT + +NOTE Introduction + +00:00:11.563 --> 00:00:18.365 +Hello, this is a talk about prefix tab groups + +00:00:18.506 --> 00:00:22.647 +and the subtitle for this talk is: + +00:00:23.027 --> 00:00:26.669 +A way to write a symex as a block + +00:00:26.769 --> 00:00:30.000 +of prefixed lines. + +00:00:30.149 --> 00:00:35.334 +I'm Marco, gaa in the #emacsconf channel, + +00:00:35.374 --> 00:00:36.375 +if you have any questions. + +00:00:37.316 --> 00:00:41.419 +And there is also a webpage for this project. + +00:00:43.041 --> 00:00:48.665 +It's on https://gitlab.com/marcowahl/prefix-tab-groups. + +00:00:49.927 --> 00:00:52.229 +And the content of this talk is... + +00:00:54.050 --> 00:00:57.472 +Number one, introduction to the prefix tab groups. + +00:00:58.513 --> 00:01:05.897 +Second, use Emacs tools or Emacs with the prefix + +00:01:05.957 --> 00:01:06.598 +tab groups. + +00:01:07.018 --> 00:01:11.300 +And third, Lisp and prefix tab groups. + +00:01:12.221 --> 00:01:13.902 +So let's start. + +NOTE Ignition + +00:01:16.550 --> 00:01:20.432 +I'll talk about the evolution and this is also an + +00:01:20.912 --> 00:01:23.673 +introduction to the prefix tab groups. + +00:01:24.694 --> 00:01:26.374 +So the ignition was like this. + +00:01:27.995 --> 00:01:31.597 +"Grouping with parens is enough." + +00:01:32.477 --> 00:01:41.241 +Somewhere, somewhen in the internet, in a + +00:01:41.281 --> 00:01:43.222 +discussion about text structuring, + +00:01:44.357 --> 00:01:47.218 +And somehow this resonated with me. + +00:01:47.958 --> 00:01:52.820 +So I tried, but using literal parens, opening + +00:01:52.880 --> 00:01:54.461 +and closing parens for grouping? + +00:01:55.121 --> 00:01:55.841 +No. + +00:01:56.821 --> 00:02:00.863 +Not for me, because I want opening and closing + +00:02:00.963 --> 00:02:02.584 +parens in my texts. + +00:02:03.624 --> 00:02:06.025 +And something nicer visually. + +00:02:07.565 --> 00:02:11.307 +And then the idea was to use a prefix for + +00:02:11.627 --> 00:02:12.127 +grouping. + +00:02:14.792 --> 00:02:21.518 +So the beginning was, generation 1, G1, was to + +00:02:21.658 --> 00:02:28.023 +use purely tab, the tab character, as prefix for + +00:02:28.063 --> 00:02:32.567 +grouping and consecutive lines with the same + +00:02:32.607 --> 00:02:34.228 +prefix define a group. + +00:02:35.369 --> 00:02:36.630 +That's the simple idea. + +00:02:38.271 --> 00:02:41.074 +And I want to give an example + +00:02:42.833 --> 00:02:45.196 +how to define groups like that. + +00:02:45.896 --> 00:02:46.717 +A little demo. + +00:02:48.219 --> 00:02:52.483 +And in particular, it shall show how to deal with + +00:02:52.804 --> 00:02:54.145 +sibling groups. + +00:02:55.206 --> 00:03:02.194 +So let's dive into the extra buffer. + +NOTE Demo + +00:03:03.135 --> 00:03:09.318 +So let's say you have elements A and B, or lines + +00:03:09.578 --> 00:03:13.380 +with characters A and B, and you want to make a + +00:03:13.440 --> 00:03:14.620 +group out of it. + +00:03:15.120 --> 00:03:18.342 +Then with generation one, it would be just put a + +00:03:18.782 --> 00:03:24.145 +tab in front of each line and the consecutive + +00:03:24.245 --> 00:03:29.230 +lines here would define the first group. + +00:03:29.951 --> 00:03:35.333 +Then you could leave the next line blank. + +00:03:35.773 --> 00:03:45.536 +And define another group in the fourth line, here with element C. + +00:03:46.648 --> 00:03:50.831 +I can visualize the tabs for clarity. + +00:04:00.000 --> 00:04:03.000 +You see here an underscore for each tab. + +00:04:07.577 --> 00:04:11.419 +To make the tabs visible more easily or visible + +00:04:11.700 --> 00:04:12.060 +at all. + +00:04:12.420 --> 00:04:14.661 +So and here we have the situation we have the + +00:04:14.721 --> 00:04:16.523 +first group here with A and B. + +00:04:17.567 --> 00:04:19.689 +And then the second group, the sibling group with + +00:04:19.769 --> 00:04:20.449 +a C here. + +00:04:21.409 --> 00:04:25.691 +And you could combine these groups into one group + +00:04:26.051 --> 00:04:29.612 +if you would make out of this blank line, a line + +00:04:29.712 --> 00:04:31.733 +with just a tab. + +00:04:32.833 --> 00:04:37.855 +So then these four lines would be one group. + +00:04:38.736 --> 00:04:43.597 +So this means...let's go back to the slide. + +00:04:55.938 --> 00:05:04.201 +Okay, let's go back to the slide and remember + +00:05:04.742 --> 00:05:09.684 +that trailing whitespace matters with this notation. + +00:05:11.585 --> 00:05:18.887 +Alright, let's go on to see the evolution. + +NOTE Progress + +00:05:20.973 --> 00:05:26.437 +We have seen generation 1 tab only use. Is okay + +00:05:26.637 --> 00:05:31.200 +for me, but these extra lines to group siblings + +00:05:31.780 --> 00:05:35.462 +is a but. + +00:05:35.703 --> 00:05:42.407 +Generation 2 emerged and I used an extra character, + +00:05:43.805 --> 00:05:46.366 +concretely, shift-in (ASCII 15) + +00:05:47.486 --> 00:05:52.587 +--visualized like this in Emacs normally-- + +00:05:52.667 --> 00:05:55.348 +as group opener. + +00:05:55.668 --> 00:06:00.309 +And further, I changed the appearance of this + +00:06:00.749 --> 00:06:03.390 +shift-in character to dot-tab in Emacs. + +00:06:04.230 --> 00:06:06.070 +And the result was quite nice. + +00:06:06.230 --> 00:06:11.632 +No more need of these extra blank lines to + +00:06:11.692 --> 00:06:13.072 +separate siblings. + +00:06:14.673 --> 00:06:20.036 +But the shift-in character remained alien + +00:06:20.037 --> 00:06:20.758 +all the time. + +00:06:21.238 --> 00:06:25.461 +For example, if you want to email a file with + +00:06:25.701 --> 00:06:30.525 +these characters in it, this might irritate the + +00:06:30.565 --> 00:06:31.126 +receiver. + +NOTE Generation 3 + +00:06:31.846 --> 00:06:37.851 +So generation 3 came up and it was just a little + +00:06:37.891 --> 00:06:38.251 +step. + +00:06:38.551 --> 00:06:42.775 +It was the idea to literally use the dot-tab as + +00:06:43.075 --> 00:06:44.356 +opener directly. + +00:06:45.236 --> 00:06:47.578 +And this is quite okay. + +00:06:47.879 --> 00:06:49.920 +This is what I use now. + +00:06:50.220 --> 00:06:54.504 +And it also opens the door to group categories. + +00:06:55.365 --> 00:07:00.834 +So you can not just use the dot character in the + +00:07:00.914 --> 00:07:03.318 +opener, but you can use any character. + +00:07:04.300 --> 00:07:07.365 +And we will see examples later. + +NOTE Intermediate consolidation + +00:07:09.951 --> 00:07:12.793 +All right, this has been the main part of the + +00:07:12.853 --> 00:07:15.956 +talk and let's consolidate, intermediate + +00:07:15.996 --> 00:07:16.977 +consolidation. + +00:07:17.057 --> 00:07:20.820 +You know prefix tab groups now and the format is + +00:07:20.980 --> 00:07:22.061 +independent of Emacs. + +00:07:22.081 --> 00:07:23.822 +You could use any editor. + +00:07:24.643 --> 00:07:27.545 +I use generation 3 and occasionally still + +00:07:27.666 --> 00:07:32.550 +generation 1 for writing notes, a journal, and + +00:07:32.610 --> 00:07:35.172 +also to code, for example, in my init. + +00:07:36.533 --> 00:07:40.516 +file init.el, pel, we will see later. + +00:07:40.676 --> 00:07:43.758 +This is then ptg-elisp. + +00:07:44.039 --> 00:07:46.801 +And I have also, for example, a mini task system. + +00:07:46.881 --> 00:07:50.604 +I use the openers backslash and x, backslash for + +00:07:50.724 --> 00:07:55.568 +an open task and x for a closed task. + +00:07:56.248 --> 00:07:57.768 +And of course it is also + +00:07:57.769 --> 00:08:01.052 +a presentation tool for EmacsConf. + +NOTE prefix-tab-groups and tools in Emacs + +00:08:01.953 --> 00:08:04.715 +So now let's come to the tools. + +00:08:07.350 --> 00:08:14.035 +How Emacs can help with the ptg-world and one + +00:08:14.436 --> 00:08:17.838 +feature stands out, I think. + +00:08:17.958 --> 00:08:20.580 +That's the focus and I'll talk a little + +00:08:20.620 --> 00:08:21.381 +bit about that. + +00:08:21.461 --> 00:08:24.822 +Concentrate on a subgroup that is focused + +00:08:24.823 --> 00:08:27.164 +and there are many other tools + +00:08:27.165 --> 00:08:31.288 +and I'll give you some of them. + +00:08:31.849 --> 00:08:32.909 +I'll list some of them. + +NOTE Focus + +00:08:34.054 --> 00:08:38.138 +So first let's focus on the focus. + +00:08:39.899 --> 00:08:41.679 +And how do you do it? + +00:08:41.720 --> 00:08:42.740 +How do you activate it? + +00:08:43.301 --> 00:08:50.445 +If you have a group that you want to focus to, + +00:08:50.645 --> 00:08:54.268 +you place the cursor in the prefix that defines + +00:08:55.088 --> 00:08:56.549 +that group of interest. + +00:08:56.609 --> 00:08:57.870 +So for example here. + +00:08:58.713 --> 00:09:03.456 +And then you call the command to focus and there + +00:09:03.476 --> 00:09:05.797 +will be focus on that group and the effect. + +00:09:06.057 --> 00:09:07.718 +And what is the focus actually? + +00:09:08.278 --> 00:09:11.980 +It blends out the lines above and below the group. + +00:09:12.380 --> 00:09:15.862 +And it also blends out the prefix. + +00:09:16.903 --> 00:09:21.305 +So there is command `ptg-edit-focus` for that. + +00:09:21.986 --> 00:09:24.867 +And it uses an extra buffer and the features are + +00:09:27.070 --> 00:09:28.711 +Edit and save. + +00:09:31.433 --> 00:09:33.833 +And you can always deepen the focus + +00:09:33.834 --> 00:09:35.776 +in the focus buffer. + +00:09:36.456 --> 00:09:40.258 +And you can always go one level up and go back to + +00:09:40.298 --> 00:09:41.299 +the original buffer. + +00:09:41.799 --> 00:09:46.702 +And to demonstrate, I will focus now here on the + +00:09:46.742 --> 00:09:49.264 +features subgroup right here. + +00:09:50.829 --> 00:09:53.451 +I activate the focus + +00:09:53.452 --> 00:09:57.776 +and you now have the focused view. + +00:09:57.816 --> 00:10:03.442 +You can go even deeper and up again and one level + +00:10:03.582 --> 00:10:05.403 +up and you can always go back + +00:10:05.404 --> 00:10:07.586 +to the original buffer. + +00:10:07.646 --> 00:10:09.788 +I use this focus all the time. + +NOTE Further features in Emacs + +00:10:11.077 --> 00:10:17.465 +So let's see what we have also here in Emacs. + +00:10:18.046 --> 00:10:20.269 +`set-selective-display`. + +00:10:21.951 --> 00:10:23.874 +Let's have a look what this is. + +00:10:23.914 --> 00:10:26.177 +This is a very old feature of Emacs. + +00:10:27.270 --> 00:10:31.073 +It blends out lines having a certain indent. + +00:10:32.294 --> 00:10:38.318 +So this is good to get an overview and it fits + +00:10:38.579 --> 00:10:41.501 +quite nicely to the prefix tab groups. + +00:10:43.689 --> 00:10:46.332 +But on the other hand, to be honest, sometimes it + +00:10:46.392 --> 00:10:48.334 +feels a bit quirky. + +00:10:48.454 --> 00:10:50.276 +It has its quirks. + +00:10:51.036 --> 00:10:53.919 +If you work with it, you will notice. + +00:10:54.500 --> 00:10:57.643 +But actually it's good enough for me now. + +00:10:58.564 --> 00:11:01.867 +So I have no real need for something else. + +00:11:04.669 --> 00:11:05.350 +I use that. + +00:11:05.950 --> 00:11:10.554 +And then there is `x-stretch-cursor`. + +00:11:10.634 --> 00:11:16.018 +This gives this view of the tab as you can see it + +00:11:16.058 --> 00:11:19.040 +here in the cursor, the big cursor on the tab. + +00:11:19.200 --> 00:11:23.704 +And whitespace-mode maybe you know to display white + +00:11:23.744 --> 00:11:25.946 +space somehow readable. + +00:11:26.726 --> 00:11:29.248 +And you can play with tab width, + +00:11:30.689 --> 00:11:34.612 +make it bigger or smaller. And notice that return + +00:11:34.672 --> 00:11:37.854 +automatically inserts indent in the next line. + +00:11:38.014 --> 00:11:42.397 +`indent-tabs-mode` can be configured to make sure + +00:11:42.457 --> 00:11:45.439 +to use tabs if Emacs indents something. + +00:11:46.608 --> 00:11:50.709 +Back to indentation is quite nice. You can use + +00:11:50.809 --> 00:11:54.331 +it to go to the first non-whitespace character in + +00:11:54.391 --> 00:11:54.751 +a line. + +00:11:55.291 --> 00:11:59.032 +And if you have big lines, you can use the visual + +00:11:59.092 --> 00:12:01.873 +line mode and visual wrap prefix mode. + +00:12:02.013 --> 00:12:07.775 +You can really get beautiful views of long lines. + +NOTE Further self-made tools + +00:12:09.035 --> 00:12:13.557 +So, okay, there are a few + +00:12:15.118 --> 00:12:18.980 +self-made tools which are quite naturally for the + +00:12:19.120 --> 00:12:20.141 +prefix tab groups. + +00:12:20.221 --> 00:12:22.982 +Jump to beginning end of a group, mark a group, + +00:12:23.542 --> 00:12:27.524 +create, decay a group, tabify, untabify a region. + +00:12:28.085 --> 00:12:31.486 +It's not a big deal but it's good to know that + +00:12:31.566 --> 00:12:32.767 +they are there. + +NOTE prefix-tab-groups and Lisp + +00:12:33.907 --> 00:12:39.429 +So let's go to the Lisp part of this talk, Prefix + +00:12:39.469 --> 00:12:40.789 +Tab Groups and Lisp. + +00:12:41.849 --> 00:12:47.111 +And you can first notice Prefix Tab Groups as + +00:12:47.151 --> 00:12:52.452 +syntax for Lisp is quite natural since ptg is + +00:12:52.712 --> 00:12:54.013 +like symex. + +00:12:54.133 --> 00:12:55.632 +For example, if you have this + +00:12:55.633 --> 00:12:57.274 +Prefix Tab Group here, + +00:12:58.606 --> 00:13:01.168 +It's just a group with the elements a, b and it + +00:13:01.228 --> 00:13:06.153 +can be interpreted as the symex which is the list + +00:13:06.233 --> 00:13:07.474 +with a and b. + +00:13:08.174 --> 00:13:14.500 +And a somewhat more complicated example here have + +00:13:15.100 --> 00:13:17.602 +a group with two elements. + +00:13:18.423 --> 00:13:21.126 +First one is again a list so it's kind of + +00:13:21.166 --> 00:13:25.490 +recursive and in the next line you have this C + +00:13:26.571 --> 00:13:31.175 +element and this can then be interpreted as the + +00:13:31.215 --> 00:13:32.556 +symex here. + +00:13:33.097 --> 00:13:35.739 +So you have two elements the symex with the + +00:13:35.799 --> 00:13:38.982 +elements A and B and the element C. + +00:13:42.018 --> 00:13:44.161 +By the way, if you are interested in the term + +00:13:44.461 --> 00:13:47.405 +symex, where it comes from, it comes from here: + +00:13:47.445 --> 00:13:56.135 +github.com/drym-org/symex.el + +00:13:57.037 --> 00:14:00.841 +Might be worth a visit. + +NOTE ptg-elisp + +00:14:01.882 --> 00:14:06.044 +So let's come to ptg-elisp. + +00:14:06.144 --> 00:14:08.125 +There is ptg-elisp now. + +00:14:10.466 --> 00:14:14.868 +And let's have a look. + +00:14:16.168 --> 00:14:20.170 +We want a function hello-emacsconf, + +00:14:20.530 --> 00:14:23.691 +write it in ptg-elisp. + +00:14:25.510 --> 00:14:29.075 +Let's focus on this function and I can show you. + +00:14:32.559 --> 00:14:34.981 +We will go through it line by line. + +00:14:35.062 --> 00:14:39.907 +First we define the function with a name and + +00:14:41.955 --> 00:14:48.441 +the second line here is just a prefix with + +00:14:48.481 --> 00:14:53.585 +nothing else and this stands for the empty list + +00:14:53.826 --> 00:14:54.546 +or nil. + +00:14:57.309 --> 00:15:00.752 +This is the ptg version of nil. + +00:15:01.993 --> 00:15:04.355 +And here we have some syntactic sugar. + +00:15:04.775 --> 00:15:07.438 +We have a group that starts with a double quote. + +00:15:08.218 --> 00:15:12.001 +And this is the documentation string, two lines, + +00:15:12.121 --> 00:15:15.924 +"message a hello, precisely say hello EmacsConf." + +00:15:17.085 --> 00:15:19.846 +And this is kind of syntax sugar. + +00:15:21.087 --> 00:15:24.348 +And next one is the call to interactive. + +00:15:24.648 --> 00:15:27.510 +And this is plain old elisp. + +00:15:27.910 --> 00:15:32.732 +And you can see that you are able to use plain + +00:15:32.872 --> 00:15:35.213 +old elisp also in ptg-elisp. + +00:15:35.433 --> 00:15:39.935 +Might be useful sometimes or give some safety. + +00:15:40.735 --> 00:15:45.818 +And again a little sugar thing: semicolon group, + +00:15:45.878 --> 00:15:47.999 +means this is a comment here. + +00:15:49.560 --> 00:15:53.282 +So: "note: this function is rather artificial" is the + +00:15:53.843 --> 00:15:55.904 +comment here, artificial comment. + +00:15:57.345 --> 00:16:01.467 +And here we have the actual call to the message + +00:16:01.547 --> 00:16:07.711 +function and we want it should give out the + +00:16:07.751 --> 00:16:08.171 +string. + +00:16:09.972 --> 00:16:15.193 +Let's evaluate this function and try it out. + +00:16:15.613 --> 00:16:18.294 +I evaluate this, I call this function and you can + +00:16:18.334 --> 00:16:22.995 +see in the mini-buffer at the bottom the expected + +00:16:23.355 --> 00:16:23.835 +message. + +00:16:24.575 --> 00:16:31.237 +So this is kind of proof that you can use + +00:16:31.497 --> 00:16:32.837 +ptg-elisp actually. + +NOTE Source ptg.pel + +00:16:34.237 --> 00:16:36.718 +And now about the source code ptg. + +00:16:38.777 --> 00:16:42.620 +ptg.pel is the source and it is written in ptg-elisp. + +00:16:43.040 --> 00:16:46.422 +So ptg.pel, the source, + +00:16:46.423 --> 00:16:49.425 +is an example of ptg-elisp code. + +00:16:50.186 --> 00:16:52.928 +If you want to experiment, it might be a good + +00:16:52.968 --> 00:16:53.689 +start there. + +00:16:54.549 --> 00:16:57.950 +And there are some group openers in use. + +00:16:59.170 --> 00:17:03.911 +Typical Lisp symbols. + +00:17:04.671 --> 00:17:13.233 +So for comment(;), string("), and quote('), quasi-quote(`), + +00:17:13.454 --> 00:17:14.714 +and evaluation(,). + +00:17:16.034 --> 00:17:22.396 +And functionality is to transform a ptg-elisp + +00:17:22.435 --> 00:17:23.435 +file to elisp, + +00:17:24.412 --> 00:17:28.414 +and evaluate a group directly, + +00:17:28.415 --> 00:17:29.536 +as we have seen already. + +00:17:30.036 --> 00:17:36.180 +This is very similar to `eval-last-sexp` in elisp. + +00:17:37.021 --> 00:17:40.282 +Another example here: 6, 7 multiplied. + +00:17:41.206 --> 00:17:48.968 +Let's check if this is possible. You see I + +00:17:49.048 --> 00:17:51.788 +evaluated this and you see in the bottom line and + +00:17:51.808 --> 00:17:55.129 +the mini-buffer the result: 42. + +00:17:55.789 --> 00:17:57.950 +So the code is GPL3. + +00:17:58.930 --> 00:18:04.671 +So use, study, distribute, improve it if you like. + +NOTE Related projects in the programming world + +00:18:07.611 --> 00:18:11.452 +Some related projects in the programming world + +00:18:12.092 --> 00:18:17.113 +are i-expressions from Egil Möller for Scheme. + +00:18:17.253 --> 00:18:21.934 +It's around for some time now and looks like it + +00:18:22.014 --> 00:18:22.614 +is final. + +00:18:22.874 --> 00:18:25.674 +Have a look at the Scheme page + +00:18:25.675 --> 00:18:33.036 +https://srfi.schemers.org/srfi-49 + +00:18:33.037 --> 00:18:34.057 +if you are interested. + +00:18:34.869 --> 00:18:37.672 +And there are also the famous m-expressions from + +00:18:37.712 --> 00:18:38.493 +John McCarthy. + +00:18:38.533 --> 00:18:42.877 +They are in the making at least since 1965. + +00:18:43.538 --> 00:18:45.840 +Maybe there is some development. + +00:18:47.441 --> 00:18:48.963 +And also Python. + +00:18:49.504 --> 00:18:53.307 +I think Python is interesting because indent is + +00:18:53.367 --> 00:18:56.129 +meaningful for the behavior of the program in + +00:18:56.189 --> 00:18:58.591 +Python, as far as I understand. + +00:18:59.051 --> 00:19:02.694 +And this is opposed to indent is irrelevant for + +00:19:02.714 --> 00:19:07.398 +the behavior of the program, which can be seen in + +00:19:07.478 --> 00:19:09.959 +many program languages. + +00:19:10.740 --> 00:19:14.383 +Okay, so the end is near. + +NOTE Summary + +00:19:14.543 --> 00:19:16.865 +Let's sum up and fade out. + +00:19:18.569 --> 00:19:21.370 +Again, the subtitle of the talk: A way to write + +00:19:22.011 --> 00:19:26.313 +symex as a block of prefixed lines. + +00:19:27.033 --> 00:19:30.315 +This is the core, I think, of this whole prefix + +00:19:30.335 --> 00:19:31.155 +tab group thing. + +00:19:31.796 --> 00:19:34.917 +And ptgs can be useful for writing text, in + +00:19:34.957 --> 00:19:39.059 +particular with support from Emacs, can be used + +00:19:39.099 --> 00:19:39.960 +for programming. + +00:19:40.840 --> 00:19:50.242 +Find code and info on https://gitlab.com/marcowahl/prefix-tab-groups + +00:19:52.123 --> 00:19:59.064 +In the Q&A I am gaa in the #emacsconf channel or + +00:19:59.104 --> 00:20:00.705 +whatever channel, we will see. + +00:20:02.285 --> 00:20:07.026 +So thank you for having me, for your time and for + +00:20:07.266 --> 00:20:08.767 +EmacsConf 2026 of course. + +00:20:11.271 --> 00:20:11.762 +Bye bye! -- cgit v1.2.3