From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jussi Lahdenniemi Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Override Windows default Win-* key combinations when using Emacs Date: Wed, 13 Jan 2016 07:07:10 +0200 Organization: Aprikoodi Oy Message-ID: <5695DB7E.1010102@aprikoodi.fi> References: <568BBC58.50702@aprikoodi.fi> <83y4c43qkh.fsf@gnu.org> <5691667C.5000009@aprikoodi.fi> <838u3wkkvb.fsf@gnu.org> <5694E07E.8010005@aprikoodi.fi> <32755.1452611336@ccs.covici.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1452661656 9963 80.91.229.3 (13 Jan 2016 05:07:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2016 05:07:36 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: covici@ccs.covici.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 13 06:07:26 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aJDeX-0001wy-Af for ged-emacs-devel@m.gmane.org; Wed, 13 Jan 2016 06:07:25 +0100 Original-Received: from localhost ([::1]:35366 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJDeW-0003FK-30 for ged-emacs-devel@m.gmane.org; Wed, 13 Jan 2016 00:07:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJDeS-0003FB-T9 for emacs-devel@gnu.org; Wed, 13 Jan 2016 00:07:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJDeP-0008Cq-Nn for emacs-devel@gnu.org; Wed, 13 Jan 2016 00:07:20 -0500 Original-Received: from nbjjceehcbh.turbo-smtp.net ([199.244.72.17]:28925) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1aJDeP-0008C6-FX for emacs-devel@gnu.org; Wed, 13 Jan 2016 00:07:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aprikoodi.fi; s=turbo-smtp; x=1453266437; h=DomainKey-Signature: Received:Received:Subject:To:References:Cc:From:Organization: Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type: Content-Transfer-Encoding; bh=iAQkiv6iB6qaxIiIgnXlyG+v33zANBd2vR W2srCi2JE=; b=P2IjlbuCxAKZJWNmLmkYZZeZpoqYB8xMA+YcaChEi6uPxLir/D RARm4VJFCukoj4eHKEFK7n6GofKUzCNoBNWOEnTHcbu2ApuTpcoxZoNBWaUZ6koc bux4fmUaEGFz81f4c8kE9s9HWfthYx0wDXs5lGcAqQARScC1EJ3dsWjNg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=turbo-smtp; d=aprikoodi.fi; h=Received:Received:X-TurboSMTP-Tracking:Subject:To:References:Cc:From:Organization:Message-ID:Date:User-Agent:MIME-Version:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=DNevGTe1+ZbWlRprYwGC2lY3znB9T/2Rghe682Jl9cS8pGQP7kv1c4VhVoQtob PHbTPIQo1asLf7khmbANhHi3JxPXbVJMB0KTRfY7OtCW4yibJfjS5Qt3yX3WOVlh W+odJcvkOAgzT3X+KhWkGVdcYu6M7j6G62cYgMZKqk1o8=; Original-Received: (qmail 1407 invoked from network); 13 Jan 2016 05:07:15 -0000 Original-Received: from unknown (HELO ?192.168.100.12?) (authenticated@109.240.64.170) by turbo-smtp.com with SMTP; 13 Jan 2016 05:07:15 -0000 X-TurboSMTP-Tracking: 2731423183 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: <32755.1452611336@ccs.covici.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 199.244.72.17 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:198106 Archived-At: On 12.1.2016 17.08, covici@ccs.covici.com wrote: > I have a screen reader which is also doing keyboard coding at the low > level, I wonder if this patch would effect that program? Also, I hope > you don't hijack alt-tab, that is necessary even when emacs is running. My code does not hijack anything unless the user wants to. Alt-tab can be captured with the call (w32-register-hot-key [M-tab]), but unless that call is issued, there is no effect. The possible effect to the screen reader is that the screen reader's hook does not necessarily get to see the keypress events of the Windows keys and the captured Alt-* combinations. All other input goes through as-is. If the w32-register-hot-key function is not called, ALL input goes through as-is. -- Jussi Lahdenniemi