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

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

Emacs hangs on current display when the minibuffer is active on another


From: Ovidiu Gheorghioiu
Subject: Emacs hangs on current display when the minibuffer is active on another display
Date: Tue, 26 Sep 2006 19:09:50 -0700

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 address@hidden mailing list.

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

====
Description:

I frequently use the same emacs session shared between two X displays,
one real (my workstation console) and one in a Xvnc server, for when I
connect remotely through my laptop. If I leave the emacs on one
display with the minibuffer active, emacs on the other display does
not respond to anything until the minibuffer input is resolved (input
entered, or quit). This is particularly annoying if I am working
through VNC as I cannot control the workstation console and I have to
kill my emacs session which has been running for weeks with lots of
buffers and state.

To reproduce:

1) Open Emacs on a X display
2) Use make-frame-on-display to open Emacs in a different display.
It's simplest to use a console-less vnc server or Xnest.
3) On the first display, do find-file (or M-x, or any other minibuffer command)
4) On the second display, Emacs cannot be used any more. Menus can be
opened, but no action has any effect while the minibuffer on the first
display is active

Expected behaviour:

No different than multiple frames on the same display: any action can
be performed, and an action that requires the minibuffer results in
the first minibuffer input being cancelled with "command attempted to
use minibuffer while in minibuffer". Either that, or allow multiple
active minibuffers, but I assue the latter is harder.

If the fix is simple I would appreciate a line or two that I can drop
in my .emacs, or a patch to emacs files that I can use while the fix
makes its way into my distribution.

Please let me know if I can provide any additional information. I
cannot easily test on emacs 21 right now, but I think I recall this
happening on emacs 21 a couple of times.

Regards,
Ovy

========

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
/usr/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2006-01-16 on vernadsky, modified by Debian
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.50/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.50/leim'
'--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars'
'CFLAGS=-DDEBIAN -g -Wno-pointer-sign -O2'
'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu''

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

Major mode: Fundamental

Minor modes in effect:
 which-function-mode: t
 show-paren-mode: t
 tooltip-mode: t
 auto-compression-mode: t
 mouse-wheel-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 unify-8859-on-encoding-mode: t
 utf-translate-cjk-mode: t
 column-number-mode: t
 line-number-mode: t

Recent input:
: 1 <return> M-c <up> M-x <up> <return> <up> <return>
<switch-frame> <switch-frame> <down-mouse-1> <mouse-1>
<f3> C-x 5 2 <switch-frame> <down-mouse-1> <mouse-movement>
<mouse-1> <down-mouse-1> <mouse-1> e e e e <down-mouse-1>
<mouse-1> w w w w w <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <report-emacs-bug>
<switch-frame> <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> s d d s d s d d s s d d d s s d s d s <escape>
<escape> <escape> <escape> <escape> <switch-frame>
w w w w w w w w w <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <switch-frame> <menu-bar> <help-menu>
<report-emacs-bug>

Recent messages:
Loading advice...done
Loading easy-mmode...done
Loading derived...doneeeee
Loading cl-seq...done
Loading /home/build/public/google/util/google.el (source)...done
Loading paren...done
Loading which-func...done
Loading delsel...done
x-create-frame-with-faces: Cannot connect to X server :1wwwww
Loading emacsbug...done
find-file-read-args: Command attempted to use minibuffer while in minibuffer




reply via email to

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