From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "B. T. Raven" Newsgroups: gmane.emacs.help Subject: Re: w32-pass-lwindow-to-system (& ...rwindow) Date: Sun, 24 Sep 2006 19:32:04 -0500 Organization: UseNetServer.com Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1159144881 28050 80.91.229.2 (25 Sep 2006 00:41:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Sep 2006 00:41:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Sep 25 02:41:20 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GReX1-0001z1-Ov for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Sep 2006 02:41:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GReX1-0004rN-CV for geh-help-gnu-emacs@m.gmane.org; Sun, 24 Sep 2006 20:41:11 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news.glorb.com!uns-out.usenetserver.com!news.usenetserver.com!pc03.usenetserver.com!DIALUPUSA.NET!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-X-Complaints-To: abuse@usenetserver.com Original-Lines: 46 Original-X-Trace: a1c7345172213a13a836120717 Original-Xref: shelby.stanford.edu gnu.emacs.help:141974 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37594 Archived-At: "Eli Zaretskii" wrote in message news:mailman.7319.1159116339.9609.help-gnu-emacs@gnu.org... > > From: "B. T. Raven" > > Date: Sat, 23 Sep 2006 13:17:57 -0500 > > > > Probably not relevant, but the following work alright: > > > > (global-set-key [(super g)] 'goto-line) > > (global-set-key [(super b)] 'bury-buffer) > > (global-set-key [(super k)] (lambda () (interactive) (kill-line 0 ))) > > FWIW, another workaround is to use a modified key; e.g., the following > should work: > > (global-set-key [(super shift r)] 'goto-line) > > alternatively, use the normal binding: > > (global-set-key [(super r)] 'goto-line) > > but hold the Shift key while you press LWindow-r. The Run dialog will > not pop up because of Shift being down, but Emacs will translate > LWindow-R to LWindow-r, and invoke your function. > > Thanks, Eli. That's an acceptable work-around for now. While we're on the topic, do you know if it would be possible to make all modifier key combos sticky dynamically (like the escape key)? For example if I pressed shift-super the scancodes produced by the keys' down status would be held somehow so that they could modify a non-modifier key AFTER they have been released. Then you could stack 6 or even 7 modifiers with a single alphabetic key (actually any non-modifier key). Since the escape key is too far away to be useful, that could function as an abort from sticky key sequence, assuming that C-g wouldn't work in this context. Probably also needs a one line buffer dedicated to the pending key-stack since these aren't always in the minibuffer for some reason. If anyone out there thinks this isn't too bizarre for words then ask me about my (putative) RISK keyboard (split spacebar and a complete set of alt, meta, control, shift, super, duper, and hyper for each pinkie and as a bonus it allows chucking about 30 keys from the 105 key keyboard, more if you don't need a numeric keypad. ;-)) Just a thought. Ed