When start Emacs from the terminal as

 me@mbp: ~$ emacs --deamon

It prompts that

enter image description here

However, there does not exist such a pocesses

me@mbp~$ ps 8559
me@mbp:~$ ps -el |grep 8559

Why could pop such a prompt

There is a file

 -rw-r--r--   1 me me     4 Jan 16 14:44  .emacs.desktop.lock

should I delete it ?

  • This is probably irrelevant, but did you actually run emacs --deamon ? That's not spelled correctly. – phils Jan 16 '19 at 6:15
  • It could be the case that the process Emacs is complaining dies right after the message. I don't know how desktop files are handled exactly, but there could be lock files, and whatever process that Emacs is mentioning just failed to clean up the lock. – user12563 Jan 16 '19 at 6:43
  • thank you, there is a lock file, should I remove it? @DoMiNeLa10 – Alice Jan 16 '19 at 6:50
  • @Alice it's probably the culprit, so you should try removing it. – user12563 Jan 16 '19 at 10:53
  • I suggest you file a bug report about this: Emacs should detect when such a lock is stale. – Stefan Jan 16 '19 at 13:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.