I would like to disable the use of the mouse within Emacs's term mode. By this I mean that I want mouse clicks within the Emacs terminal window to have no effect; I want mouse clicks elsewhere to be unaffected.
You can use my disable-mouse package to do this easily, either locally in a particular mode such as term-mode
, or globally throughout Emacs.