Back to school with Emacs

Daniel Rösel (ˈrøːzl̩, IRC: velocitatem, daniel@alves.world, https://daniel.alves.world)

Daniel Rosel demonstrates Lectorg, a package that he wrote to make note taking faster and simpler. Afterwards, he will handle questions over IRC.

The following image shows where the talk is in the schedule for Sat 2022-12-03. Solid lines show talks with Q&A via BigBlueButton. Dashed lines show talks with Q&A via IRC or Etherpad.

Schedule for Saturday Saturday 9:00- 9:05 Saturday opening remarks sat-open 9:05- 9:25 Emacs journalism (or everything's a nail if you hit it with Emacs) journalism 9:45- 9:55 Back to school with Emacs school 10:05-10:15 How to incorporate handwritten notes into Emacs Orgmode handwritten 10:45-11:05 Writing and organizing literature notes for scientific writing science 11:25-11:35 The Emacs Buddy initiative buddy 1:00- 1:20 Attending and organizing Emacs meetups meetups 1:40- 1:55 Linking personal info with Hyperbole implicit buttons buttons 2:15- 2:40 Real estate and Org table formulas realestate 3:00- 3:25 Health data journaling and visualization with Org Mode and gnuplot health 3:45- 4:05 Edit live Jupyter notebook cells with Emacs jupyter 4:50- 4:55 Saturday closing remarks sat-close 10:00-10:15 Tree-sitter beyond syntax highlighting treesitter 10:25-10:45 lsp-bridge: a smooth-as-butter asynchronous LSP client lspbridge 10:55-11:15 asm-blox: a game based on WebAssembly that no one asked for asmblox 11:25-11:35 Emacs should become a Wayland compositor wayland 1:00- 1:25 Using SQLite as a data source: a framework and an example sqlite 1:50- 2:30 Revisiting the anatomy of Emacs mail user agents mail 2:50- 3:10 Maintaining the Maintainers: Attribution as an Economic Model for Open Source maint 3:35- 3:40 Bidirectional links with eev eev 3:50- 3:55 Short hyperlinks to Python docs python 4:05- 4:35 Haskell code exploration with Emacs haskell 9 AM 10 AM 11 AM 12 PM 1 PM 2 PM 3 PM 4 PM 5 PM

Format: 9-min talk followed by IRC Q&A (#emacsconf-gen)
Etherpad: https://pad.emacsconf.org/2022-school
Discuss on IRC: #emacsconf-gen
Status: Q&A starting (not yet open for joining)

Times in different timezones:
Saturday, Dec 3 2022, ~9:45 AM - 9:55 AM EST (US/Eastern)
which is the same as:
Saturday, Dec 3 2022, ~8:45 AM - 8:55 AM CST (US/Central)
Saturday, Dec 3 2022, ~7:45 AM - 7:55 AM MST (US/Mountain)
Saturday, Dec 3 2022, ~6:45 AM - 6:55 AM PST (US/Pacific)
Saturday, Dec 3 2022, ~2:45 PM - 2:55 PM UTC
Saturday, Dec 3 2022, ~3:45 PM - 3:55 PM CET (Europe/Paris)
Saturday, Dec 3 2022, ~4:45 PM - 4:55 PM EET (Europe/Athens)
Saturday, Dec 3 2022, ~8:15 PM - 8:25 PM IST (Asia/Kolkata)
Saturday, Dec 3 2022, ~10:45 PM - 10:55 PM +08 (Asia/Singapore)
Saturday, Dec 3 2022, ~11:45 PM - 11:55 PM JST (Asia/Tokyo)
Find out how to watch and participate

00:00:00.000 Introduction 00:51.920 Packages: Lectorg, Reorg, HBH 02:30.680 Org Mode 03:14.920 The ecosystem of Lectorg: Elisp and Python 04:18.680 How Lectorg works 04:49.160 Math 06:15.800 Business 07:25.760 Conclusion

Description

This talk is aimed at those who would be interested in using Emacs for school purposes. What it will present the listeners with is a collection of tips and trick on how to be more efficient when taking notes and organizing student life. Methods should apply to a target audience studying at a university or high school.

Outline:

  • Part 1: 5 - 10 min
    • Present benefits of using Emacs over other software/hand-writing
    • Present packages which support the mentioned benefits
      • Packages used
      • Usage and application of each package
      • The ecosystem as a whole
  • Part 2: ~5 min
    • Demonstrate the work-flow
      • Show applications in various regions of academics
      • External input from other users

Resources

https://gitlab.com/velocitatem/lectorg

Transcript

[00:00:00.000] Taking notes on a computer can be challenging, especially if you compare computer notes with handwritten notes. When you're handwriting, you don't focus as much on taking those notes. Well, you don't focus as much on how you take the notes, you more so focus on what you're taking. You don't get that same experience if you're writing your notes on a computer. When writing notes on a computer, you mostly focus on typing or alignment. Those are things that are kind of solved already by certain software such as Org Mode, which is fantastic when it comes to note-taking, but I still believe it could be much better.

[00:00:51.920] That's why I've developed the package called Lectorg. It's a collection of scripts and snippets which allow you to improve your note-taking experience on the computer, of course, making you more focused on the subject rather than the process of taking notes. So why use Emacs? Well, again, if compared with other software, it has a lot more customizability and it can also unify pretty much anything you need in student life or work life into one place. The problems that Lectorg solves are kind of, as I mentioned, already solved partially by Org Mode itself. What I've done is simply make a bunch of additions to Org Mode through an external package, but I've also developed other sub-modules, one of them being HBH, which allows me to easily plan out my days HBH, hour by hour, therefore I can plan out my days on an hourly basis practically. But I've also built something called Reorg which, for those of you that are familiar with the Remarkable tablet, allows you to integrate notes from your Remarkable into Emacs-- into your Org Mode notes basically. Now I believe there's already another talk on integrating handwritten notes into Emacs, so I won't get too much into that.

[00:02:30.680] So again, at the heart of Lectorg is Org Mode, which for those of you that might not be familiar, Org Mode is one of the best pieces of software when it comes to basically capturing any sort of text, managing that text, exporting it into various different formats, which is perfect for taking notes because you can either export them, take them on the go if you don't have access to your computer all the time, or you can share them with friends, which... Well, that is somewhat self-explanatory in how that can help you or others.

[00:03:14.920] Now the ecosystem of Lectorg, it's a bit chaotic as of right now. It's a package itself, Lectorg.el, which also partially relies on a collection of Python scripts as I didn't have that much time to develop the software strictly in Elisp, but it still gets the job done, and I believe that there is no speed hindrance. Now to further improve Lectorg, I'd love to ask for your help if you have encountered any sort of issue when it comes to note-taking or academics in general, I would love to integrate your solution (or if you don't have one, we can come up with one) into Lectorg. Also, if anyone would be willing to transcribe those Python scripts into a more Lisp approach, then that'd be fabulous.

[00:04:18.680] So let's look at how Lectorg works in practice. We'll look at two examples, one of taking notes for math and the other for business, I believe. Now I have to mention that all of the things that I do in that example do not cover all the functions and features of Lectorg. There is decent documentation on the Lectorg GitLab page,

[00:04:49.160] so do check that out for further reference. For our first example, we're going to start off with taking notes for statistics. Now what I'm doing here is opening Lectorg Hub, which allows me to associate certain resources with this particular course. Here, I've opened the book which I have associated with this course, and I'm going to go ahead and start taking some notes on the cumulative distribution function here. Now what OrgMode allows you to do is integrate LaTeX into regular text quite easily, preview it, and then later export it. Now here we can see the first usage of a snippet !m, which inserts a block for entering a LaTeX equation. What I'm trying to do here is take a screenshot of the figures in the book, which is done with org-download (not a part of Lectorg, but a very useful tool). Now that is it for math.

[00:06:15.800] Let's look at something a bit different. We're going to take a look at business, more specifically, taking notes on the product lifecycle. Here on the left, I have certain notes from class which are not complete. As you can see at the top, there's a comment also done using Lectorg which puts this file into a TODO so that I can get back to it whenever I want or schedule this TODO. Now I'm taking notes on a video lecture, which I've opened, again, through Lectorg hub. As you can see right now, I'm inserting another snippet for Plantuml, which immediately exports it to a file, and again I'm going to be using org-download here to insert another figure at the top.

[00:07:25.760] I hope this demonstration was useful. Once again, it did not demonstrate everything. You can find more on GitLab. I hope some of you might consider using Lectorg in your academic life or perhaps even in some areas of business. I believe that is everything I have to demonstrate for today. Thank you for listening to this talk, have a nice rest of the day.

Questions or comments? Please e-mail daniel@alves.world