From 741daec617e978b3f02bc2480f5200930449c805 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 9 May 2017 19:34:39 +0300 Subject: [PATCH 1/3] ; Describe the problem with ksh when resizing shell window * etc/PROBLEMS: Mention the problem with ksh when the shell window is resized. For details, see the discussion starting in http://lists.gnu.org/archive/html/emacs-devel/2017-04/msg00888.html. Reported by Mike Kupfer . --- etc/PROBLEMS | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 029f7560da0..62c5e9e1a80 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -464,6 +464,17 @@ problem by adding this to your .cshrc file: stty -icrnl -onlcr -echo susp ^Z endif +*** In Shell buffers using ksh, resizing a window inserts random characters. + +The characters come from the PS2 prompt, but they are not followed by +a newline, which messes up the next command you type. This strange +effect is caused by Emacs 25 and later telling the shell that its +screen size changed. + +To work around the problem, customize the option +'window-adjust-process-window-size-function' to "Do not adjust process +window sizes" (Lisp value 'ignore'). + *** In Inferior Python mode, input is echoed and native completion doesn't work. From 908498cc01b55216c2b040fac68463557b143703 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 9 May 2017 19:48:18 +0300 Subject: [PATCH 2/3] ; etc/PROBLEMS: Describe GTK-related crashes on elementary OS. --- etc/PROBLEMS | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 62c5e9e1a80..3bd34bfaa53 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS @@ -217,6 +217,28 @@ result in an endless loop. If you need Emacs to be able to recover from closing displays, compile it with the Lucid toolkit instead of GTK. +** Emacs compiled with GTK crashes at startup due to X protocol error. + +This is known to happen on elementary OS GNU/Linux systems. + +The error message is: + + X protocol error: BadMatch (invalid parameter attributes) on protocol request 140 + When compiled with GTK, Emacs cannot recover from X disconnects. + This is a GTK bug: https://bugzilla.gnome.org/show_bug.cgi?id=85715 + For details, see etc/PROBLEMS. + Fatal error 6: Aborted + +followed by a C backtrace. (Sometimes the offending protocol request +number is 139.) + +The relevant bug report is here: + + https://bugs.launchpad.net/elementaryos/+bug/1355274 + +A workaround is to set XLIB_SKIP_ARGB_VISUALS=1 in the environment +before starting Emacs, or run Emacs as root. + ** Emacs crashes when you try to view a file with complex characters. For example, the etc/HELLO file (as shown by C-h h). From eaa00584ceb30fd1170bf06f2514f3b6e4192329 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 9 May 2017 22:04:45 +0300 Subject: [PATCH 3/3] Improve documentation of 'gnutls-verify-error' * lisp/net/gnutls.el (gnutls-verify-error): Improve and expand doc string. (Bug#26845) --- lisp/net/gnutls.el | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/lisp/net/gnutls.el b/lisp/net/gnutls.el index 02b5895e581..7e7521d877b 100644 --- a/lisp/net/gnutls.el +++ b/lisp/net/gnutls.el @@ -52,7 +52,27 @@ set this variable to \"normal:-dhe-rsa\"." string)) (defcustom gnutls-verify-error nil - "If non-nil, this should be a list of checks per hostname regex or t." + "If non-nil, this should be t or a list of checks per hostname regex. +If nil, the default, failures in certificate verification will be +logged (subject to `gnutls-log-level'), but the connection will be +allowed to proceed. +If the value is a list, it should have the form + + ((HOST-REGEX FLAGS...) (HOST-REGEX FLAGS...) ...) + +where each HOST-REGEX is a regular expression to be matched +against the hostname, and FLAGS is either t or a list of +one or more verification flags. The supported flags and the +corresponding conditions to be tested are: + + :trustfiles -- certificate must be issued by a trusted authority. + :hostname -- hostname must match presented certificate's host name. + t -- all of the above conditions are tested. + +If the condition test fails, an error will be signaled. + +If the value of this variable is t, every connection will be subjected +to all of the tests described above." :group 'gnutls :version "24.4" :type '(choice