I regularly use the backspace key to delete whole words at a time to the left of the cursor, but this would be a MUCH easier keystroke if it could be done one-handed. For that to happen - I would need to use the right key. But when I do this from EMACS' response it is clearly interpreting this key as being different form the left key.
In this answer the poster identifies a method to achieve this outcome of changing the keymap: https://stackoverflow.com/questions/10257352/right-alt-key-not-working-as-meta-key-in-emacs
I would like to do this by "tweaking" emacs rather than change my keymap in the OS.
Does anybody know how to tell emacs that right alt is the same as left alt?
I am using Windows 10 as my OS
I am accessing EMACS through PUTTY: Release 0.70
onto a Red Hat Enterprise Linux Workstation release 7.6 (Maipo)
EMACS Version: GNU Emacs 24.3.1
This is on my Universities linux Lab - so I am not likely to have a lot of ability to edit config files for EMACS either...
M-x emacs-version
.xev
program is available on your RedHat computer, run it in a terminal and see what keycode the OS provides for the right and left alt keys. For me I seeAlt_R
andAlt_L
. Then check to see what key codes are passed to Emacs when you press those keys:C-h k M-backspace
, using the right and left keys forM
.