From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dwsmith Newsgroups: gmane.emacs.help Subject: Setting up emacs server mode with Emacs 24.3.x on Ubuntu Date: Thu, 8 May 2014 19:30:43 -0700 (PDT) Message-ID: <1399602643756-321527.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1399603371 25466 80.91.229.3 (9 May 2014 02:42:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 9 May 2014 02:42:51 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 09 04:42:46 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wialp-0002fO-E3 for geh-help-gnu-emacs@m.gmane.org; Fri, 09 May 2014 04:42:45 +0200 Original-Received: from localhost ([::1]:50351 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wialo-0005To-T7 for geh-help-gnu-emacs@m.gmane.org; Thu, 08 May 2014 22:42:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiaaI-0002c6-JQ for Help-gnu-emacs@gnu.org; Thu, 08 May 2014 22:30:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WiaaC-00077T-KV for Help-gnu-emacs@gnu.org; Thu, 08 May 2014 22:30:50 -0400 Original-Received: from sam.nabble.com ([216.139.236.26]:44645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WiaaC-00077N-FN for Help-gnu-emacs@gnu.org; Thu, 08 May 2014 22:30:44 -0400 Original-Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WiaaB-0004KX-Pc for Help-gnu-emacs@gnu.org; Thu, 08 May 2014 19:30:43 -0700 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.139.236.26 X-Mailman-Approved-At: Thu, 08 May 2014 22:42:35 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97574 Archived-At: 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 =3D 'emacsclient -t --alternate-editor=3D' In my `/.emacs, relate to the server, I have=20 ;; Start server and set directory = =20 (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=20 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=3D85715 Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. Using an Emacs configured with --with-x-toolkit=3Dlucid 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 mak= e mode-specific abbrevs work.=20 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 Te= X use =E2=80=98emacsclient=E2=80=99, set the TEXEDIT environment variable to = =E2=80=98emacsclient +%d %s=E2=80=99. 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.