[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Setting up emacs server mode with Emacs 24.3.x on Ubuntu
From: |
dwsmith |
Subject: |
Setting up emacs server mode with Emacs 24.3.x on Ubuntu |
Date: |
Thu, 8 May 2014 19:30:43 -0700 (PDT) |
I have recently updated my Ubuntu from 12.04 to 14.04. I am using the most
recent Emacs 24.3.x (I don't remember the final digit) with AUCTeX cvs, and
TeX Live 2013.
In my ~/.bash_aliases, I have
emacs = 'emacsclient -t --alternate-editor='
In my `/.emacs, relate to the server, I have
;; Start server and set directory
(setq server-socket-dir (format "/tmp/emacs%d" (user-uid)))
(server-start)
(custom-set-variables
'(TeX-PDF-mode t)
'(TeX-show-compilation t)
'(TeX-newline-function (quote newline-and-indent))
'(TeX-source-correlate-method (quote synctex))
'(TeX-source-correlate-mode t)
'(TeX-source-correlate-start-server t))
Whenever I try to open some LaTeX files, they won't open at all or I will
get the following message:
dustin@dustin:~/Documents/NUPOC/NUPOCSoln$ emacs SolnNUPOC.tex
emacsclient.emacs24: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
Warning: due to a long standing Gtk+ bug
http://bugzilla.gnome.org/show_bug.cgi?id=85715
Emacs might crash when run in daemon mode and the X11 connection is
unexpectedly lost.
Using an Emacs configured with --with-x-toolkit=lucid does not have this
problem.
("emacs")
Loading 00debian-vars...
Loading 00debian-vars...done
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...done
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...
Loading /etc/emacs/site-start.d/50cmake-data.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...
Error while loading 50dictionaries-common: Symbol's value as variable is
void: debian-aspell-only-dictionary-alist
Loading paren...
Loading paren...done
Warning: no abbrev-file found, customize `abbrev-file-name' in order to make
mode-specific abbrevs work.
Starting Emacs daemon.
Restarting server
I have read in the manual I need to have:
Some programs use a different environment variable; for example, to make TeX
use ‘emacsclient’, set the TEXEDIT environment variable to ‘emacsclient +%d
%s’.
How do I set this? Or how can I get Emacs server mode to work?
This used to work before I updated Ubuntu and re-installed everything.
--
View this message in context:
http://emacs.1067599.n5.nabble.com/Setting-up-emacs-server-mode-with-Emacs-24-3-x-on-Ubuntu-tp321527.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
- Setting up emacs server mode with Emacs 24.3.x on Ubuntu,
dwsmith <=