emacs.d

My emacs configuration, done in a literate programming fashion using org-mode

git clone git://git.shimmy1996.com/emacs.d.git
commit e041ac9f0ec0f184beea9635997b3cf3e63a98db
parent 911306f4dcdaefe49c57979e6289f75c0b0b2f59
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun, 25 Feb 2018 00:55:21 -0600

Add tips for using fcitx in daemon mode.

Diffstat:
MREADME.org | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/README.org b/README.org
@@ -155,6 +155,14 @@ Install fcitx support.
     (setq fcitx-use-dbus t))
 #+END_SRC
 
+*** Daemon Support
+If using emacs daemon with =systemd=, remember to add to the
+=.service= file:
+
+#+BEGIN_SRC sh
+  Environment="LC_CTYPE=zh_CN.UTF-8" "XMODIFIERS=@im=fcitx"
+#+END_SRC
+
 ** Highlight Lines Over 80
 Highlight portions of line over 80 characters in =prog-mode=.
 #+BEGIN_SRC emacs-lisp