all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: emacs-devel@gnu.org
Subject: "Error reading from stdin" when using emacsclient -nw?
Date: Thu, 23 Jan 2014 15:49:04 +0100	[thread overview]
Message-ID: <87r47y92jj.fsf@topper.koldfront.dk> (raw)

Sometimes when I ssh into a machine where I have previously started
Emacs running (on X), and connect to it using emacsclient -nw, when I
start typing, I get the text "Error reading from stdin" in the mini
buffer.

I.e. the menu and modeline are displayed, the *Scratch* buffer comes up,
but whatever I do, I get "Error reading from stdin" back from then on.

When that happens I have to kill Emacs completely and start it again, to
get connecting with emacsclient -nw to work.

What is weird is that it only happens sometimes (maybe 2 out of 7
times).

If I go to the original Emacs window (in X), I can type there without
any problem, even after emacsclient -nw has started failing in this
manner.

Has anyone seen this, or are there any tips on how to debug this
problem?

(Searching the web wasn't of much help.)

I am using emacs-snapshot (GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu,
GTK+ Version 3.8.6) of 2014-01-01 on prometheus, modified by Debian),
and have this in my configuration of emacs-server:

  (require 'server)
  (setq server-use-tcp t
        server-port 3113)
  (if (not (server-running-p)) (server-start) (message "Server already running"))


  Thanks!

    Adam

-- 
 "KOMPRESSOR sound is hard and angry, good words used         Adam Sjøgren
  for song and electronic."                              asjo@koldfront.dk




                 reply	other threads:[~2014-01-23 14:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87r47y92jj.fsf@topper.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=emacs-devel@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.