all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* strange Gnome event problem
@ 2002-12-06 18:36 Kin Cho
  0 siblings, 0 replies; only message in thread
From: Kin Cho @ 2002-12-06 18:36 UTC (permalink / raw)


Hi,

I want to do some processing in an user interruptible way.  The
logic is essentially this:

(catch 'done
  (let ((cnt 0))
    (while t
      (when (and (not (sit-for 1)) (= (read-char-exclusive) ?q))
	(throw 'done t))
      (message "%d" cnt)
      (setq cnt (1+ cnt)))))

So if I press q, the processing stops.

The problem is that if I switch desktop with the Gnome desktop
pager, the processing stops.  If I press a key, processing
resumes.

This problem doesn't happen if I stay in the same desktop, and
only change focus to another application.

Any idea how to fix/work-around this problem?

-kin

system info:

GNU Emacs 21.2.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2002-08-01 on nscldt26

Linux nscldt26 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 2001 i686 unknown

Installed gnome related packages:

gnome-libs-1.2.13-16
gnome-pim-1.2.0-13
libgnomeprint15-0.29-6
rep-gtk-gnome-0.15-6
switchdesk-gnome-3.9.7-1
gnome-applets-1.4.0.1-6
xmms-gnome-1.2.5-7
gnome-core-devel-1.4.0.4-38
gnome-games-devel-1.4.0.1-4
gnome-audio-1.0.0-12
pygnome-1.4.1-3
pygnome-libglade-1.4.1-3
gdk-pixbuf-gnome-0.11.0-8
gnome-audio-extra-1.0.0-12
gnome-user-docs-1.4.1-1
gnome-print-0.29-6
gnome-vfs-extras-0.1.3-1
gnome-core-1.4.0.4-38
gnome-utils-1.4.0-4
openssh-askpass-gnome-2.9p2-7
licq-gnome-1.0.3-7
gnome-games-1.4.0.1-4
gnome-libs-devel-1.2.13-16
gnome-vfs-1.0.1-17
gnome-media-1.2.3-4
rhn_register-gnome-2.7.2-7.x.2
up2date-gnome-2.7.2-7.x.6
gnome-pim-devel-1.2.0-13

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-06 18:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-06 18:36 strange Gnome event problem Kin Cho

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.