commit a20d2e6625392cced400f5983f998bf2673c9d57 (HEAD, refs/remotes/origin/master) Author: martin rudalics Date: Fri Apr 13 07:42:19 2018 +0000 * lisp/gnus/gnus-art.el (gnus-article-prepare): Fix previous commit, in which selecting the article window is not necessary (bug#25526). diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index f8a29ea2e5..ed6e77fb32 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el @@ -4697,9 +4697,10 @@ If ALL-HEADERS is non-nil, no headers are hidden." (set-window-point (get-buffer-window (current-buffer)) (point)) (gnus-configure-windows 'article) ;; Make sure the article begins with the top of the header. - (save-selected-window - (select-window (get-buffer-window gnus-article-buffer)) - (goto-char (point-min))) + (let ((window (get-buffer-window gnus-article-buffer))) + (when window + (with-current-buffer (window-buffer window) + (set-window-point window (point-min))))) (gnus-run-hooks 'gnus-article-prepare-hook) t)))))) commit 93678bffe6427b9d83dae032c56a4e480539a4a7 Author: Lars Ingebrigtsen Date: Fri Apr 13 02:23:49 2018 +0200 Remove unused local variable diff --git a/lisp/net/eww.el b/lisp/net/eww.el index f225079577..10d9c47e8d 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -1239,8 +1239,7 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.") :eww-form eww-form)) (options nil) (start (point)) - (max 0) - opelem) + (max 0)) (dolist (elem (dom-non-text-children dom)) (when (eq (dom-tag elem) 'option) (when (dom-attr elem 'selected) commit e6c4a0298eb66e9a9dacd67f9b9a13d8aae97c49 Author: Lars Ingebrigtsen Date: Fri Apr 13 02:21:30 2018 +0200 Treat 302 redirects as if they were 303 redirects * lisp/url/url-http.el (url-http-parse-headers): Treat 302 as 303, since this is what the standards recommend these days (bug#25703). See https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index aed0efab01..e2d7a50e29 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -623,6 +623,12 @@ should be shown to the user." ;; We do not support agent-driven negotiation, so we just ;; redirect to the preferred URI if one is provided. nil) + (`found ; 302 + ;; 302 Found was ambiguously defined in the standards, but + ;; it's now recommended that it's treated like 303 instead + ;; of 307, since that's what most servers expect. + (setq url-http-method "GET" + url-http-data nil)) (`see-other ; 303 ;; The response to the request can be found under a different ;; URI and SHOULD be retrieved using a GET method on that commit 45c4c03f0d55b4bcca499ca6d55a4ebbcd47bbf9 Author: Lars Ingebrigtsen Date: Fri Apr 13 02:08:40 2018 +0200 Make eww render elements (bug#25703). diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 9490d31922..f225079577 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -1241,12 +1241,7 @@ See URL `https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input'.") (start (point)) (max 0) opelem) - (if (eq (dom-tag dom) 'optgroup) - (dolist (groupelem (dom-children dom)) - (unless (dom-attr groupelem 'disabled) - (setq opelem (append opelem (list groupelem))))) - (setq opelem (list dom))) - (dolist (elem opelem) + (dolist (elem (dom-non-text-children dom)) (when (eq (dom-tag elem) 'option) (when (dom-attr elem 'selected) (nconc menu (list :value (dom-attr elem 'value)))) commit dd0d2e0fdd7c130255d9cfd83638da63ac9daf04 Author: Lars Ingebrigtsen Date: Fri Apr 13 01:51:56 2018 +0200