[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1267: Emacsclient can't find terminal in daemon mode
From: |
Chong Yidong |
Subject: |
bug#1267: Emacsclient can't find terminal in daemon mode |
Date: |
Wed, 29 Oct 2008 19:39:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Dan Nicolaescu <dann@ics.uci.edu> writes:
> In you particular emacsly Emacs uses the "initial frame" to show the
> file, which is probably not ideal.
> This particular case can be solved by trying to see if the
> `(selected-frame)' is FRAME_INITIAL_P (which is not exposed to elisp).
> We can guess that if there's no window-system and tty-type frame
> parameter we are dealing with the initial frame.
>
> Not sure if this is good enough to cover all possible cases...
The patch you sent won't work on a text-only terminal.
I think a better approach is to change emacsclient so that it sends the
tty name/type if it is supposed to "use the current frame" (normally, it
doesn't do this unless the -t option is provided). Then, the Emacs
server should check whether it can actually use the current frame; if
not, it tries X; if that fails, it falls back on using the tty specified
by emacsclient.
- bug#1267: Emacsclient can't find terminal in daemon mode, Chong Yidong, 2008/10/28
- bug#1267: Emacsclient can't find terminal in daemon mode, Dan Nicolaescu, 2008/10/29
- bug#1267: Emacsclient can't find terminal in daemon mode,
Chong Yidong <=
- bug#1267: Emacsclient can't find terminal in daemon mode, Dan Nicolaescu, 2008/10/29
- bug#1267: Emacsclient can't find terminal in daemon mode, Chong Yidong, 2008/10/29
- bug#1267: Emacsclient can't find terminal in daemon mode, Dan Nicolaescu, 2008/10/29
- bug#1267: Emacsclient can't find terminal in daemon mode, Chong Yidong, 2008/10/30
- bug#1267: Emacsclient can't find terminal in daemon mode, Dan Nicolaescu, 2008/10/30
- bug#1267: Emacsclient can't find terminal in daemon mode, Stefan Monnier, 2008/10/29
bug#1267: Emacsclient can't find terminal in daemon mode, Stefan Monnier, 2008/10/29
bug#1267: marked as done (Emacsclient can't find terminal in daemon mode), Emacs bug Tracking System, 2008/10/30