When I use emacs
, I often end up typing many exciting key combinations which I would usually not use, such as C-M-t (i.e. Ctrl - Alt - T), which in emacs is supposed to run the command transpose-sexps
; however, since X or Gnome (I'm not sure which) is catching this event, this has the actual effect of opening a Terminal. Nevertheless, I enjoy and am used to having the functionality to open a new Terminal—provided that I don't have emacs open. So, is there any way to temporarily disable all keyboard shortcuts whenever the current focus is on emacs?
N.B. I happen to be using the non-graphical version of emacs emacs-nox
, so I in fact usually have a Terminal running emacs
, not a graphical emacs window.