From: Stefan Kangas Date: Fri, 15 Oct 2021 18:22:11 +0000 (+0200) Subject: Prefer "graphical displays" to "X terminals" in documentation X-Git-Tag: emacs-28.0.90~281 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b5a0eda978738467eed16b9a530d175c33418362;p=emacs.git Prefer "graphical displays" to "X terminals" in documentation * doc/lispref/objects.texi (Ctl-Char Syntax): Fix incorrect remark; some text terminals can generate ASCII control characters. (Other Char Bits): * lisp/bindings.el: * lisp/gnus/gnus-undo.el (gnus-undo-mode-map): Say "graphical display" and "GUI display" instead of "X terminal"; the latter term is archaic. (Bug#51217) --- diff --git a/doc/lispref/objects.texi b/doc/lispref/objects.texi index 365d5ac8d61..a20343f4c7a 100644 --- a/doc/lispref/objects.texi +++ b/doc/lispref/objects.texi @@ -516,9 +516,9 @@ codes for these non-@acronym{ASCII} control characters include the 2**26 @end ifnottex bit as well as the code for the corresponding non-control character. -Ordinary text terminals have no way of generating non-@acronym{ASCII} -control characters, but you can generate them straightforwardly using -X and other window systems. +Not all text terminals can generate non-@acronym{ASCII} control +characters, but it is straightforward to generate them using X and +other window systems. For historical reasons, Emacs treats the @key{DEL} character as the control equivalent of @kbd{?}: @@ -588,8 +588,8 @@ character is upper case or lower case. Emacs uses the 2**25 @end ifnottex bit to indicate that the shift key was used in typing a control -character. This distinction is possible only when you use X terminals -or other special terminals; ordinary text terminals do not report the +character. This distinction is possible only on a graphical display +such as a GUI display on X; text terminals do not report the distinction. The Lisp syntax for the shift bit is @samp{\S-}; thus, @samp{?\C-\S-o} or @samp{?\C-\S-O} represents the shifted-control-o character. diff --git a/lisp/bindings.el b/lisp/bindings.el index 2c45710a580..121e484a0ee 100644 --- a/lisp/bindings.el +++ b/lisp/bindings.el @@ -981,7 +981,7 @@ if `inhibit-field-text-motion' is non-nil." (define-key ctl-x-map "\M-:" 'repeat-complex-command) (define-key ctl-x-map "u" 'undo) (put 'undo :advertised-binding [?\C-x ?u]) -;; Many people are used to typing C-/ on X terminals and getting C-_. +;; Many people are used to typing C-/ on GUI frames and getting C-_. (define-key global-map [?\C-/] 'undo) (define-key global-map "\C-_" 'undo) ;; Richard said that we should not use C-x and I have diff --git a/lisp/gnus/gnus-undo.el b/lisp/gnus/gnus-undo.el index 64ed2bbad6b..07cf5d495a6 100644 --- a/lisp/gnus/gnus-undo.el +++ b/lisp/gnus/gnus-undo.el @@ -81,7 +81,7 @@ "\M-\C-_" gnus-undo "\C-_" gnus-undo "\C-xu" gnus-undo - ;; many people are used to type `C-/' on X terminals and get `C-_'. + ;; Many people are used to type `C-/' on GUI frames and get `C-_'. [(control /)] gnus-undo) map))