Merge branch 'master' of git+ssh://code.ungleich.ch/ungleich-public/ungleich-staticcms

This commit is contained in:
sanghee 2020-04-23 16:38:08 +02:00
commit 80fe2ee36d
1 changed files with 12 additions and 3 deletions

View File

@ -27,7 +27,13 @@ If emacs is not an operating system, at least emacs stands for
it? (This is actually from times where 8 megabytes were quite a lot of
memory)
So why do people make fun of emacs and how is it related to the emacs server?
So why do people make fun of emacs and how is it related to the emacs
server?
Emacs, like any other operating system, loads a lot of things at
startup. In my case this is initialising
[org-mode](https://orgmode.org/), starting my mail client, calculating
my agenda view to tell me what to do today.
An emacs server creates a special emacs process that listens on a
socket for connecting to it. This way the initialisation is already
done before you connect to it and all
@ -84,8 +90,11 @@ emacs --daemon
...
```
And because I always want to have my mail client open, after I started
i3, I launch the following command:
Instead of running emacs --daemon, you can also use **M-x
server-start** in a running emacs process.
And because I always want to have my mail client open, just after I start
i3, I have i3 launch the following command:
```
ssh-add </dev/null && emacsclient -c -e '(mu4e)'