aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-03-31 13:22:04 -0700
committerGlenn Morris2012-03-31 13:22:04 -0700
commit40f86458ccc6edbfd82c0b430fa24c627623321f (patch)
tree23f8b818cfdf2bca7af9852d021e26c7696b825e
parent7019c1775eea9cb100e97bceb3e8048e253c08fb (diff)
downloademacs-40f86458ccc6edbfd82c0b430fa24c627623321f.tar.gz
emacs-40f86458ccc6edbfd82c0b430fa24c627623321f.zip
Doc fix for xterm-extra-capabilities
* lisp/term/xterm.el (xterm-extra-capabilities): Doc fix. * etc/PROBLEMS: Mention xterm-extra-capabilities issue.
-rw-r--r--etc/PROBLEMS17
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/term/xterm.el12
3 files changed, 28 insertions, 3 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS
index ae3f49868b2..939ce9f246d 100644
--- a/etc/PROBLEMS
+++ b/etc/PROBLEMS
@@ -1679,6 +1679,23 @@ recommended way of turning on Font-lock is by typing "M-x
1679global-font-lock-mode RET" or by customizing the variable 1679global-font-lock-mode RET" or by customizing the variable
1680`global-font-lock-mode'. 1680`global-font-lock-mode'.
1681 1681
1682** Unexpected characters inserted into the buffer when you start Emacs.
1683See eg http://debbugs.gnu.org/11129
1684
1685This can happen when you start Emacs in -nw mode in an Xterm.
1686For example, in the *scratch* buffer, you might see something like:
1687
1688 0;276;0c
1689
1690This is more likely to happen if you are using Emacs over a slow
1691connection, and begin typing before Emacs is ready to respond.
1692
1693This occurs when Emacs tries to query the terminal to see what
1694capabilities it supports, and gets confused by the answer.
1695To avoid it, set xterm-extra-capabilities to a value other than
1696`check' (the default). See that variable's documentation (in
1697term/xterm.el) for more details.
1698
1682* Runtime problems specific to individual Unix variants 1699* Runtime problems specific to individual Unix variants
1683 1700
1684** GNU/Linux 1701** GNU/Linux
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c505241e4c6..b6d33739e2a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12012-03-31 Glenn Morris <rgm@gnu.org> 12012-03-31 Glenn Morris <rgm@gnu.org>
2 2
3 * term/xterm.el (xterm-extra-capabilities): Doc fix.
4
3 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103) 5 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
4 6
5 * calendar/calendar.el (calendar-window-list) 7 * calendar/calendar.el (calendar-window-list)
diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el
index eea6d767512..7e56cd9fa1d 100644
--- a/lisp/term/xterm.el
+++ b/lisp/term/xterm.el
@@ -30,9 +30,15 @@
30 :group 'emacs) 30 :group 'emacs)
31 31
32(defcustom xterm-extra-capabilities 'check 32(defcustom xterm-extra-capabilities 'check
33 "Set to a list if the XTerm supports modifyOtherKeys or 33 "Whether Xterm supports some additional, more modern, features.
34reporting the background color. Set to 'check to check for those 34If nil, just assume that it does not.
35features. Set to nil to skip the checks." 35If `check', try to check if it does.
36If a list, assume that the listed features are supported, without checking.
37
38The relevant features are:
39 modifyOtherKeys -- if supported, more key bindings work (e.g, \"\\C-,\")
40 reportBackground -- if supported, Xterm reports its background color
41"
36 :version "24.1" 42 :version "24.1"
37 :group 'xterm 43 :group 'xterm
38 :type '(choice (const :tag "No" nil) 44 :type '(choice (const :tag "No" nil)