Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

emacsclient closes after two minutes of work #1

Open
emakei opened this issue Dec 26, 2018 · 0 comments
Open

emacsclient closes after two minutes of work #1

emakei opened this issue Dec 26, 2018 · 0 comments

Comments

@emakei
Copy link

emakei commented Dec 26, 2018

I'm use Deepin Emacs as a service. This is my emacs.service file:

# /home/ymak/.config/systemd/user/emacs.service
[Unit]
Description=Emacs text editor
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/

[Service]
Type=notify
ExecStart=/usr/share/deepin-emacs/common/bin/emacs --fg-daemon
ExecStop=/usr/share/deepin-emacs/common/bin/emacsclient --eval "(save-buffers-kill-emacs)"
Environment=SSH_AUTH_SOCK=%t/keyring/ssh
Restart=on-failure

[Install]
WantedBy=default.target

After open "Deepin Emacs (client)" in graphical mode it works only two minutes and closes.
My desktop file:

[Desktop Entry]
Name=Deepin Emacs (client)
GenericName=Text Editor
Comment=Edit text
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
Exec=deepin-emacsclient -c -a "deepin-emacs" %F
Icon=deepin-emacs
Type=Application
Terminal=false
Categories=Development;TextEditor;
StartupWMClass=Emacs
Keywords=Text;Editor;
And in terminal when open file first two symbols everytime is "[I". There is no error messages in "Messages" buffer.
When exec service with "-Q" option client steel closes but no more problem with "[I" symbols.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant