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: Dan Nicolaescu
Subject: bug#1267: Emacsclient can't find terminal in daemon mode
Date: Wed, 29 Oct 2008 19:15:46 -0700 (PDT)

Stefan Monnier <monnier@iro.umontreal.ca> 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... 
  > 
  > Maybe we should just check (eq (selected-frame) terminal-frame) ?

Sounds like a good idea.






reply via email to

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