all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Dan Nicolaescu <dann@ics.uci.edu>, 1267@emacsbugs.donarmstrong.com
Subject: bug#1267: Emacsclient can't find terminal in daemon mode
Date: Wed, 29 Oct 2008 22:40:06 -0400	[thread overview]
Message-ID: <jwvod12u7q1.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <87skqe511f.fsf@cyd.mit.edu> (Chong Yidong's message of "Wed, 29 Oct 2008 21:23:08 -0400")

>> > The patch you sent won't work on a text-only terminal.
>> 
>> Have you tried it?  It should throw an error and ask for either -t or -c 
>> 
>> > not, it tries X; if that fails, it falls back on using the tty
>> > specified
>> 
>> Does "it tries X" mean it tries to create an X frame?  That won't be
>> right, the user might just want to use an existing X frame.  I do that
>> 100 times a day.

> How about just using the tty?

> Do we lose anything by making emacsclient use the tty (i.e., the same as
> -t) if neither -t nor -c is specified, and the server is a daemon?

Another option is to run frame-initialize (which will open a frame on
either X or tty, IIUC).


        Stefan






  parent reply	other threads:[~2008-10-30  2:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87d4hif53r.fsf@cyd.mit.edu>
2008-10-28 23:04 ` bug#1267: Emacsclient can't find terminal in daemon mode Chong Yidong
2008-10-29 23:06   ` Dan Nicolaescu
2008-10-29 23:39     ` Chong Yidong
2008-10-30  0:07       ` Dan Nicolaescu
2008-10-30  1:23         ` Chong Yidong
2008-10-30  2:14           ` Dan Nicolaescu
2008-10-30  3:55             ` Chong Yidong
2008-10-30  5:25               ` Dan Nicolaescu
2008-10-30  2:40           ` Stefan Monnier [this message]
2008-10-30  1:05     ` Stefan Monnier
2008-10-30  2:15       ` Dan Nicolaescu
2008-10-30 16:05   ` bug#1267: marked as done (Emacsclient can't find terminal in daemon mode) Emacs bug Tracking System

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=jwvod12u7q1.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=1267@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=dann@ics.uci.edu \
    /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.