[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.5.1 Circumventing Remapped Keys

However, if the original key binding needs to be explictly applied the send-raw-key command may be used. It will prompt for a key which will be passed to the application as-is. For example, if the send-raw-key command were bound to C-t C-q as follows:

 
(define-key *root-map* (kbd "C-q") "send-raw-key")

Then, pressing C-t C-q, while the Firefox window has focus, would prompt asking for “Press a key to send”. Pressing C-n at the prompt will send the keystroke as-is to Firefox, causing it to open a new window.

If more than a single key needs to be passed to the application as-is, the variable *remapped-keys-enabled-p* may be used. Set to nil it will disable all remapped keys.

Command: send-raw-key

Prompts for a key and forwards it to the CURRENT-WINDOW.

Variable: *remapped-keys-enabled-p*

Bool to toggle remapped-keys on/off. Defaults to t


This document was generated on January 28, 2024 using texi2html 1.82.