From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Keyboard grabs Date: Sat, 20 Apr 2002 11:27:48 -0600 (MDT) Sender: emacs-devel-admin@gnu.org Message-ID: <200204201727.g3KHRmn01459@aztec.santafe.edu> References: <200204192024.WAA04206@pc35.bodenonline.com> Reply-To: rms@gnu.org NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1019326469 28085 127.0.0.1 (20 Apr 2002 18:14:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 20 Apr 2002 18:14:29 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16yzNV-0007Is-00 for ; Sat, 20 Apr 2002 20:14:29 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16yzhS-0004lc-00 for ; Sat, 20 Apr 2002 20:35:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16yyhJ-0007Nc-00; Sat, 20 Apr 2002 13:30:53 -0400 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16yyeL-0006bS-00; Sat, 20 Apr 2002 13:27:49 -0400 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.11.6+Sun/8.9.3) with ESMTP id g3KHRma02102; Sat, 20 Apr 2002 11:27:48 -0600 (MDT) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g3KHRmn01459; Sat, 20 Apr 2002 11:27:48 -0600 (MDT) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: jan.h.d@swipnet.se In-Reply-To: <200204192024.WAA04206@pc35.bodenonline.com> (jan.h.d@swipnet.se) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2866 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2866 > Is someone working on making Emacs do a global grab > when it displays a menu? If no one is, I can do it. Nobody else is, so I would be grateful if you did that. Thus, a keyboard grab to prevent this is the only solution. It what other applications (X toolkits really) do. ISTR that there was some disagreement about that question, but if it is true that other X apps do a global grab, please do use that solution. It is good for Emacs to do what is familiar. But there should be a flag which controls whether to do the global grab. Perhaps the flag should be nil for an uninstalled Emacs. That is an easy way to arrange that the global grab will not occur when debugging.