unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11021: 23.4; Text client hangs when region is highlighted in another frame with mouse
@ 2012-03-15 14:46 Phil Brooke
  2012-03-16 17:18 ` Jan Djärv
  0 siblings, 1 reply; 7+ messages in thread
From: Phil Brooke @ 2012-03-15 14:46 UTC (permalink / raw)
  To: 11021

Hi,

The problem: Highlighting some text in an X frame using the mouse appears 
to cause text clients to freeze until the region is deactivated.

Replicating the problem:

    I started a freshly-built version of emacs 23.4 with
      ./emacs -q
    Inside emacs, I started a server:
      M-x server-start

    I now write some text into the *scratch* buffer (of an X frame) and
    highlight it with the mouse (hold mouse button 1, sweep across text,
    release button 1).

    In another xterm, I run
      ./emacsclient -t
    The text mode client appears to freeze until I return to the original
    frame and press C-g, type some text or other actions to cause the
    highlighting to disappear.  Any input I typed into the text client is
    handled at this point.

    While emacsclient -t is running, if I now highlight some text with the
    mouse in a frame again, it causes the text mode client to freeze.

Other X frames are unaffected, e.g., emacsclient -c brings up a frame;
that frame is not frozen as for emacsclient -t.

The problem does not occur if I use C-space and the cursor keys to
highlight some text in the X frame instead of using the mouse.

If I have two emacsclients running (both -t) and one sets highlights a
region, the other emacsclient does not appear to freeze.

Some output from emacs-report-bug follows (the test machine isn't
configured for sending email directly, so I cut'n'pasted it to a
different machine):

In GNU Emacs 23.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
  of 2012-03-15 on sirius7
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--prefix=/home/pjb/apps/emacs-23.4' 
'--with-gif=no''

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

Major mode: Info

Minor modes in effect:
   tooltip-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent messages:
When done with this frame, type C-x 5 0
GNU Emacs 23.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 
2012-03-15 on sirius7
When done with this frame, type C-x 5 0 [2 times]
GNU Emacs 23.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 
2012-03-15 on sirius7
When done with this frame, type C-x 5 0
Quit
Composing main Info directory...done
Mark saved where search started
Mark set
Mark saved where search started [3 times]

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock
sha1 hex-util hashcash mail-utils emacsbug multi-isearch info easymenu
server tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
font-setting tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button
minibuffer faces cus-face files text-properties overlay md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind font-render-setting gtk
x-toolkit x multi-tty emacs)


Cheers,

Phil.






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-03-19 16:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 14:46 bug#11021: 23.4; Text client hangs when region is highlighted in another frame with mouse Phil Brooke
2012-03-16 17:18 ` Jan Djärv
2012-03-17 20:31   ` Glenn Morris
2012-03-19 10:36     ` Phil Brooke
2012-03-19 12:50       ` Stefan Monnier
2012-03-19 13:41         ` Phil Brooke
2012-03-19 16:25         ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).