Quick
index
main
eev
eepitch
maths
angg
blogme
dednat6
littlelangs
PURO
(GAC2,
C3TD,
λMDetc)
(Chapa 1)

emacs
lua
(la)tex
maxima
fvwm
agda
tcl
forth
icon
debian
irc
contact

Bidirectional links with eev (@ EmacsConf 2022)

I submitted two proposals for 5-minute talks to the EmacsConf2022.
This one corresponds to this file: eev-kla.el. Its EmacsConf page is here.
I haven't recorded the video yet, but there's a tutorial here.
My other submission is here - it corresponds to eev-rstdoc.el.
Links to my older presentations at EmacsConfs: 2021, 2020, 2019.


Title: Bidirectional links with eev
Intended duration: 5 minutes
Abstract:

Consider the two sexps below:

(code-c-d "foobar" "/tmp/foo/bar/" :anchor)
(code-c-d "fb"     "/tmp/foo/bar/" :anchor)

Each one of them defines several "short hyperlink" functions. After running them the three sexps below are roughly equivalent:

(find-file "/tmp/foo/bar/plic.txt")
(find-foobarfile "plic.txt")
(find-fbfile "plic.txt")

The "code-c-d"s above also define functions with even shorter names -- "find-foobar" and "find-fb" - that point to "anchors" in files in the directory /tmp/foo/bar/. The three sexps below are roughly equivalent -

(find-fline "/tmp/foo/bar/plic.txt" "«bletch»")
(find-foobar "plic.txt" "bletch")
(find-fb "plic.txt" "bletch")

Until feb/2022 the only way that I had to produce these hyperlinks to anchors quickly required a LOT of muscle memory... I had to type this,

M-1 M-h M-w  M-h M-h  9*<down>  M-h M-2  M-h M-y  M-h M--  M-h M-w  M-k

where the number of "<down>"s depended on whether I preferred find-foobar of find-fb - i.e., of on what is my preferred "code" for the "directory" /tmp/foo/bar/; either "foobar" or "fb".

In this presentation I will show a much better way to generate short hyperlinks to anchors and push these short hyperlinks to the kill ring, and how I use that to create bidirectional hyperlinks between my notes on a language $LANGUAGE and programs written in that language.

For more info see the tutorial in eev-kla.el.


To watch the video on youtube, click on the screenshot below. That links points to the copy that is on my channel; the copy at the EmacsConf channel is here.

Note that youtube always converts my videos to a format that is blurry at some points. You can download a local copy of the original video, with subtitles, with the two "wget"s below:

# See:  http://anggtwu.net/eev-videos.html
#       http://anggtwu.net/eev-videos.html#mpv-keys
# Play: (find-eev2022klavideo "0:00")
# Info: (find-1stclassvideo-links "eev2022kla")
# Subs: (find-1stclassvideolsubs  "eev2022kla")

wget -nc http://anggtwu.net/eev-videos/emacsconf2022-kla.mp4
wget -N  http://anggtwu.net/eev-videos/emacsconf2022-kla.vtt
mpv --fs --osd-level=2 emacsconf2022-kla.mp4