Subject: bug#107: 23.0.60; frame-visible-p misbehaves in tty

From: Jose Ortega <[email-masked]>
Date: Wed, 02 Apr 2008 11:29:36 +0200

Emacs incorrectly reports frames created in a tty as non-visible (only the selected
frame is considered visible):

   emacs -nw -q
   C-x 5 2  ;; a new frame is created and selected
   M-: (frame-visible-p (next-frame (selected-frame))) => nil

instead of evaluating to t, as expected in tty (all frames should be considered
visible in ttys). As a side effect, M-x other-frame has no effect (it should
show F1, but it's considered non-visible).

Thanks!

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  global-auto-composition-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC x r e p o r t - e m a TAB RET

Recent messages:
("emacs" "-q")
For information about GNU Emacs and the GNU system, type C-h C-a.