0

I have a key sequence for M-<SPC>:

(global-set-key (kbd "M-<SPC> a") 'foobar)

I would like to increase the timeout between keystrokes M and <SPC> for building M-<SPC>. How can I do it?

  • I think that happens at the OS level, not at Emacs. That is, I don't think Emacs receives the M- modifier until it comes bundled together with the M-<SPC>. In other words, Emacs can't detect when you're pressing the M key on it's own. What you're describing sounds like a One-shot key, which is a feature of programmable keyboards. – Tyler Aug 22 at 14:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.