From e0f49564573ecb744215eb574f770fe6170660e7 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Thu, 23 Apr 2020 16:33:50 +0200 Subject: [PATCH] ++clarifications --- .../u/blog/emacs-server-the-smart-way/contents.lr | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/content/u/blog/emacs-server-the-smart-way/contents.lr b/content/u/blog/emacs-server-the-smart-way/contents.lr index 7d4d75f..e6afd69 100644 --- a/content/u/blog/emacs-server-the-smart-way/contents.lr +++ b/content/u/blog/emacs-server-the-smart-way/contents.lr @@ -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