all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#20675: 24.3; emacsclient cannot talk to emacs
@ 2015-05-27 18:09 Bruce Korb
  2019-09-29 23:46 ` Stefan Kangas
  0 siblings, 1 reply; 10+ messages in thread
From: Bruce Korb @ 2015-05-27 18:09 UTC (permalink / raw)
  To: 20675

From: Bruce Korb <bruce.korb@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: 24.3; emacsclient cannot talk to emacs
--text follows this line--
This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org.  Please check that
the From: line contains a valid email address.  After a delay of up
to one day, you should receive an acknowledgment at that address.

Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.

Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug.  If you can, give a recipe
starting from `emacs -Q':

I have no idea what may have triggered the bug.
I am using emacsclient and emacs just fine for quite a while,
then all of a sudden:

> $ emacsclient cscope.files
> 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)

so I start up another xterm running bash and everything is fine.
For a while.  Then the same thing happens.  I do *NOT* have to restart
emacs or even the server code.  I have to start another xterm.
(Re-exec-ing bash does no good.)  So, clearly, something is scrogged
in the xterm so that it cannot talk to...........

AH HA!!

The problem is that I need to redirect TMPDIR to different places for
different tasks.  So that explainer above might get expanded to include
mention of the fact that this directory:  ${TMPDIR}/emacs$(id -u)
is used for communication.  I'd have found the problem long ago.

So please consider this an RFE to the above "can't find socket" message.





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-10-02 15:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-27 18:09 bug#20675: 24.3; emacsclient cannot talk to emacs Bruce Korb
2019-09-29 23:46 ` Stefan Kangas
2019-10-01 17:31   ` Bruce Korb
2019-10-01 18:05     ` Stefan Kangas
2019-10-01 18:39       ` Eli Zaretskii
2019-10-01 18:54         ` Stefan Kangas
2019-10-01 19:13           ` Eli Zaretskii
2019-10-02 13:37             ` Stefan Kangas
2019-10-02 15:29               ` Eli Zaretskii
2019-10-02 15:33                 ` Stefan Kangas

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.