Subject: bug#3204: 23.0.93; NS frames get unhidden after exiting a TTY frame

From: Steve Purcell <[email-masked]>
Date: Mon, 4 May 2009 11:57:01 +0200

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked]  
mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

First hide Emacs' main NS frame (Menu: "Emacs > Hide Emacs").

In a terminal, start "emacsclient -t".  Now exit that TTY frame using  
"C-x 5 0".

Expected behaviour: TTY frame exits, no side effects.

Observed behaviour: TTY frame exits, NS frame is unhidden and made the  
front window.

For those of us who routinely hide inactive apps on OS X, this makes  
the TTY support
decidedly annoying to use.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
     `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/Applications/Emacs.app/Contents/Resources/etc/DEBUG for instructions.

In GNU Emacs 23.0.93.1 (i386-apple-darwin9.6.0, NS apple-appkit-949.43)
  of 2009-05-04 on mandala.as24.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure  '--with-ns''

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: nil
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8
   default-enable-multibyte-characters: t

Major mode: Ruby

Minor modes in effect:
   xterm-mouse-mode: t
   flymake-mode: t
   ruby-electric-mode: t
   show-paren-mode: t
   rinari-minor-mode: t
   desktop-save-mode: t
   global-auto-complete-mode: t
   auto-complete-mode: t
   yas/minor-mode: t
   recentf-mode: t
   diff-auto-refine-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   unify-8859-on-decoding-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   size-indication-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:

Recent messages:
When done with this frame, type C-x 5 0
Quit