Subject: bug#22837: 25.0.91; M-S-Fn combos available in xterm

From: Tino Calancha <[email-masked]>
Date: Mon, 29 Feb 2016 01:17:02 +0900 (JST)

Meta + shift + Fn combos are recognized by xterm>=216.
They are useful. Its good if they are included in
xterm-alternatives-map.

In GNU Emacs 25.0.91.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.29)
Repository revision: 52f64cc2e74ab83752c8f2d37ef0fc6df5ef8b30

diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el
index e06423c..ccf2418 100644
--- a/lisp/term/xterm.el
+++ b/lisp/term/xterm.el
@@ -590,6 +590,19 @@ xterm-alternatives-map
     (define-key map [f59] [M-f11])
     (define-key map [f60] [M-f12])
 
+    (define-key map [f61] [M-S-f1])
+    (define-key map [f62] [M-S-f2])
+    (define-key map [f63] [M-S-f3])
+    (define-key map [f64] [M-S-f4])
+    (define-key map [f65] [M-S-f5])
+    (define-key map [f66] [M-S-f6])
+    (define-key map [f67] [M-S-f7])
+    (define-key map [f68] [M-S-f8])
+    (define-key map [f69] [M-S-f9])
+    (define-key map [f70] [M-S-f10])
+    (define-key map [f71] [M-S-f11])
+    (define-key map [f72] [M-S-f12])
+    
     map)
   "Keymap of possible alternative meanings for some keys.")