* Setting up emacs server mode with Emacs 24.3.x on Ubuntu
@ 2014-05-09 2:30 dwsmith
2014-05-09 23:45 ` Suvayu Ali
0 siblings, 1 reply; 2+ messages in thread
From: dwsmith @ 2014-05-09 2:30 UTC (permalink / raw
To: Help-gnu-emacs
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-09 23:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-09 2:30 Setting up emacs server mode with Emacs 24.3.x on Ubuntu dwsmith
2014-05-09 23:45 ` Suvayu Ali
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.