From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#5040: 23.1; w32-register-hot-key problem Date: Wed, 25 Nov 2009 13:10:53 -0800 Message-ID: Reply-To: Drew Adams , 5040@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1259184580 2141 80.91.229.12 (25 Nov 2009 21:29:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 25 Nov 2009 21:29:40 +0000 (UTC) To: Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 25 22:29:33 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NDPQV-00071Q-SW for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Nov 2009 22:29:28 +0100 Original-Received: from localhost ([127.0.0.1]:58028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDPQV-0000y3-FY for geb-bug-gnu-emacs@m.gmane.org; Wed, 25 Nov 2009 16:29:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDPOd-0007JR-1j for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:27:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDPOY-0007FD-OM for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:27:30 -0500 Original-Received: from [199.232.76.173] (port=33422 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDPOY-0007Ew-AQ for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:27:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40017) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDPOX-0001zt-RZ for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:27:26 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAPLRMCT002298; Wed, 25 Nov 2009 13:27:23 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAPLK5wS001562; Wed, 25 Nov 2009 13:20:05 -0800 Resent-Date: Wed, 25 Nov 2009 13:20:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 25 Nov 2009 21:20:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 5040 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.1259183465921 (code B ref -1); Wed, 25 Nov 2009 21:20:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 25 Nov 2009 21:11:05 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAPLB3b1000918 for ; Wed, 25 Nov 2009 13:11:05 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDP8h-0006Xh-IK for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:11:03 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDP8d-0006SX-PT for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:11:03 -0500 Original-Received: from [199.232.76.173] (port=47815 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDP8d-0006SL-Jt for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:10:59 -0500 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:23865) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NDP8d-0007vd-8c for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2009 16:10:59 -0500 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nAPLBuxm003730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 25 Nov 2009 21:11:57 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id nAPKJM81026675 for ; Wed, 25 Nov 2009 21:10:52 GMT Original-Received: from abhmt009.oracle.com by acsmt354.oracle.com with ESMTP id 616078891259183443; Wed, 25 Nov 2009 13:10:43 -0800 Original-Received: from dradamslap1 (/141.144.80.204) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 25 Nov 2009 13:10:43 -0800 X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcpuE8WW4wm/QYCLQdKfhQOdqKAK2Q== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4B0D9D5D.00FE:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 25 Nov 2009 16:27:30 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32931 Archived-At: emacs -Q M-: (w32-register-hot-key [M-tab]) Visit a buffer in emacs-lisp-mode. Type `forward-', then hit `M-TAB'. The Windows TAB dialog comes up (dunno what you call it - a seqence of icons; you TAB to cycle among their apps) when you hold down the keys and then disappears when you release them. It should not not come up at all; instead, `lisp-complete-symbol' should be executed. However, from then on it works as it should. It is only the first time you press `M-TAB' that Windows doesn't pass the chord to Emacs. emacs -Q M-: (w32-register-hot-key [M-tab]) Visit a buffer in emacs-lisp-mode. `C-h k M-TAB'. Same as above: the Windows TAB dialog comes up and then disappears when you release the keys. And from then on it works OK. In sum, after evalling (w32-register-hot-key [M-tab]) the first `M-TAB' should be seen by Emacs, but it is not. Only subsequent `M-TAB's are seen by Emacs. This worked perfectly in Emacs 20 and 21. It is broken starting with Emacs 22. In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-29 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4)' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-: C-y C-h k C-g C-g C-x 1 C-h k C-g C-g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. 265 (#o411, #x109) Type C-x 1 to delete the help window. Quit Type C-x 1 to delete the help window, C-M-v to scroll help. Quit Quit