What is Nostr?
Louis :emacs: /
npub1tp9…dzfn
2023-06-26 11:56:52

Louis :emacs: on Nostr: 4th session with Prot today. :emacs: (I almost overslept, woke up 10 minutes before. ...

4th session with Prot today. :emacs:

(I almost overslept, woke up 10 minutes before. Prot probably thought I was having a bad hair day.)

If you are following this, please consider trying out his services for your own needs:
https://protesilaos.com/coach/

Or, if you use any of Prot's excellent packages or themes, consider donating if you can:
https://github.com/sponsors/protesilaos

So let's start.

Today we setup Denote and went through some of its main features. What I like about it:



It is major mode agnostic. You can use it with Markdown, Org, Plaintext or whatever you want


It can be used to organize any kind of files (i.e. your picture folder). Denote happily renames and tags your files any way you want


Denote supports Backlinks. You can even automatically insert the backlinks into a note using Dynamic Blocks. Example:

(#)+BEGIN: denote-backlinks
(#)+END:

By executing this block the backlinks are automatically inserted into the note. You have to put this in your config to make this work:

(require 'denote-org-dblock)

Denote does not implement features that are already in Emacs, i.e. Search. That's my challenge I had with Denote, but as it turned out, with a package like consult you can easily search either by filename with consult-find or through the content of all notes with consult-ripgrep.

While doing this we discovered that global-emojify-mode interfered with minibuffer completions so that Emacs always froze for a few seconds when starting a consult-find. We found it out by using the amazing Emacs profiler (profiler-start). So if you experience this, consider turning on emojify-mode selectively.

In our next session we'll talk about "Organizing with notes" on a non-technical level. Prot will share some of his experiences, because I'm notoriously disorganized.

Note: I do not receive any benefits by posting about this.

#Prot #Denote #Emacs
Author Public Key
npub1tp9e9qhmc02khh3jzpn8vmqwhj3u25yw352ed2x87zs4e2ps2uwqhadzfn