From: dwsmith <dustinsfl@yahoo.com>
To: Help-gnu-emacs@gnu.org
Subject: Setting up emacs server mode with Emacs 24.3.x on Ubuntu
Date: Thu, 8 May 2014 19:30:43 -0700 (PDT) [thread overview]
Message-ID: <1399602643756-321527.post@n5.nabble.com> (raw)
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.
next reply other threads:[~2014-05-09 2:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-09 2:30 dwsmith [this message]
2014-05-09 23:45 ` Setting up emacs server mode with Emacs 24.3.x on Ubuntu Suvayu Ali
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1399602643756-321527.post@n5.nabble.com \
--to=dustinsfl@yahoo.com \
--cc=Help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.