bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1267: Emacsclient can't find terminal in daemon mode


From: Stefan Monnier
Subject: bug#1267: Emacsclient can't find terminal in daemon mode
Date: Wed, 29 Oct 2008 21:05:02 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> 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... 

Maybe we should just check (eq (selected-frame) terminal-frame) ?


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]