++clarifications
This commit is contained in:
parent
79b2257b41
commit
e0f4956457
1 changed files with 12 additions and 3 deletions
|
@ -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
|
it? (This is actually from times where 8 megabytes were quite a lot of
|
||||||
memory)
|
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
|
An emacs server creates a special emacs process that listens on a
|
||||||
socket for connecting to it. This way the initialisation is already
|
socket for connecting to it. This way the initialisation is already
|
||||||
done before you connect to it and all
|
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
|
Instead of running emacs --daemon, you can also use **M-x
|
||||||
i3, I launch the following command:
|
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)'
|
ssh-add </dev/null && emacsclient -c -e '(mu4e)'
|
||||||
|
|
Loading…
Reference in a new issue