diff options
| author | Glenn Morris | 2017-06-11 16:20:40 -0700 |
|---|---|---|
| committer | Glenn Morris | 2017-06-11 16:20:40 -0700 |
| commit | f5ea4efbe7fd90d0d244375ffe7cc3250d322dbf (patch) | |
| tree | b186339f598134f5983e41b920ae5b4dffe7c2dd | |
| parent | 87958db425812ec7cacf9ad3f8db22a91e3db4e4 (diff) | |
| parent | eaa00584ceb30fd1170bf06f2514f3b6e4192329 (diff) | |
| download | emacs-f5ea4efbe7fd90d0d244375ffe7cc3250d322dbf.tar.gz emacs-f5ea4efbe7fd90d0d244375ffe7cc3250d322dbf.zip | |
Merge from origin/emacs-25
eaa00584ceb Improve documentation of 'gnutls-verify-error'
908498cc01b ; etc/PROBLEMS: Describe GTK-related crashes on elementar...
741daec617e ; Describe the problem with ksh when resizing shell window
| -rw-r--r-- | etc/PROBLEMS | 33 | ||||
| -rw-r--r-- | lisp/net/gnutls.el | 22 |
2 files changed, 54 insertions, 1 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 593eb6b745d..c650f1a7f9c 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -217,6 +217,28 @@ result in an endless loop. | |||
| 217 | If you need Emacs to be able to recover from closing displays, compile | 217 | If you need Emacs to be able to recover from closing displays, compile |
| 218 | it with the Lucid toolkit instead of GTK. | 218 | it with the Lucid toolkit instead of GTK. |
| 219 | 219 | ||
| 220 | ** Emacs compiled with GTK crashes at startup due to X protocol error. | ||
| 221 | |||
| 222 | This is known to happen on elementary OS GNU/Linux systems. | ||
| 223 | |||
| 224 | The error message is: | ||
| 225 | |||
| 226 | X protocol error: BadMatch (invalid parameter attributes) on protocol request 140 | ||
| 227 | When compiled with GTK, Emacs cannot recover from X disconnects. | ||
| 228 | This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715 | ||
| 229 | For details, see etc/PROBLEMS. | ||
| 230 | Fatal error 6: Aborted | ||
| 231 | |||
| 232 | followed by a C backtrace. (Sometimes the offending protocol request | ||
| 233 | number is 139.) | ||
| 234 | |||
| 235 | The relevant bug report is here: | ||
| 236 | |||
| 237 | https://bugs.launchpad.net/elementaryos/+bug/1355274 | ||
| 238 | |||
| 239 | A workaround is to set XLIB_SKIP_ARGB_VISUALS=1 in the environment | ||
| 240 | before starting Emacs, or run Emacs as root. | ||
| 241 | |||
| 220 | ** Emacs crashes when you try to view a file with complex characters. | 242 | ** Emacs crashes when you try to view a file with complex characters. |
| 221 | 243 | ||
| 222 | For example, the etc/HELLO file (as shown by C-h h). | 244 | For example, the etc/HELLO file (as shown by C-h h). |
| @@ -469,6 +491,17 @@ problem by adding this to your .cshrc file: | |||
| 469 | stty -icrnl -onlcr -echo susp ^Z | 491 | stty -icrnl -onlcr -echo susp ^Z |
| 470 | endif | 492 | endif |
| 471 | 493 | ||
| 494 | *** In Shell buffers using ksh, resizing a window inserts random characters. | ||
| 495 | |||
| 496 | The characters come from the PS2 prompt, but they are not followed by | ||
| 497 | a newline, which messes up the next command you type. This strange | ||
| 498 | effect is caused by Emacs 25 and later telling the shell that its | ||
| 499 | screen size changed. | ||
| 500 | |||
| 501 | To work around the problem, customize the option | ||
| 502 | 'window-adjust-process-window-size-function' to "Do not adjust process | ||
| 503 | window sizes" (Lisp value 'ignore'). | ||
| 504 | |||
| 472 | *** In Inferior Python mode, input is echoed and native completion doesn't work. | 505 | *** In Inferior Python mode, input is echoed and native completion doesn't work. |
| 473 | <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25753> | 506 | <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25753> |
| 474 | 507 | ||
diff --git a/lisp/net/gnutls.el b/lisp/net/gnutls.el index d0dab738164..5db87329c36 100644 --- a/lisp/net/gnutls.el +++ b/lisp/net/gnutls.el | |||
| @@ -52,7 +52,27 @@ set this variable to \"normal:-dhe-rsa\"." | |||
| 52 | string)) | 52 | string)) |
| 53 | 53 | ||
| 54 | (defcustom gnutls-verify-error nil | 54 | (defcustom gnutls-verify-error nil |
| 55 | "If non-nil, this should be a list of checks per hostname regex or t." | 55 | "If non-nil, this should be t or a list of checks per hostname regex. |
| 56 | If nil, the default, failures in certificate verification will be | ||
| 57 | logged (subject to `gnutls-log-level'), but the connection will be | ||
| 58 | allowed to proceed. | ||
| 59 | If the value is a list, it should have the form | ||
| 60 | |||
| 61 | ((HOST-REGEX FLAGS...) (HOST-REGEX FLAGS...) ...) | ||
| 62 | |||
| 63 | where each HOST-REGEX is a regular expression to be matched | ||
| 64 | against the hostname, and FLAGS is either t or a list of | ||
| 65 | one or more verification flags. The supported flags and the | ||
| 66 | corresponding conditions to be tested are: | ||
| 67 | |||
| 68 | :trustfiles -- certificate must be issued by a trusted authority. | ||
| 69 | :hostname -- hostname must match presented certificate's host name. | ||
| 70 | t -- all of the above conditions are tested. | ||
| 71 | |||
| 72 | If the condition test fails, an error will be signaled. | ||
| 73 | |||
| 74 | If the value of this variable is t, every connection will be subjected | ||
| 75 | to all of the tests described above." | ||
| 56 | :group 'gnutls | 76 | :group 'gnutls |
| 57 | :version "24.4" | 77 | :version "24.4" |
| 58 | :type '(choice | 78 | :type '(choice |