From: Bob Nnamtrop <bobnnamtrop@gmail.com>
To: 7135@debbugs.gnu.org
Subject: bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login
Date: Wed, 29 Sep 2010 11:00:25 -0600 [thread overview]
Message-ID: <AANLkTi=HEYnqgQ1UDVs+4h7rmmW=9uU+XpJDU9eas-ON@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1918 bytes --]
When using daemon mode locally on my computer it works correctly. However,
if I login (using ssh -Y) to a computer with an emacs daemon running
(started with emacs -Q --daemon) and use emacsclient to connect to it
emacsclient does not find the server. I get the error:
emacsclient -n -c
emacsclient: can't find socket; have you started the server?
To start the server in Emacs, type "M-x server-start".
emacsclient: No socket or alternate editor. Please use:
--socket-name
--server-file (or environment variable EMACS_SERVER_FILE)
--alternate-editor (or environment variable ALTERNATE_EDITOR)
I can get emacsclient to work if I use --server-file option after I have
located the server-file. I have the following bash function which does this
automatically:
emc () { emacsclient -n -c --socket-name="$( (find /var/ -name server | grep
emacs8060) 2> /dev/null )"}
but emacclient should be able to find the socket on its own. Note that this
was present in 23.1 and 23.2 as well.
Bob
In GNU Emacs 24.0.50.2 (i386-apple-darwin9.8.0, GTK+ Version 2.20.1)
of 2010-09-29 on ***
Windowing system distributor `The X.Org Foundation', version 11.0.10802000
configured using `configure '--prefix=/Users/name/local-emacs-bzr''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
[-- Attachment #2: Type: text/html, Size: 2135 bytes --]
next reply other threads:[~2010-09-29 17:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-29 17:00 Bob Nnamtrop [this message]
2010-09-29 19:45 ` bug#7135: 24.0.50; Mac OS X X11: emacsclient cannot find server from remote login Bob Nnamtrop
2010-09-30 0:34 ` Glenn Morris
2010-09-30 1:41 ` Glenn Morris
2010-09-30 5:30 ` Jan Djärv
2010-09-30 6:45 ` Glenn Morris
2010-09-30 9:17 ` Eli Zaretskii
2010-10-01 3:57 ` Glenn Morris
2010-09-30 10:14 ` Jan Djärv
2010-09-30 18:09 ` Bob Nnamtrop
2010-10-01 3:43 ` Glenn Morris
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTi=HEYnqgQ1UDVs+4h7rmmW=9uU+XpJDU9eas-ON@mail.gmail.com' \
--to=bobnnamtrop@gmail.com \
--cc=7135@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).