all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "B. T. Raven" <ecinmn@alcisp.com>
Subject: Re: w32-pass-lwindow-to-system (& ...rwindow)
Date: Sun, 24 Sep 2006 19:32:04 -0500	[thread overview]
Message-ID: <a1c73$45172213$49f26c4$20717@DIALUPUSA.NET> (raw)
In-Reply-To: mailman.7319.1159116339.9609.help-gnu-emacs@gnu.org


"Eli Zaretskii" <eliz@gnu.org> wrote in message
news:mailman.7319.1159116339.9609.help-gnu-emacs@gnu.org...
> > From: "B. T. Raven" <ecinmn@alcisp.com>
> > 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

  parent reply	other threads:[~2006-09-25  0:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-22  0:46 w32-pass-lwindow-to-system (& ...rwindow) B. T. Raven
2006-09-23 15:44 ` Eli Zaretskii
     [not found] ` <mailman.7285.1159026303.9609.help-gnu-emacs@gnu.org>
2006-09-23 16:57   ` Mathias Dahl
2006-09-23 18:17     ` B. T. Raven
2006-09-24 12:59       ` Eli Zaretskii
2006-09-24 16:45       ` Eli Zaretskii
     [not found]       ` <mailman.7319.1159116339.9609.help-gnu-emacs@gnu.org>
2006-09-25  0:32         ` B. T. Raven [this message]
2006-09-25  3:21           ` Eli Zaretskii
     [not found]           ` <mailman.7336.1159154474.9609.help-gnu-emacs@gnu.org>
2006-09-25 11:55             ` B. T. Raven
2006-09-24  0:50     ` Lennart Borgman
2006-09-24  7:13       ` Eli Zaretskii
2006-09-24  9:59         ` Lennart Borgman
2006-09-24 12:48           ` Eli Zaretskii
2006-09-24 13:19             ` Lennart Borgman
     [not found]     ` <mailman.7293.1159059034.9609.help-gnu-emacs@gnu.org>
2006-09-24  3:34       ` B. T. Raven
2006-09-24  7:08         ` Eli Zaretskii
2006-09-24 10:19         ` Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='a1c73$45172213$49f26c4$20717@DIALUPUSA.NET' \
    --to=ecinmn@alcisp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.