Table of Contents

How can I compile Emacs from scratch?

git clone -b emacs-27 git://git.sv.gnu.org/emacs.git
cd emacs
sudo apt-get build-dep emacs
./configure --with-x-toolkit=lucid --with-mailutils
make -j4
./src/emacs // test that it's working
sudo make install

Why do some functions have double dashes?

As an example of what I mean, org-roam had seemingly the same function names at one point, despite the only difference being some double dashes

Here is an example of what I mean

At first glance, the naming differences between org-roam-capture--get-point and org-roam--capture-get-point seems completely arbitrary

Supposedly, since there is no such thing as internal vs external functions, it's a convention for declaring that a function should be considered private or internal only


I still don't understand the above example since they both have double hyphens

Why do some lists start with a backtick (`) instead of a comma (')

Lists that start with a ` end up having values interpolated.

Compare the following two examples:

'(,(concat "Hello, " "World"), "Nice to meet you?")
; (,(concat "Hello, " "World")
;   ,"Nice to meet you?")

As you can see, we got the exact same list that we defined when starting with a '

How about using a `?

`(,(concat "Hello, " "World"), "Nice to meet you?")
; ("Hello, World" "Nice to meet you?")

The concat expression is evaluated and we get back two strings!

How can I find out what places Emacs is checking for my passwords?

(password-store "~/.authinfo.gpg")