From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Key bindings proposal Date: Fri, 6 Aug 2010 04:38:21 +0200 Message-ID: References: <19534.1494.627000.357123@gargle.gargle.HOWL> <19537.40472.267000.563053@gargle.gargle.HOWL> <176EDAD3B9E54E39870FA3F84A5DDF3C@us.oracle.com> <19542.56658.583000.394397@gargle.gargle.HOWL> <19544.1015.468000.280770@gargle.gargle.HOWL> <19546.30901.687000.971249@gargle.gargle.HOWL> <19546.47167.15000.439215@gargle.gargle.HOWL> <4C5B5C39.9090104@gnu.org> <4C5B66DD.2060901@gnu.org> <871vac7aeh.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1281062346 14529 80.91.229.12 (6 Aug 2010 02:39:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Aug 2010 02:39:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?UTF-8?Q?=C3=93scar_Fuentes?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 06 04:39:05 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OhCpr-0006o1-Vu for ged-emacs-devel@m.gmane.org; Fri, 06 Aug 2010 04:39:04 +0200 Original-Received: from localhost ([127.0.0.1]:55316 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhCpr-0000fm-Er for ged-emacs-devel@m.gmane.org; Thu, 05 Aug 2010 22:39:03 -0400 Original-Received: from [140.186.70.92] (port=58458 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhCpZ-0000Zh-No for emacs-devel@gnu.org; Thu, 05 Aug 2010 22:38:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhCpW-0005RR-1r for emacs-devel@gnu.org; Thu, 05 Aug 2010 22:38:45 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:47478) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhCpV-0005RN-Tz for emacs-devel@gnu.org; Thu, 05 Aug 2010 22:38:42 -0400 Original-Received: by qwk4 with SMTP id 4so5278653qwk.0 for ; Thu, 05 Aug 2010 19:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=/As6G+q1k/rcw4zJtBZcLzkHualudnzuw+3Tt3DvVEs=; b=GS8MNJXtCBb7OU2YhiKCN/R1/K6MpeYyZPcPc9sBBhXjpkrsNnDzO3h/ODLIMJRv8/ /ZFvt8Sv6WlwHLcnb6vqYZBZ7Uu5PJQNPWW0wrdoRNaCUoMpJX9s4EGXyQDLP1MUpkY2 5KAlidcrL0yD6WrX7n4LV3TaErBUL8Ui5qANw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=IAD4TmkhWatmPdzYIXzkvyWF7M99pqsfinnaG/p22dWsF5x/RgqthWYifb0dsav3C6 XO7gAUo5+rdse8oDY/3B2t/nET+Sku6myUFhg8EGf3ZAwOtqfcPgjheSvGaWoHpQ9ZC3 ayYoUvU5H4cQ/xp6OW47z/IAucdL3Z1k4EPBY= Original-Received: by 10.229.250.208 with SMTP id mp16mr4214287qcb.131.1281062321131; Thu, 05 Aug 2010 19:38:41 -0700 (PDT) Original-Received: by 10.229.9.84 with HTTP; Thu, 5 Aug 2010 19:38:21 -0700 (PDT) In-Reply-To: <871vac7aeh.fsf@telefonica.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:128340 Archived-At: On Fri, Aug 6, 2010 at 4:16 AM, =C3=93scar Fuentes wrote: > Lennart Borgman writes: > >> On Fri, Aug 6, 2010 at 3:41 AM, Lennart Borgman >> wrote: >>> On Fri, Aug 6, 2010 at 3:35 AM, Jason Rumney wrote: >> >>>> http://stackoverflow.com/questions/2490577/suppress-task-switch-keys-w= inkey-alt-tab-alt-esc-ctrl-esc-using-low-level-ke >>> >>> >>> Thanks. I will test the last one and see. That is a recent article. >> >> This article code uses HasAltModifier to test for Alt in the low level >> keyboard hook. It seems to be some c++ variant. What can I do instead >> in Emacs? > > HasAltModifier is defined right there at the bottom, on the same code > example. If you want C examples for any OS version down to Windows 95 > and NT 3.51, the first link on Jason's list shows the way. Ah, thanks. I will never learn to read C. > BTW, intercepting Alt+Tab, Ctrl+Esc and even Ctrl-Alt-Del is a common > requirement. Have you ever seen a kiosk-mode application? Yes, but it looks like maybe for those you instead toggle CoolSwitch in the registry: http://stackoverflow.com/questions/2970683/disable-windows-and-alt-tab-key-= combos But I am not sure, see my prev post.