Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to use emacs-24 with org-mode such that org-export-run-in-background is enabled. However, I get obscure messages in *Org Processes:

Warning (server): Unable to start the Emacs server. There is an existing Emacs server, named "server". To start the server in this Emacs process, stop the existing server or call `M-x server-force-delete' to forcibly disconnect it. OVERVIEW Loading vc-git... Exporting... my-java-mode-hook my-java-mode-hook Symbol's function definition is void: nil

I'd really like to figure out how to get a stack trace or some other way to debug this.


share|improve this question
up vote 2 down vote accepted

This was the first time I had tried exporting in the background and it worked for me. Since my org-export-run-in-background variable is nil, I had to test it via 'C-u C-u C-c C-e'.

I have seen your error before when my previous Emacs session was shutdown improperly and the next session thought there was already a server running. I would try following the recommendation of calling 'M-x server-force-delete' and then ensure your server is running via 'M-x server-start'. After that, re-try your export.

If you are still having trouble, check on which processes are still out there running. I use a couple of methods: 1. Emacs method of running 'M-x list-processes' or a bash shell command of "pstree -lp $(pgrep emacs)".

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .