From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Ganimard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Sep 2024 04:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 73133@debbugs.gnu.org X-Debbugs-Original-To: Bug Gnu Emacs Received: via spool by submit@debbugs.gnu.org id=B.17258549274195 (code B ref -1); Mon, 09 Sep 2024 04:09:03 +0000 Received: (at submit) by debbugs.gnu.org; 9 Sep 2024 04:08:47 +0000 Received: from localhost ([127.0.0.1]:60450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snVhl-00015S-7U for submit@debbugs.gnu.org; Mon, 09 Sep 2024 00:08:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:51104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snOuA-0003A3-CI for submit@debbugs.gnu.org; Sun, 08 Sep 2024 16:53:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snOu7-0008PM-H7 for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 16:53:03 -0400 Received: from mail.w14.tutanota.de ([185.205.69.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snOu4-0006DS-Jy for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 16:53:03 -0400 Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w14.tutanota.de (Postfix) with ESMTP id 0F5121EDA1C9 for ; Sun, 8 Sep 2024 22:52:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1725828745; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=oOmesuuoAZ1DVrI0aPxlJUFi5kmf3gr4oosjYgRqW9g=; b=pnMpU2XuK0zQgwPkQH9yaOnTZNIuuBlD3HS8MAtwNziJlpLQNlmvobCQTsKb9oe4 OJ19QKA4c++iO/728SNByZO7PUXODn4N9jE58ZAez/EdKQXrL/XtV4Y1MK8xbRa1pQt lnilL62a03xC5l7n2sPfsMyZFk36k3AmsoHB/Rj1Qg/gOhjYKvQeo4bAh0CkxMJBj/6 5qEWt41BEIgx9pOqUE5urQTslEqbxnrE+G5mw4E+ZcxiaHsX51MkIfLS3wQ46GFk7CD oBjb2stE+DWcmtrQcFM8FzRvvmB6mb6Uxe8Q8OQEYtubTnLkqYxjsiB+bt9XlFIxcUt BbYahi67cg== Date: Sun, 8 Sep 2024 22:52:25 +0200 (CEST) From: Ganimard Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_197313_1020779492.1725828745056" Received-SPF: pass client-ip=185.205.69.214; envelope-from=ganimard@tuta.io; helo=mail.w14.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Mailman-Approved-At: Mon, 09 Sep 2024 00:08:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) ------=_Part_197313_1020779492.1725828745056 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To Whom it may concern, I have recently discovered the website gastonle.ru, however it does not render with Emacs Web Wowser.=C2=A0 It appears to be a relatively simple website and I cannot see what would prohibit it from rendering. I have also tried it on an Ubuntu 22.04.4 LTS distro running Emacs 28.1 but it also fails to render.=C2=A0 This therefore appears to be a bug in EW= W. --- In GNU Emacs 29.2 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-01-19 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2487 System Description:=C2=A0 macOS 14.2.1 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules 'CFLAGS=3D-DFD_SETSIZE=3D10000 -DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=3Dno' Configured features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB Important settings: =C2=A0 value of $LANG: en_NZ.UTF-8 =C2=A0 locale-coding-system: utf-8-unix Major mode: Markdown Minor modes in effect: =C2=A0 yas-global-mode: t =C2=A0 yas-minor-mode: t =C2=A0 global-git-commit-mode: t =C2=A0 magit-auto-revert-mode: t =C2=A0 shell-dirtrack-mode: t =C2=A0 server-mode: t =C2=A0 TeX-PDF-mode: t =C2=A0 TeX-source-correlate-mode: t =C2=A0 global-display-line-numbers-mode: t =C2=A0 display-line-numbers-mode: t =C2=A0 whitespace-mode: t =C2=A0 global-page-break-lines-mode: t =C2=A0 override-global-mode: t =C2=A0 tooltip-mode: t =C2=A0 global-eldoc-mode: t =C2=A0 eldoc-mode: t =C2=A0 show-paren-mode: t =C2=A0 electric-indent-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 line-number-mode: t =C2=A0 transient-mark-mode: t =C2=A0 auto-composition-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t Load-path shadows: /Users/ganimard/.emacs.d/elpa/transient-20230919.2146/transient hides /Appl= ications/Emacs.app/Contents/Resources/lisp/transient Features: (shadow sort mail-extr emacsbug files-x vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view vc bug-reference help-fns radix-tree magit-patch magit-subtree magit-gitignore magit-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util magit-extras face-remap misearch multi-isearch vc-git vc-dispatcher markdown-mode color dired-aux disp-table hl-todo flycheck forth-mode forth-spec forth-smie smie forth-syntax llvm-mode splunk-mode ess lisp-mnt ess-utils ess-custom go-mode find-file ffap etags fileloop xref rust-utils rust-mode rust-rustfmt rust-playpen rust-compile rust-cargo yasnippet magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff diff-mode git-commit log-edit pcvs-util add-log magit-core magit-autorevert autorevert magit-margin magit-transient magit-process with-editor shell server magit-mode transient magit-git magit-base magit-section cursor-sensor dash auctex-latexmk latex latex-flymake flymake-proc flymake project compile warnings tex-ispell tex-style tex texmathp latex-preview-pane doc-view filenotify jka-compr image-mode exif auctex ebib ebib-reading-list ebib-notes org-element org-persist xdg org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color org-list org-footnote org-faces org-entities noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle org-table org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs ol org-fold org-fold-core org-compat ring avl-tree generator org-version org-macs ebib-filters ebib-keywords ebib-utils ebib-db message sendmail yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader format-spec parsebib rx hl-line pp crm bibtex iso8601 time-date writeroom-mode visual-fill-column olivetti multiple-cursors mc-separate-operations rectangular-region-mode mc-mark-pop mc-edit-lines mc-hide-unmatched-lines-mode mc-mark-more thingatpt mc-cycle-cursors multiple-cursors-core advice rect move-text no-littering compat paredit edmacro kmacro display-line-numbers whitespace page-break-lines smart-mode-line-atom-one-dark-theme cl-extra help-mode atom-one-dark-theme use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf atom-one-dark-theme-autoloads auctex-latexmk-autoloads auctex-autoloads tex-site company-autoloads dracula-theme-autoloads ebib-autoloads ess-autoloads flycheck-autoloads forth-mode-autoloads gdscript-mode-autoloads go-mode-autoloads hl-todo-autoloads impatient-mode-autoloads htmlize-autoloads julia-formatter-autoloads just-mode-autoloads latex-preview-pane-autoloads llvm-ts-mode-autoloads lsp-docker-autoloads lsp-julia-autoloads julia-mode-autoloads lsp-ui-autoloads lsp-mode-autoloads ht-autoloads lv-autoloads magit-autoloads pcase git-commit-autoloads magit-section-autoloads move-text-autoloads multiple-cursors-autoloads no-littering-autoloads olivetti-autoloads package-lint-autoloads page-break-lines-autoloads paredit-autoloads parsebib-autoloads pkg-info-autoloads epl-autoloads quelpa-use-package-autoloads quelpa-autoloads rustic-autoloads markdown-mode-autoloads f-autoloads dash-autoloads rust-mode-autoloads s-autoloads session-async-autoloads simple-httpd-autoloads smart-mode-line-atom-one-dark-theme-autoloads smart-mode-line-autoloads rich-minority-autoloads spinner-autoloads splunk-mode-autoloads transient-autoloads with-editor-autoloads compat-autoloads info writeroom-mode-autoloads visual-fill-column-autoloads xterm-color-autoloads yaml-autoloads yaml-mode-autoloads yasnippet-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 412027 70117) (symbols 48 34112 0) (strings 32 128155 6447) (string-bytes 1 4038566) (vectors 16 67754) (vector-slots 8 739746 70880) (floats 8 294 368) (intervals 56 6200 53) (buffers 984 43)) ------=_Part_197313_1020779492.1725828745056 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
To Whom it may concern,

I have recently di= scovered the website gastonle.ru, however it does not
render with Emacs Web Wowser.  It appears to be a relativ= ely simple
website and I cannot see what would p= rohibit it from rendering.

I have also tried it on an Ubuntu 22.04.4 LTS distro running Emacs 2= 8.1
but it also fails to render.  This ther= efore appears to be a bug in EWW.

---

In GNU= Emacs 29.2 (build 1, aarch64-apple-darwin21.6.0, NS
appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-01-19 built on
armbob.lan
Windowing s= ystem distributor 'Apple', version 10.3.2487
Sys= tem Description:  macOS 14.2.1

Configured using:
'configure --w= ith-ns '--enable-locallisppath=3D/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules 'CFLAGS=3D-DFD_SETSIZ= E=3D10000
-DDARWIN_UNLIMITED_SELECT' --with-x-to= olkit=3Dno'

Configur= ed features:
ACL GLIB GMP GNUTLS JPEG JSON LIBXM= L2 MODULES NOTIFY KQUEUE NS PDUMPER
PNG RSVG SQL= ITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB

Important settings:
  value of $LANG: en_NZ.UTF-8
 = locale-coding-system: utf-8-unix

Major mode: Markdown

Minor modes in effect:
  yas= -global-mode: t
  yas-minor-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  she= ll-dirtrack-mode: t
  server-mode: t
  TeX-PDF-mode: t
&nbs= p; TeX-source-correlate-mode: t
  global-di= splay-line-numbers-mode: t
  display-line-n= umbers-mode: t
  whitespace-mode: t
  global-page-break-lines-mode: t
  override-global-mode: t
 = tooltip-mode: t
  global-eldoc-mode: t
=
  eldoc-mode: t
&nb= sp; show-paren-mode: t
  electric-indent-mo= de: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
&nbs= p; global-font-lock-mode: t
  font-lock-mod= e: t
  blink-cursor-mode: t
  line-number-mode: t
  tr= ansient-mark-mode: t
  auto-composition-mod= e: t
  auto-encryption-mode: t
  auto-compression-mode: t
<= br>
Load-path shadows:
/U= sers/ganimard/.emacs.d/elpa/transient-20230919.2146/transient hides /Applic= ations/Emacs.app/Contents/Resources/lisp/= transient

Featur= es:
(shadow sort mail-extr emacsbug files-x vc-h= g vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs log= -view vc bug-reference help-fns radix-tree
magit= -patch magit-subtree magit-gitignore magit-ediff ediff ediff-merg
=
ediff-mult ediff-wind ediff-diff ediff-help ediff-init ed= iff-util
magit-extras face-remap misearch multi-= isearch vc-git vc-dispatcher
markdown-mode color= dired-aux disp-table hl-todo flycheck forth-mode
forth-spec forth-smie smie forth-syntax llvm-mode splunk-mode ess
lisp-mnt ess-utils ess-custom go-mode find-file ffap et= ags fileloop xref
rust-utils rust-mode rust-rust= fmt rust-playpen rust-compile rust-cargo
yasnipp= et magit-submodule magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-= remote
magit-commit magit-sequence magit-notes m= agit-worktree magit-tag
magit-merge magit-branch= magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log which-func imenu
magit-diff smerge-mode diff diff-mode git-commit log-ed= it pcvs-util
add-log magit-core magit-autorevert= autorevert magit-margin
magit-transient magit-p= rocess with-editor shell server magit-mode
trans= ient magit-git magit-base magit-section cursor-sensor dash
auctex-latexmk latex latex-flymake flymake-proc flymake project = compile
warnings tex-ispell tex-style tex texmat= hp latex-preview-pane doc-view
filenotify jka-co= mpr image-mode exif auctex ebib ebib-reading-list
ebib-notes org-element org-persist xdg org-id org-refile org ob
=
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src= ob-comint
org-pcomplete pcomplete comint ansi-o= sc ansi-color org-list org-footnote
org-faces or= g-entities noutline outline icons ob-emacs-lisp ob-core
ob-eval org-cycle org-table org-keys oc org-loaddefs find-func ca= l-menu
calendar cal-loaddefs ol org-fold org-fol= d-core org-compat ring avl-tree
generator org-ve= rsion org-macs ebib-filters ebib-keywords ebib-utils
ebib-db message sendmail yank-media puny dired dired-loaddefs rfc822 m= ml
mml-sec epa derived epg rfc6068 epg-config gn= us-util
text-property-search mm-decode mm-bodies= mm-encode mail-parse rfc2231
rfc2047 rfc2045 mm= -util ietf-drums mail-prsvr mailabbrev mail-utils
gmm-utils mailheader format-spec parsebib rx hl-line pp crm bibtex
iso8601 time-date writeroom-mode visual-fill-column ol= ivetti
multiple-cursors mc-separate-operations r= ectangular-region-mode
mc-mark-pop mc-edit-lines= mc-hide-unmatched-lines-mode mc-mark-more
thing= atpt mc-cycle-cursors multiple-cursors-core advice rect move-text
=
no-littering compat paredit edmacro kmacro display-line-n= umbers
whitespace page-break-lines smart-mode-li= ne-atom-one-dark-theme cl-extra
help-mode atom-o= ne-dark-theme use-package use-package-ensure
use= -package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-core finder-inf atom-one-dark-th= eme-autoloads
auctex-latexmk-autoloads auctex-au= toloads tex-site company-autoloads
dracula-theme= -autoloads ebib-autoloads ess-autoloads flycheck-autoloads
forth-mode-autoloads gdscript-mode-autoloads go-mode-autoloads
hl-todo-autoloads impatient-mode-autoloads htmliz= e-autoloads
julia-formatter-autoloads just-mode-= autoloads
latex-preview-pane-autoloads llvm-ts-m= ode-autoloads lsp-docker-autoloads
lsp-julia-aut= oloads julia-mode-autoloads lsp-ui-autoloads
lsp= -mode-autoloads ht-autoloads lv-autoloads magit-autoloads pcase
git-commit-autoloads magit-section-autoloads move-text-auto= loads
multiple-cursors-autoloads no-littering-au= toloads olivetti-autoloads
package-lint-autoload= s page-break-lines-autoloads paredit-autoloads
p= arsebib-autoloads pkg-info-autoloads epl-autoloads
quelpa-use-package-autoloads quelpa-autoloads rustic-autoloads
=
markdown-mode-autoloads f-autoloads dash-autoloads rust-m= ode-autoloads
s-autoloads session-async-autoload= s simple-httpd-autoloads
smart-mode-line-atom-on= e-dark-theme-autoloads smart-mode-line-autoloads
rich-minority-autoloads spinner-autoloads splunk-mode-autoloads
<= div dir=3D"auto">transient-autoloads with-editor-autoloads compat-autoloads= info
writeroom-mode-autoloads visual-fill-colum= n-autoloads
xterm-color-autoloads yaml-autoloads= yaml-mode-autoloads
yasnippet-autoloads package= browse-url url url-proxy url-privacy
url-expand= url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-se= q
eieio eieio-core cl-macs password-cache json s= ubr-x map byte-opt gv
bytecomp byte-compile url-= vars cl-loaddefs cl-lib rmc iso-transl tooltip
c= conv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
<= /div>
elisp-mode mwheel term/ns-win ns-win ucs-normalize m= ule-util
term/common-win tool-bar dnd fontset im= age regexp-opt fringe
tabulated-list replace new= comment text-mode lisp-mode prog-mode register
p= age tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tt= y-colors
frame minibuffer nadvice seq simple cl-= generic indonesian philippine
cham georgian utf-= 8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composi= te emoji-zwj charscript
charprop case-table epa-= hook jka-cmpr-hook help abbrev obarray oclosure
= cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 fo= rmat env
code-pages mule custom widget keymap ha= shtable-print-readable backquote
threads kqueue = cocoa ns multi-tty make-network-process emacs)
<= br>
Memory information:
(= (conses 16 412027 70117)
(symbols 48 34112 0)
(strings 32 128155 6447)
(string-bytes 1 4038566)
(vectors 16 67754)
(vector-slots 8 739746 70880)
(floats 8 294 368)
(intervals 56 6200 53)=
(buffers 984 43))
------=_Part_197313_1020779492.1725828745056-- From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Sep 2024 06:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Ganimard , 73133@debbugs.gnu.org Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172594849025900 (code B ref 73133); Tue, 10 Sep 2024 06:09:02 +0000 Received: (at 73133) by debbugs.gnu.org; 10 Sep 2024 06:08:10 +0000 Received: from localhost ([127.0.0.1]:34674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snu2s-0006jg-2f for submit@debbugs.gnu.org; Tue, 10 Sep 2024 02:08:10 -0400 Received: from mail-pl1-f175.google.com ([209.85.214.175]:60575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snu2p-0006jH-Lh for 73133@debbugs.gnu.org; Tue, 10 Sep 2024 02:08:08 -0400 Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-2059204f448so42396505ad.0 for <73133@debbugs.gnu.org>; Mon, 09 Sep 2024 23:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725948417; x=1726553217; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:from:mime-version:date:message-id:from:to:cc:subject :date:message-id:reply-to; bh=hf+W5HQx9uKDLz/cD47bB6EocV85Oc8BfguVh/aIyEo=; b=ZleBhiJwRVrjpCbpFfNducFwSaYzjrlUji07QiZnbmgVcOBrh1x/up6QfuZ2sGCOer vaS088zrCwcHRO0d1kE9XkhENQmqdA5ClE48WhrP1FcDG4Sof2JXV8GCIrhBLa3p10M3 E8qQrYtOEmL1C/JjduutNe0M2xAJHpj5XYglb53BiooE4lG0PQKeAileM0xfyWIhjqiB x8GFajCIDYLFG6AFO3uAIb5gfS4ttW/UrdwcK2kLf8OIs0xu2bI36TzbUDOxv3bW9dcG FTdDXwWX3Y/j5TAjGQ+Qu5ZSB6lDRH9SE4YnJU1k1oOas4vYh17qiKDnU8GBydbNpg9L bUuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725948417; x=1726553217; h=content-transfer-encoding:in-reply-to:content-language:references :to:subject:from:mime-version:date:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=hf+W5HQx9uKDLz/cD47bB6EocV85Oc8BfguVh/aIyEo=; b=Lv9R/bnUc5UbFO2M+LG6rkR9rFeT1kEbW9b95a31fSfomYVAavC0ltIJI/efQLw2YV 2pZXmo108nJ0RkIxe9IUGPG54YC6DgCtftnkEIChNCjhikjwq0iHIpNZzTc7g9baQ63m NUIcPJA8/yddlLSUPjWymKQPG0mFtnUPld/u2W30RUlOCCZM4SfcOFPe0bQEkstqOJ19 /u6+M4FZlXGYGK9ZCAsb8JxwOOlOHhcOJ8IXkxBtQImxcDU1gb2lJXeh5getBuSpQPh3 Kdu6eGm/n/9Mv3fyLQVtPubFHeYArpls9DdLlYfn62C9P/sCMNwtpo/hrmROcEWNWP2d z0hw== X-Forwarded-Encrypted: i=1; AJvYcCUUW1sSzCsuLNHmg5WEttKLEPvv9NppjJCm77/87vD/gGKBl+3+mhKNexLD/36oZKiH5WaFUg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwqP1BLUyXiHMjtvaddat1j/lEN0kHUr/rzPAb+5fFFnUPhABZ4 7tbTkoAYcUs2IVCckZa8iA0BUUAT49Fj73SSC7Kq1Mj2hcfOtR3zsBjR3A== X-Google-Smtp-Source: AGHT+IFmqVFYZGsSkD+u7j6BfR6SP4ffNuz2ad01w5Td1kzHfrdZ1ifg8zy3GF3ruoqI84pdQfuLVA== X-Received: by 2002:a17:902:db0e:b0:202:508c:b5a6 with SMTP id d9443c01a7336-206f0613430mr189587075ad.46.1725948416975; Mon, 09 Sep 2024 23:06:56 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-20710e3368bsm42297405ad.95.2024.09.09.23.06.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 09 Sep 2024 23:06:56 -0700 (PDT) Message-ID: Date: Mon, 9 Sep 2024 23:06:56 -0700 MIME-Version: 1.0 From: Jim Porter References: X-Mozilla-News-Host: news://news.gmane.io Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 9/8/2024 1:52 PM, Ganimard via Bug reports for GNU Emacs, the Swiss army knife of text editors wrote: > I have recently discovered the website gastonle.ru, however it does not > render with Emacs Web Wowser.  It appears to be a relatively simple > website and I cannot see what would prohibit it from rendering. Checking that page via curl, it appears that it doesn't return a Content-Type header. In the absence of that header, EWW assumes that the page is plain text. > I have also tried it on an Ubuntu 22.04.4 LTS distro running Emacs 28.1 > but it also fails to render.  This therefore appears to be a bug in EWW. From my reading of RFC9110[1], this is *technically* a bug (we should assume application/octet-stream, not text/plain), but that wouldn't fix the rendering here; it would probably make things worse. However, per the RFC, EWW would be within its rights to guess that the page is HTML, e.g. by checking for "". It also recommends having that be an option that can be disabled, which is reasonable (and in keeping with Emacs's design principles anyway). [1] https://www.rfc-editor.org/rfc/rfc9110#section-8.3-5 From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Sep 2024 09:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.17269100567338 (code B ref 73133); Sat, 21 Sep 2024 09:15:02 +0000 Received: (at 73133) by debbugs.gnu.org; 21 Sep 2024 09:14:16 +0000 Received: from localhost ([127.0.0.1]:37164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srwBz-0001uG-SS for submit@debbugs.gnu.org; Sat, 21 Sep 2024 05:14:16 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srwBx-0001u4-St for 73133@debbugs.gnu.org; Sat, 21 Sep 2024 05:14:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1srwBX-0006Vv-Pe; Sat, 21 Sep 2024 05:13:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=gcVAXR6DufwfIvJSeW2XWmy76V7iNTkc7ecZdemyXZ4=; b=pf3O7IySBS/PHyjikuPo 0cx+buAGRDglsIomNr0EY64khjQIG02cZhqzHQLW/34NQ2r6VsAiZdWs0OZhd35MB93BEYA6e9EPv Mn0lGQWsuTrA8nzrWpEfrdySeTVnHYRfdbECI5qGKxWvYC1blUk82m2M/LsYDkvcI8niDAx3TAnm+ eSjc6L28INmY2bX2iGpZsyxid+xngJCpAp6apoi/YgSf0Na0qD8HgpZhGOnJFpmt0O2qfvGOA1BOv MnDg0a+BHfFf7uCjqcM/1kMH4UWkBHGiXaMULYk36GaUU4yqBvgtPgWLLeyzKTQSmSC2cgAxY35Na fzapJh2ai+grog==; Date: Sat, 21 Sep 2024 12:13:44 +0300 Message-Id: <86plox4bef.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Jim Porter on Mon, 9 Sep 2024 23:06:56 -0700) References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Mon, 9 Sep 2024 23:06:56 -0700 > From: Jim Porter > > On 9/8/2024 1:52 PM, Ganimard via Bug reports for GNU Emacs, the Swiss > army knife of text editors wrote: > > I have recently discovered the website gastonle.ru, however it does not > > render with Emacs Web Wowser.  It appears to be a relatively simple > > website and I cannot see what would prohibit it from rendering. > > Checking that page via curl, it appears that it doesn't return a > Content-Type header. In the absence of that header, EWW assumes that the > page is plain text. > > > I have also tried it on an Ubuntu 22.04.4 LTS distro running Emacs 28.1 > > but it also fails to render.  This therefore appears to be a bug in EWW. > > From my reading of RFC9110[1], this is *technically* a bug (we should > assume application/octet-stream, not text/plain), but that wouldn't fix > the rendering here; it would probably make things worse. However, per > the RFC, EWW would be within its rights to guess that the page is HTML, > e.g. by checking for "". It also recommends having that > be an option that can be disabled, which is reasonable (and in keeping > with Emacs's design principles anyway). > > [1] https://www.rfc-editor.org/rfc/rfc9110#section-8.3-5 Thanks. Would someone like to submit a patch along these lines? From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Sep 2024 17:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172693883115108 (code B ref 73133); Sat, 21 Sep 2024 17:14:01 +0000 Received: (at 73133) by debbugs.gnu.org; 21 Sep 2024 17:13:51 +0000 Received: from localhost ([127.0.0.1]:40281 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ss3g7-0003vc-84 for submit@debbugs.gnu.org; Sat, 21 Sep 2024 13:13:51 -0400 Received: from mail-pg1-f169.google.com ([209.85.215.169]:49482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ss3g4-0003vM-En for 73133@debbugs.gnu.org; Sat, 21 Sep 2024 13:13:49 -0400 Received: by mail-pg1-f169.google.com with SMTP id 41be03b00d2f7-7ae3d7222d4so2567421a12.3 for <73133@debbugs.gnu.org>; Sat, 21 Sep 2024 10:13:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726938742; x=1727543542; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=PCsLOiH8gm1+7uv+j8kHrxozmOzPDZswOYdlzO75diE=; b=O3pUVfRU6ETDpqex8oT9sx7c1rr3D8l88hRqPCU3GLxrqpaFs5GPZxDTKcK8FTw7GM 5NAiTZI0kBTBMhma601EJvjUTGi/ECpDWtqwFnl6wqln2Fx647y/vn6IRH/B6J9ACGvI OIyRGt/c5/TVkNqzns5SuebMj9QbdkAnkWJyEc8m2nLna/Bd0DEc+X8HYf/4n2v0uOAt FixXmvYiJ+AVj/M4TlDObnYnq7ABYvxiUXXmT0JVg23MggM5m15lmOuH4m03jv9Qv8V5 F2P9oHmw8BKHU3NgKZ0qu+Lwigslh7Doi5RAVJzFrQ2GcFYZE+/OznN2uR40BK5uivll Xk+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726938742; x=1727543542; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PCsLOiH8gm1+7uv+j8kHrxozmOzPDZswOYdlzO75diE=; b=lQwYBvwZ+JMwfJDkE6eYszQxIii64m3WIxMgsW0dM4fnM3uspxE+/BCfP2KULI6LyE gcSPveu6lcVmjenyZBnALyC7tlHoXqN98NIUnbxDcELC5cUPN9qODfIDopaqBuAlwdXx syeRn97M74p5DkYgXcTip+jQTNvCnYcysmbMhIbUxKbWglBzG6b1a1O+VwdRX1xkQocz VSh74beWhUW4FaUBMWzuEFvngINknDqmYlvnGrMibL2QVvHv2cSFBmvjF8lSfPOTMurT ZgtoogZKFLowJLVsnb+tK8zGIgYEkWmBuYvPzUcShfnpRmpylZ8IQ0zhd5+H9svdugYK 8zpw== X-Gm-Message-State: AOJu0Yxqw8Mn7PqY7o+wscpamIosIak8tzwdyuzMa7/nZKna7YrEPeCH TdUY79WPj4SHe3gkO3zkYG0ZtYh3lnhQfjPwLtxlFDyvqh8SwjBt X-Google-Smtp-Source: AGHT+IGGdqJTDEFbxG8qgKmdV3CxxB4iHvjOnWiYPMu8qwDMigaicbkgADgkH+zRSufYRrfVajpshQ== X-Received: by 2002:a05:6a21:1690:b0:1cf:6625:f08 with SMTP id adf61e73a8af0-1d30a9d8559mr10107332637.45.1726938741930; Sat, 21 Sep 2024 10:12:21 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-71944bc33b0sm11457615b3a.193.2024.09.21.10.12.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 21 Sep 2024 10:12:21 -0700 (PDT) Message-ID: <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> Date: Sat, 21 Sep 2024 10:12:22 -0700 MIME-Version: 1.0 Content-Language: en-US References: <86plox4bef.fsf@gnu.org> From: Jim Porter In-Reply-To: <86plox4bef.fsf@gnu.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 9/21/2024 2:13 AM, Eli Zaretskii wrote: >> Date: Mon, 9 Sep 2024 23:06:56 -0700 >> From: Jim Porter >> >> From my reading of RFC9110[1], this is *technically* a bug (we should >> assume application/octet-stream, not text/plain), but that wouldn't fix >> the rendering here; it would probably make things worse. However, per >> the RFC, EWW would be within its rights to guess that the page is HTML, >> e.g. by checking for "". It also recommends having that >> be an option that can be disabled, which is reasonable (and in keeping >> with Emacs's design principles anyway). >> >> [1] https://www.rfc-editor.org/rfc/rfc9110#section-8.3-5 > > Thanks. Would someone like to submit a patch along these lines? It'll probably be a couple weeks until I have time to write a patch, but if no one has done so by then, I'll look into it. From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Sep 2024 16:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172710873228987 (code B ref 73133); Mon, 23 Sep 2024 16:26:02 +0000 Received: (at 73133) by debbugs.gnu.org; 23 Sep 2024 16:25:32 +0000 Received: from localhost ([127.0.0.1]:44672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sslsO-0007UW-MB for submit@debbugs.gnu.org; Mon, 23 Sep 2024 12:25:32 -0400 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]:59905) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sslEL-00058U-G2 for 73133@debbugs.gnu.org; Mon, 23 Sep 2024 11:44:08 -0400 Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfhigh.phl.internal (Postfix) with ESMTP id 18EF3114020B; Mon, 23 Sep 2024 11:43:37 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-08.internal (MEProxy); Mon, 23 Sep 2024 11:43:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1727106217; x= 1727192617; bh=4aES1+zv73t1xz1g/9Bw789YRidPYl/OjD9m04FVMkQ=; b=n o0LhjE35gzO91f0IBFIE3tdDtqo6NdfXUGtmAk7Byi42razxkJiTkUctMWcz8tYS X5JSVYTfsLZ1TA9JcUtqKaMAKvP5K3TqKMWLcWuBsCqyBDqBGoyJgZGTPsGgQI7h ccN7gZVhPMmBEZm5QL82jXxcAWar8tPwTuqVX3IBNMlbLex5ccGh/8kPukCUJfui wFvz8B/0E7Vs5PnSpou//I720exwsoP5+q2zGiC3YKXvMojskNCY17rDEFaVPThR brGgy6mmKbjdi2fz9dCDJZDIv+4EOo4v5BtAw/pahMVYrqqG4RDwLsIhCQc2VPnY hotODg2WEwjyv/qD+wv4A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1727106217; x=1727192617; bh=4aES1+zv73t1xz1g/9Bw789YRidP Yl/OjD9m04FVMkQ=; b=MzAI8MNSK5NWA7gyX94m0ymsTr5wBZOKkrgt0FJWWVHd inPcwibnAlkGY7LGggYvR+SDoX0IKuMjRRD1VnhOJdRt74rvIzQrjq22pKLc2QA4 W7EEr9IiWd9RBp8PBQ4FBdoAPpwsxgC+53dXyU7nWEOzk9CybNB5jSIuK69S2VZf qN5GTXAwIUYSgpABACjAOtmET4sJZ6vs9b+cYGg3peJpVzOasnPSoSzTo5pfgNsr u/rQ699hVOq4vzW2UqUhggIwsqyYdex8VkoZVr0zdpDtrnDf5lhCUD2+667QT45V 1O77lQaaar64YmTj1NxIgAXotrvBi9nrEZxxRDfj7A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudelledgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkfgggtgesmhdtreertderuden ucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnsehsvg gsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhepfeejteehheelkeetffdv gfejtdethffhfeeuieffgfffffdtjeejudduhfeigfevnecuffhomhgrihhnpehrfhgtqd gvughithhorhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehsvggsrghsthhirghnsehsvggsrghsmhhonhhirgdrtghomhdpnhgspg hrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepghgrnhhimhgr rhgusehtuhhtrgdrihhopdhrtghpthhtohepjeefudeffeesuggvsggsuhhgshdrghhnuh drohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehjphho rhhtvghrsghughhssehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Sep 2024 11:43:36 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> (Jim Porter's message of "Sat, 21 Sep 2024 10:12:22 -0700") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> Date: Mon, 23 Sep 2024 11:43:36 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Mon, 23 Sep 2024 12:25:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Jim Porter writes: > On 9/21/2024 2:13 AM, Eli Zaretskii wrote: >>> Date: Mon, 9 Sep 2024 23:06:56 -0700 >>> From: Jim Porter >>> >>> From my reading of RFC9110[1], this is *technically* a bug (we should >>> assume application/octet-stream, not text/plain), but that wouldn't fix >>> the rendering here; it would probably make things worse. However, per >>> the RFC, EWW would be within its rights to guess that the page is HTML, >>> e.g. by checking for "". It also recommends having that >>> be an option that can be disabled, which is reasonable (and in keeping >>> with Emacs's design principles anyway). >>> >>> [1] https://www.rfc-editor.org/rfc/rfc9110#section-8.3-5 >> Thanks. Would someone like to submit a patch along these lines? > > It'll probably be a couple weeks until I have time to write a patch, > but if no one has done so by then, I'll look into it. Would the patch attached work? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-option-eww-use-doctype-fallback-code-to-detect-i.patch Content-Description: eww-use-doctype-fallback >From 499abe197e6d245228be853731314e19148bb658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Mon=C3=ADa?= Date: Mon, 23 Sep 2024 11:40:18 -0400 Subject: [PATCH] Add option eww-use-doctype-fallback, code to detect if a page has a valid doctype tag, and use it as alternative to a content-type header --- lisp/net/eww.el | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index a651d9d5020..59a146c8392 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -170,6 +170,14 @@ the first item is the program, and the rest are the arguments." :type '(choice (const :tag "Never" nil) regexp)) +(defcustom eww-use-doctype-fallback t + "Accept a DOCTYPE tag as evidence that page content is HTML. +This is used only when the page does not have a valid Content-Type +header." + :version "30.1" + :group 'eww + :type 'boolean) + (defcustom eww-browse-url-new-window-is-tab 'tab-bar "Whether to open up new windows in a tab or a new buffer. If t, then open the URL in a new tab rather than a new buffer if @@ -630,6 +638,18 @@ Currently this means either text/html or application/xhtml+xml." (member content-type '("text/html" "application/xhtml+xml"))) +(defun eww--doctype-html-p (data-buffer) + "Return non-nil if DATA-BUFFER contains a doctype declaration." + ;; https://html.spec.whatwg.org/multipage/syntax.html#the-doctype + (let ((case-fold-search t) + (target + "\\|system +\\(\\\"\\|'\\)+about:legacy-compat\\)")) + (with-current-buffer data-buffer + (goto-char (point-min)) + ;; match basic and also legacy variants as + ;; specified in link above + (re-search-forward target nil t)))) + (defun eww--rename-buffer () "Rename the current EWW buffer. The renaming scheme is performed in accordance with @@ -695,7 +715,9 @@ The renaming scheme is performed in accordance with url)) (goto-char (point-min)) (eww-display-html (or encode charset) url nil point buffer)) - ((eww-html-p (car content-type)) + ((or (eww-html-p (car content-type)) + (and eww-use-doctype-fallback + (eww--doctype-html-p data-buffer))) (eww-display-html (or encode charset) url nil point buffer)) ((equal (car content-type) "application/pdf") (eww-display-pdf)) @@ -717,7 +739,7 @@ The renaming scheme is performed in accordance with (setq buffer-undo-list nil))) (kill-buffer data-buffer))) (unless (buffer-live-p buffer) - (kill-buffer data-buffer)))) + (kill-buffer data-buffer))) (defun eww-parse-headers () (let ((headers nil)) -- 2.45.2.windows.1 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable --=20 Sebasti=E1n Mon=EDa https://site.sebasmonia.com/ --=-=-=-- From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Sep 2024 16:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172710873329005 (code B ref 73133); Mon, 23 Sep 2024 16:26:03 +0000 Received: (at 73133) by debbugs.gnu.org; 23 Sep 2024 16:25:33 +0000 Received: from localhost ([127.0.0.1]:44674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sslsS-0007XU-8n for submit@debbugs.gnu.org; Mon, 23 Sep 2024 12:25:32 -0400 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]:44475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sslQc-0005tL-09 for 73133@debbugs.gnu.org; Mon, 23 Sep 2024 11:56:48 -0400 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 88D0313801CA; Mon, 23 Sep 2024 11:56:17 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Mon, 23 Sep 2024 11:56:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1727106977; x= 1727193377; bh=VwA5plKB/7LWOBxnV91ZB3w54Q69d3EjYjKuqwTuPb4=; b=o 7wP3W0G5XlhSzfE/l8mjM2I7kRtqFt2uzZR7wUBSDH6dYwJhlmPvNrpioC63s3xb C6yOi95u+VQj/5TRknFfv3DGW5MOjDi1LoogwrBhKLtQ7kVspFMqm/MlsiIjZjvw czkLnWnMCcrNFyvVNeQv3W/ObZG7yRyamv+r0CntCkLgijxtI+mvL9jZ71PKl6j5 jhSIw2ta4bhoPbKMyGcLRQboess5gDXuI4N/32fUpOW9DlFkREC3GzLVxZRr81Z+ 4X3/QtBdcUr2MoL8R17mFFBL2GUlH5GFoOc+Ijer6UUsUwpgVGfW+De9IuLtqMbG WzfqXDLP+3NgnO+9myO5Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1727106977; x=1727193377; bh=VwA5plKB/7LWOBxnV91ZB3w54Q69 d3EjYjKuqwTuPb4=; b=H4z28T2nSsX4FpfxRMk4z9MmbsrFl6nzLH+jDOE7/W9r n9t+/jRlMy521pcP2CNew73Pw8OUxLHdOZW/A0Q5R3q3kuivROmM+g+7Syhny4Ou WeVkEiQF+v3eQR9t7lmHzImL1IYAX+VwEEzKztBgZjW6A9UmbQsx71EBFYfYFnfP 0Sb2XO5ule59NfGxdL28zjYva1yQb3IN5Zt8FPnv+Oeu+DDjo6Y/uO0rVmEHJH0X nCrjMLZ0/Vh6jnSdTR+Fd4wso3LBJCw+476Py0xZCY/m1BHGoM5LKiqma/k8Evn6 TMhmSE/V0l+xwh3yh8sVqc9XMFD7OOq4GRnwI4VUqQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudelledgleeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgesmhdtreertderuden ucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnsehsvg gsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnheptdetiedvhfevffegjedu hfdtffehkeejkefhkeehleekudekueeigeffvdehheegnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsggrshhm ohhnihgrrdgtohhmpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehgrghnihhmrghrugesthhuthgrrdhiohdprhgtphhtthhopeejfedufeef seguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorh hgpdhrtghpthhtohepjhhpohhrthgvrhgsuhhgshesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 23 Sep 2024 11:56:17 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> (Jim Porter's message of "Sat, 21 Sep 2024 10:12:22 -0700") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 23 Sep 2024 11:56:16 -0400 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-Mailman-Approved-At: Mon, 23 Sep 2024 12:25:27 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Hi all, Would something like the attached patch work? Thanks, Seb PS: I think I sent this to just one person by mistake instead of a wide reply, my bad. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-option-eww-use-doctype-fallback-code-to-detect-i.patch Content-Description: eww-use-doctype-fallback >From 499abe197e6d245228be853731314e19148bb658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Mon=C3=ADa?= Date: Mon, 23 Sep 2024 11:40:18 -0400 Subject: [PATCH] Add option eww-use-doctype-fallback, code to detect if a page has a valid doctype tag, and use it as alternative to a content-type header --- lisp/net/eww.el | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index a651d9d5020..59a146c8392 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -170,6 +170,14 @@ the first item is the program, and the rest are the arguments." :type '(choice (const :tag "Never" nil) regexp)) +(defcustom eww-use-doctype-fallback t + "Accept a DOCTYPE tag as evidence that page content is HTML. +This is used only when the page does not have a valid Content-Type +header." + :version "30.1" + :group 'eww + :type 'boolean) + (defcustom eww-browse-url-new-window-is-tab 'tab-bar "Whether to open up new windows in a tab or a new buffer. If t, then open the URL in a new tab rather than a new buffer if @@ -630,6 +638,18 @@ Currently this means either text/html or application/xhtml+xml." (member content-type '("text/html" "application/xhtml+xml"))) +(defun eww--doctype-html-p (data-buffer) + "Return non-nil if DATA-BUFFER contains a doctype declaration." + ;; https://html.spec.whatwg.org/multipage/syntax.html#the-doctype + (let ((case-fold-search t) + (target + "\\|system +\\(\\\"\\|'\\)+about:legacy-compat\\)")) + (with-current-buffer data-buffer + (goto-char (point-min)) + ;; match basic and also legacy variants as + ;; specified in link above + (re-search-forward target nil t)))) + (defun eww--rename-buffer () "Rename the current EWW buffer. The renaming scheme is performed in accordance with @@ -695,7 +715,9 @@ The renaming scheme is performed in accordance with url)) (goto-char (point-min)) (eww-display-html (or encode charset) url nil point buffer)) - ((eww-html-p (car content-type)) + ((or (eww-html-p (car content-type)) + (and eww-use-doctype-fallback + (eww--doctype-html-p data-buffer))) (eww-display-html (or encode charset) url nil point buffer)) ((equal (car content-type) "application/pdf") (eww-display-pdf)) @@ -717,7 +739,7 @@ The renaming scheme is performed in accordance with (setq buffer-undo-list nil))) (kill-buffer data-buffer))) (unless (buffer-live-p buffer) - (kill-buffer data-buffer)))) + (kill-buffer data-buffer))) (defun eww-parse-headers () (let ((headers nil)) -- 2.45.2.windows.1 --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable --=20 Sebasti=E1n Mon=EDa https://site.sebasmonia.com/ --=-=-=-- From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Sep 2024 18:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172720275924460 (code B ref 73133); Tue, 24 Sep 2024 18:33:01 +0000 Received: (at 73133) by debbugs.gnu.org; 24 Sep 2024 18:32:39 +0000 Received: from localhost ([127.0.0.1]:34624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stAL1-0006MS-1Q for submit@debbugs.gnu.org; Tue, 24 Sep 2024 14:32:39 -0400 Received: from mail-pg1-f172.google.com ([209.85.215.172]:42230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stAKz-0006M3-Gl for 73133@debbugs.gnu.org; Tue, 24 Sep 2024 14:32:37 -0400 Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-7d666fb3fb9so92235a12.0 for <73133@debbugs.gnu.org>; Tue, 24 Sep 2024 11:32:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727202666; x=1727807466; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=wDaitS2pAvY3fMwuMcHCaGDwxZHI4O5/JnR4Glud5uo=; b=G1WQd9meMYE4ZGdJ/1FJ7hSJsnyIJBtfMTvq3qIKhzpwsW1rEadr+USBnbn9BtL1Xo 1Bdcfml8RYRbqEFVLsPIpxEuvKdfAvLSO7P9XU07Zb9HSNFXcV1HKxEPTd1bHocRb/Q5 JDefLTkYN0Ci4M/zlXaEc7Q4ouTY1qdg2F7PO6jlpHb5J6zE7ChpL90YRKO/VRXOWMb0 Bbvae7+rbd/YjpMdUf+YzEGn6vqQnIIrpmr19Mp5rQ1RBEEYMNgWMOMMucDBkiWaZrnF JEh3Jao9gr2Ph64UtW0gMDh0puLKAaLPXLyy4adu3PPjuz94T7Qv/oWrfUkJigaRT3Ku ktxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727202666; x=1727807466; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wDaitS2pAvY3fMwuMcHCaGDwxZHI4O5/JnR4Glud5uo=; b=pgDtPPLxY/l2pDiSVpscrz72ydFbvFRmg6xRN2Z5fuJiElL2MUvm9mzs4d3z6iUZDV +5Tac4USDPlhB9Kgz99XBnBymTQ9h6GzsDmm7Z7D+r/qMozobelTStCzCo44sOhAlTD0 wu6VZss010Dv2PEl6JrMlct92Rjum27mr6pj6OS9RVFLaJjWP81ImqqZW5ywaIzuuQsJ wB8LGVAx7+UopO27hM0s6rioGnxDrwi2J2WDJcjNreppzTHw8S/0nmXMcxzmkEgCR4ko wS8xMdmFUkBc0KYAWvAVFoHV4TtEo4C7rrfd/Nf4vX1RhrCmJLH+abs2NQ4NMRwNwnqD 8J9Q== X-Forwarded-Encrypted: i=1; AJvYcCUbdhb/gfGkeipOpHFWJMA0WmQ48KwK+OBbMAVTWoZXSSHNJb85qzQ96jU9l2JxVr1esV4gHg==@debbugs.gnu.org X-Gm-Message-State: AOJu0Ywt2VNJOlN5LtvSZB/5iBEw3nIN+fXeBG87CpTBmhTBQe9x8/pq I/9DUki2SBE+G/8bOZmFXuJAtIoDY7+a5IMd+Hr2H+XttTIjg326 X-Google-Smtp-Source: AGHT+IEar5maMwaswfTZwGGqEMHwt+APDqOUCA163qQS//EcHVO6kfFdRhF9IdvaCZOI58eB0uzJLw== X-Received: by 2002:a05:6a21:1796:b0:1ce:f6dc:2ba8 with SMTP id adf61e73a8af0-1d4c6f13c39mr174816637.24.1727202666486; Tue, 24 Sep 2024 11:31:06 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-71afc93905dsm1518972b3a.97.2024.09.24.11.31.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 Sep 2024 11:31:05 -0700 (PDT) Message-ID: <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> Date: Tue, 24 Sep 2024 11:31:04 -0700 MIME-Version: 1.0 Content-Language: en-US References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> From: Jim Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 9/23/2024 8:56 AM, Sebastián Monía wrote: > Would something like the attached patch work? I was actually thinking something more general, like a defcustom named 'eww-guess-content-type-functions', which would be a list of functions where the first non-nil result is the guessed Content-Type. That way, we could extend this to other content types (for example, maybe we'd want to look for the magic headers for various image formats too; we don't have to do that in this bug). I think your 'eww--doctype-html-p' function would work nicely with a couple small tweaks as one of the functions in 'eww-guess-content-type-functions' though. From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Sep 2024 21:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172729951511427 (code B ref 73133); Wed, 25 Sep 2024 21:26:02 +0000 Received: (at 73133) by debbugs.gnu.org; 25 Sep 2024 21:25:15 +0000 Received: from localhost ([127.0.0.1]:56308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stZVa-0002yD-K0 for submit@debbugs.gnu.org; Wed, 25 Sep 2024 17:25:15 -0400 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]:33543) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stZ46-0000y2-VA for 73133@debbugs.gnu.org; Wed, 25 Sep 2024 16:56:51 -0400 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfout.phl.internal (Postfix) with ESMTP id 9CE2F1380233; Wed, 25 Sep 2024 16:46:08 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-09.internal (MEProxy); Wed, 25 Sep 2024 16:46:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1727297168; x=1727383568; bh=DbyDVczvCv0xUX16vgDS7v79ll3ESvvu DMT2rUQUzdo=; b=dPS/DDUnXs3JIfqDi7QMQR4+6x+2qXT9rdmIUwICOvFoSqyf DIEya7rI2gNHO5n5AWNOVBj5PuWLTMjNGw3FT8a+tTxN0urO/CfqDfAxA05cm8OW C3XphsAPagrxsevj3+IHNOhWpphcdCNh3JmkhDYQkUP3gGUvPpkqwbg01DhUSMzO vFlxW7a//vayL6qJTCaLqxs2W9RhGpgPyK979WIWrVzOFNtAkumezrGXX1L6ICWQ BhyMRoQDT6Ay5fivYddWxYNdYlS1R6C7U2XpnjDAIPqKgUqq6Noex01tO2eKY2X7 LzXma0BZbkZnEw43U/Dl5c/r3mpnnKE4XaPFbQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1727297168; x= 1727383568; bh=DbyDVczvCv0xUX16vgDS7v79ll3ESvvuDMT2rUQUzdo=; b=j ebtFvBDBS8d8PJ7kX4oIZ0ejj+W5PC0MzakkvzGgIOjhpLaI/s7TzqJAAFEynbpg Hn3dpRAsWA4q641SWleN16yskkhB9wkxSAu1dj4pKVAA0lLTCCI0vJBNLsf6D3pr 3s1Z9SPg5Tir+zUgiZHzpTmOMZfujOWWEOl6dkYxjH8144b0EDJxT30KGL5I0TFf pt4ZN0dwXBME3RL+FNfaqshiDHGL0HZq29RxtD8FuukSxw7bhXOKgzuZECyLjj+m 9c2c/V6GzTQ7PTyRY0C2+p9fSxh56yThRaHKE0wK8MEp/5h4gqcgCPP952E8qfQd gZsLDj3ESwrXjSF5aMTbg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvddthedgudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfgfgggtgfesthhqredttder udenucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnse hsvggsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhepjeefkeetveeuvdff hedtgeeukedtveekveethfdvgfffieeiieetuefgvdeiveeknecuffhomhgrihhnpehsvg gsrghsmhhonhhirgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehsvggsrghsthhirghnsehsvggsrghsmhhonhhirgdrtghomhdpnh gspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepghgrnhhi mhgrrhgusehtuhhtrgdrihhopdhrtghpthhtohepjeefudeffeesuggvsggsuhhgshdrgh hnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehj phhorhhtvghrsghughhssehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 25 Sep 2024 16:46:07 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> (Jim Porter's message of "Tue, 24 Sep 2024 11:31:04 -0700") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> Date: Wed, 25 Sep 2024 16:46:06 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Jim, Jim Porter writes: > I was actually thinking something more general, like a defcustom named > 'eww-guess-content-type-functions', which would be a list of functions > where the first non-nil result is the guessed Content-Type. That way, > we could extend this to other content types (for example, maybe we'd > want to look for the magic headers for various image formats too; we > don't have to do that in this bug). I think the functions for the new defcustom should accept the content-type, headers (since both are already parsed by that time), and the entire buffer. If you agree, I can give your suggestion a shot, if not let me know what do you think would work. > I think your 'eww--doctype-html-p' function would work nicely with a > couple small tweaks as one of the functions in > 'eww-guess-content-type-functions' though. Thanks! I would also have the current '(eww-html-p (car content-type))' wrapped in a function `eww--content-type-html-p` and put both functions in the defcustom, first content type then doctype. --=20 Sebasti=E1n Mon=EDa https://site.sebasmonia.com/ From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Sep 2024 02:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172731605518525 (code B ref 73133); Thu, 26 Sep 2024 02:01:02 +0000 Received: (at 73133) by debbugs.gnu.org; 26 Sep 2024 02:00:55 +0000 Received: from localhost ([127.0.0.1]:39449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stdoM-0004oi-WF for submit@debbugs.gnu.org; Wed, 25 Sep 2024 22:00:55 -0400 Received: from mail-pl1-f177.google.com ([209.85.214.177]:61800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1stdoK-0004oS-ME for 73133@debbugs.gnu.org; Wed, 25 Sep 2024 22:00:53 -0400 Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-20696938f86so3209335ad.3 for <73133@debbugs.gnu.org>; Wed, 25 Sep 2024 19:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727315959; x=1727920759; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=ommC86R5bpE1G6I4dfZfFWYJo6jP7R4jAAXNXsKbNaU=; b=ZcJuAFMpiHOIYaiFtkTSoT6SeSEGup6p8l9cNd4RS9/CLZNCF87KCraGi60w1YVWt4 0HFqB1Q5IrtXQPFgHmmJZChMcVnC2vpA01bTn3kloSfYa+pYR9NCNrgVUt2b1v7tZ7Eh go2RwwQxDzwrDhwIIRnHT9R5G/U9/ivbvbOcAyYZ7JAUoUXN2NB68SXknGglklbM8vmw F/UCIodzhS/RtiZTwhp9Jl5nhnQG7Ly+zZu15rHyDnUHN3g+nFSuQPCP1El90ClBpxP1 aFyzQUcWTO2QQlynm2QAQeQjgeEk5vlh+n94A909QtmOmPgKpWJeykskCBaUjWHAkMrw DZDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727315959; x=1727920759; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ommC86R5bpE1G6I4dfZfFWYJo6jP7R4jAAXNXsKbNaU=; b=PPbcf85bkU9XjlQuYTqExF/mrqK+kyDstnOMS3Y89CbpRhGKLSY4QN+a4pWekJfkKY RmtaeBH36pHYMYe3CPi4ezxFxR3/vtC4x72MzwtzZn94R4eiK+ovVfg4oQJPEhgYl/pr pgHN2a/AXquLiVKZcCKqrEFTOkAUfPWBrxwJpoxSsRobOFx56gTHAKy1e+NS/+ecGAVK AJQwzdPSxIY/qOklsCX3GOGT8eTLaQh8Bk79yAwCrPKroF5/FzEf0ocvLaH82J0SkHEe uEO5FUH8KrphGGi53CiSppvLEs9oeBSGXnrQRHi+r1iBaxpFvHlyhXa2Z3yGJev3cqUh rBAg== X-Forwarded-Encrypted: i=1; AJvYcCXecL8gQENuS7nTJKQ5ooEZlt/MEoQ3c4veGXq7K/XVnCMEo3cMLskNxa0ytGBUlzAEWynfuA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzWtlyceSuDrOU8pp6rQ+aGUl7D0lXzONQoVHXx5mu1l/8w8wFZ Sg2esylw4hG+wIrdnCT0wwB7YTWOM27THDYYhk8RXGeavbqwm6nf X-Google-Smtp-Source: AGHT+IEPv24OPnID9hrUE20N1z+SpwiKs5ne9iPRMB7G2ngWgkvswoHj5iXO38Tl0Lrd4j6qd1JtEw== X-Received: by 2002:a17:903:24c:b0:206:9693:7d5b with SMTP id d9443c01a7336-20afc641ad4mr65942605ad.55.1727315959469; Wed, 25 Sep 2024 18:59:19 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id 41be03b00d2f7-7e6b7c37b92sm3280923a12.9.2024.09.25.18.59.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 25 Sep 2024 18:59:19 -0700 (PDT) Message-ID: Date: Wed, 25 Sep 2024 18:59:18 -0700 MIME-Version: 1.0 Content-Language: en-US References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> From: Jim Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 9/25/2024 1:46 PM, Sebastián Monía wrote: > Jim Porter writes: >> I was actually thinking something more general, like a defcustom named >> 'eww-guess-content-type-functions', which would be a list of functions >> where the first non-nil result is the guessed Content-Type. That way, >> we could extend this to other content types (for example, maybe we'd >> want to look for the magic headers for various image formats too; we >> don't have to do that in this bug). > > I think the functions for the new defcustom should accept the > content-type, headers (since both are already parsed by that time), and > the entire buffer. If you agree, I can give your suggestion a shot, if > not let me know what do you think would work. I think we'd only want to run this hook if the Content-Type is absent from the headers (its job is to *guess* a content type, after all), so I'd expect the signature to be the list of headers + the buffer. From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Sep 2024 11:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: jporterbugs@gmail.com, 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172752114317506 (code B ref 73133); Sat, 28 Sep 2024 11:00:02 +0000 Received: (at 73133) by debbugs.gnu.org; 28 Sep 2024 10:59:03 +0000 Received: from localhost ([127.0.0.1]:51993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suVAE-0004YG-VT for submit@debbugs.gnu.org; Sat, 28 Sep 2024 06:59:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suVAB-0004Xi-RM for 73133@debbugs.gnu.org; Sat, 28 Sep 2024 06:59:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1suV9c-0002Qk-2F; Sat, 28 Sep 2024 06:58:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=p4nIRqUrgDD/iqkL5ZmJWiESUgzWOZsGlck9Wi/DMGc=; b=ZVcx43tY658fWl+t7z3n ti5yYaiUoPaq3lW8BQqWtz6sxdR6fcWmxaAyZTobmFCJZtfwPtqB1uihH2FZakEcMLYc6YaSUDpRB aJF7aTZLlJdHuPjFO3U2N0GFW0by1zssNbhoHpDCh82xk62ygfYdFc6laV0+8vrEaKmU9riOy/UEs JuZaLgJJuCEUEoasoXbYi4qvAUXJCCSglPk003m5K95ewQvq98wJSNt/VJN906atgPRTak9+0pt01 /5lfBIIZcTBVXrzEp45hZi1765bv8ar7odcfwmFeQQ2gh9THq8abW/tAQhJZm44RnBztu6azjeiU1 eXQ8lbXcdjzt9w==; Date: Sat, 28 Sep 2024 13:58:05 +0300 Message-Id: <861q146o5e.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= on Mon, 23 Sep 2024 11:43:36 -0400) References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Sebastián Monía > Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io > Date: Mon, 23 Sep 2024 11:43:36 -0400 > > +(defcustom eww-use-doctype-fallback t > + "Accept a DOCTYPE tag as evidence that page content is HTML. This should say "Whether to accept the DOCTYPE tag as evidence that page content is HTML." > +This is used only when the page does not have a valid Content-Type > +header." > + :version "30.1" ^^^^ This should be "31.1" > +(defun eww--doctype-html-p (data-buffer) > + "Return non-nil if DATA-BUFFER contains a doctype declaration." Not just "doctype declaration", but "HTML doctype declaration", right? From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Sep 2024 15:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jporterbugs@gmail.com, 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.17277115762759 (code B ref 73133); Mon, 30 Sep 2024 15:53:01 +0000 Received: (at 73133) by debbugs.gnu.org; 30 Sep 2024 15:52:56 +0000 Received: from localhost ([127.0.0.1]:45578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svIhj-0000iR-Vy for submit@debbugs.gnu.org; Mon, 30 Sep 2024 11:52:56 -0400 Received: from fout-a6-smtp.messagingengine.com ([103.168.172.149]:54571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svIhh-0000iJ-Fr for 73133@debbugs.gnu.org; Mon, 30 Sep 2024 11:52:54 -0400 Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfout.phl.internal (Postfix) with ESMTP id 6A4A11380458; Mon, 30 Sep 2024 11:52:15 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-11.internal (MEProxy); Mon, 30 Sep 2024 11:52:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1727711535; x=1727797935; bh=5dARY3pgM4nwbflnKsS0NAsseUIgeknl 3Uutw+YPmCU=; b=Tr7YWFfobVVX+QmCbpjTjnSHYUkysqjwYGvDb6f5+cFVNa3g EolWMpIM2SfyCHRyWkJsjJbDQY6Xb0H4hG0R/1xti0lf0lvWuoBV/T/Qo/sGw0Hi M1z0qLT6/i9HL4dbHbg4IW0LMj8xoEHVYm77NwHOWCtyf+hVHsGcFe7hc+hNo0Y6 wuU0erWFrnek6LQYGuomyGS++2luWZt9cE/g518B5jiBiqdfbpjjw1mGG6Sp4fZ3 OUuKxkSjWHozUfD3rytY4JTESOfniIz9Q2EWQrPundXzBzC7C9kUnA1wvDTupE42 I3K9vqmvbRvBBgR/mWBM8BTy9VgMnV6sQ4bnmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1727711535; x= 1727797935; bh=5dARY3pgM4nwbflnKsS0NAsseUIgeknl3Uutw+YPmCU=; b=J hkeZF6kW8mD2TRlqX/7OU72L4LOqXZZoaoOsX6DiWIhWHJVxrqAhY3Eykr+2utbu PeQJpScxuKbsFcUR6W4/nNkN/IzU8jhkHcIFszCG236czzKx41OguonyU6YCdNU7 HrJdZ7uVZ3eNWSipCOnR67jjnvbsWaskejHIw3Z+vto8N39ICaubWPVeFtg57HK1 elnjv+n+m/AQz3W1uequxcUjguuoQnSxJ+Nn6gAohVTUDsTfc3MLQodB4KEEsluy RsdarJoF9c5e9F5oqpEqPEhK7ijcI6cZ93346hPZGvVXbuVUyKWscq+tbozH+qlw +2YGZ11qu0wLQGX+qrSuw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdduhedgleefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgfgsehtqhertddtredu necuhfhrohhmpefuvggsrghsthhijohnucfoohhnvogruceoshgvsggrshhtihgrnhessh gvsggrshhmohhnihgrrdgtohhmqeenucggtffrrghtthgvrhhnpedttdelteehvdejgfek tedutefffeehudfgheffleelieegfeeuiedtleekfeduveenucffohhmrghinhepshgvsg grshhmohhnihgrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsggrshhmohhnihgrrdgtohhmpdhnsg gprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehgrghnihhm rghrugesthhuthgrrdhiohdprhgtphhtthhopeejfedufeefseguvggssghughhsrdhgnh hurdhorhhgpdhrtghpthhtohepjhhpohhrthgvrhgsuhhgshesghhmrghilhdrtghomhdp rhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 Sep 2024 11:52:14 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <861q146o5e.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 28 Sep 2024 13:58:05 +0300") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <861q146o5e.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Mon, 30 Sep 2024 11:52:14 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: >> +(defcustom eww-use-doctype-fallback t >> + "Accept a DOCTYPE tag as evidence that page content is HTML. > > This should say > > "Whether to accept the DOCTYPE tag as evidence that page content is HTM= L." >> + :version "30.1" > ^^^^ > This should be "31.1" Will correct these (although the defcustom might change completely) >> +(defun eww--doctype-html-p (data-buffer) >> + "Return non-nil if DATA-BUFFER contains a doctype declaration." > > Not just "doctype declaration", but "HTML doctype declaration", right? Same here. Thanks for the feedback! --=20 Sebasti=E1n Mon=EDa https://site.sebasmonia.com/ From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Sep 2024 17:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172771630427633 (code B ref 73133); Mon, 30 Sep 2024 17:12:01 +0000 Received: (at 73133) by debbugs.gnu.org; 30 Sep 2024 17:11:44 +0000 Received: from localhost ([127.0.0.1]:45938 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svJw0-0007Bc-AW for submit@debbugs.gnu.org; Mon, 30 Sep 2024 13:11:44 -0400 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]:51243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1svJvu-0007BS-EG for 73133@debbugs.gnu.org; Mon, 30 Sep 2024 13:11:42 -0400 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id 55D721140489; Mon, 30 Sep 2024 13:11:00 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Mon, 30 Sep 2024 13:11:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1727716260; x=1727802660; bh=2olBm+uZc5Gsuxh2tUDFFQaGixBi3amu fHRF1OXTz1Y=; b=nE16A1Mf2mix1SQfejwe/uZ3itc2xaMvh6m74ZPCcqIVgOtD kPmKqONinAgZNFBan6iJxDdP3FipLYymdrrKuA5pMy8705j5gtkVX6seL0tY4XqF cTqsfj+7gi2oyUDXZVu8g91ny95ErWM2P/ff0F7hyYUxB9X0I3WdZWPEOIuRL8YL 7H1tYH9sYj9QQ4AgRO4Ob0jru46EnJAFLAsENdD+k9b4k2PqeWV3CWmu1Thpc3mv w8OjJ5nSEMrj+w2Wgy8wPOF/DR7k6+9fyLvv4soowi81Kd1kE2qHAlI1YGVjvg6d xrND+cxn5yOwYzDCuMPKGOWadndOhXRjokPOnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1727716260; x= 1727802660; bh=2olBm+uZc5Gsuxh2tUDFFQaGixBi3amufHRF1OXTz1Y=; b=J XJa0l9V9+aX/Kltn5zroPdDX5sJJuBTFtAlD8C5Y0kqqSBTcL8q0gx0ajOMf62VC iUK+t9zWnXO++ITgGbg4MJp5RpiW8Af9EF7npcVlHEmclctPhDm6PA6s+i7K7yFh UdJy7+3VkwpsUeaqdDfVP0E7C2lXxbzpIdWscoDwHwOYSIUxpas6QJl3rqVFhOQu BrDx/Mcv/NlMKwzIAT/7VvDBNm6C1opoEdh4DAEyEQMpIEfnAVmByjCDRxJYepPC Kat2LqYkZM+mzqzE7Vcazl+yBTZbtnZ8gpZt07u6qVGCh/UMkF2D9R4FYhm+Xljh g+yndOsRTJnKzKQ33MelQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdduhedguddtlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfgfgggtgfesthhqredttder udenucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnse hsvggsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhepjeefkeetveeuvdff hedtgeeukedtveekveethfdvgfffieeiieetuefgvdeiveeknecuffhomhgrihhnpehsvg gsrghsmhhonhhirgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehsvggsrghsthhirghnsehsvggsrghsmhhonhhirgdrtghomhdpnh gspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepghgrnhhi mhgrrhgusehtuhhtrgdrihhopdhrtghpthhtohepjeefudeffeesuggvsggsuhhgshdrgh hnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehj phhorhhtvghrsghughhssehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 30 Sep 2024 13:10:59 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: (Jim Porter's message of "Wed, 25 Sep 2024 18:59:18 -0700") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> Date: Mon, 30 Sep 2024 13:10:59 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello! I was looking into this today and considering our options. Jim Porter writes: > On 9/25/2024 1:46 PM, Sebasti=E1n Mon=EDa wrote: >> Jim Porter writes: >>> I was actually thinking something more general, like a defcustom named >>> 'eww-guess-content-type-functions', which would be a list of functions >>> where the first non-nil result is the guessed Content-Type. That way, >>> we could extend this to other content types (for example, maybe we'd >>> want to look for the magic headers for various image formats too; we >>> don't have to do that in this bug). We aren't really guessing the content-type, at least in the scope of my original patch, and probably this bug. We just want to know if the page is HTML to render it, in these snippets (part of eww-render): ;; original cond ((eww-html-p (car content-type)) (eww-display-html (or encode charset) url nil point buffer)) ;; one possible alternative=20 ((or (eww-html-p (car content-type)) ;; alternative mechanism to detect if the page is HTML ;; via , or other tests. ) (eww-display-html (or encode charset) url nil point buffer)) We could instead change 'eww-html-p' to accept the content-type, other headers and buffer. And in that function, as a fallback, call the functions in 'eww-guess-content-type-functions' and return non-nil for HTML. The reason I am suggesting this is that there is no benefit to have a generic mechanism to detect the Content Type, without heavily modifying 'eww-render'. It only matters in the context of deciding whether to render the HTML or displaying it as-is, other cases are handled in eww-render already. Hope that made sense! I can always address Eli's comments in the context of my original patch, too, for a much simpler (and of course, limited) solution. --=20 Sebasti=E1n Mon=EDa https://site.sebasmonia.com/ From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Oct 2024 23:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172799881713790 (code B ref 73133); Thu, 03 Oct 2024 23:41:02 +0000 Received: (at 73133) by debbugs.gnu.org; 3 Oct 2024 23:40:17 +0000 Received: from localhost ([127.0.0.1]:34086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swVQf-0003aM-7a for submit@debbugs.gnu.org; Thu, 03 Oct 2024 19:40:17 -0400 Received: from mail-pj1-f46.google.com ([209.85.216.46]:48456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swVQd-0003Wv-Ea for 73133@debbugs.gnu.org; Thu, 03 Oct 2024 19:40:15 -0400 Received: by mail-pj1-f46.google.com with SMTP id 98e67ed59e1d1-2e0c7eaf159so1271515a91.1 for <73133@debbugs.gnu.org>; Thu, 03 Oct 2024 16:40:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727998747; x=1728603547; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=FaXRN75wStPpumKPGK+N1uu7o5MYuwB1ZFU2Ktu06js=; b=LijccpeB50o+a6vvUXcVwwG5mE1+8TdHXYZGJVZQrJeRZpI9ZMAprmEo0Zo1qAPE1p UeUayA/eHFzQLqDPZcDpdWBPIMr9fmb3CbvHz53IR5+S5TVx1+2feBMvt0uGllqGDJtS 0we5bSGyVPOgkWT/g1z4MPFGiKHtlJc2a1yovgfwQppWmsXiKcqG3EmbUlb26zuAhy9N mFzOO4iR8Ybmah+39/IA+9hVrtyOcVuh1C2TFFr4EKg1ocdO2Kl0pIK3g58uzi/VZd5k IFrutbXDFZhAS68gNpt/pSP/XuRpu5O3nXnuYSp+1CpVFl7dHiPtHAxZUHfOiD6v6dbX tY+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727998747; x=1728603547; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=FaXRN75wStPpumKPGK+N1uu7o5MYuwB1ZFU2Ktu06js=; b=r6X5RAO58LCsuFYMlAZA6n1C03JkzQcIiymRVT2cKEkXUeCXh74AgHjQpbDIdvC5YK eydB7a75ZuP/YDRzai8X+1Xv9q6IO2eQ64Ah9/ukYoZR3U/C9iCt7DvG1P/g70Mwb0Th yw8dxnBI7nLK6naFCht01erztMDrZ+4OV5ndJODRvaldqspVonVngNsyMELTNavJMDcA zqikYlFmksCSDgjHTHVlccbItKZzcdyJKNZPHZ5XKqSLZKnNoQwCpqO2QYoQ/wgrmud0 hAleD+ya4J4EKEvWjVwRP3oZoBaX0eImKu+IsF2PIIGlTButZK5FJCDX/VY9Ak/0fpGD fm8Q== X-Forwarded-Encrypted: i=1; AJvYcCXOjE38E6l3CGvJTNW9NfIrWiz9vcgMxMtS/y3/aFgByDwd/Ao0HBITz3V8xyxPOLoOjm816g==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yx+Th6YtB/JgHCTuCDHmwSd42mKKG5w7lLrvOdKoh/KnN1XUgyQ lYwroJCXWhz2Xm5dRqfgr1lsKV0Bp26/iG4p9GAhjwFo+u30Ue+v X-Google-Smtp-Source: AGHT+IGcJLjOlhn0lf7AKLp/nnc9qNk1H3b8fM6B9MjzC1xd0J5N5nm6Bs9Unb3p3pOY3NSbTMBCqg== X-Received: by 2002:a17:90a:fd87:b0:2da:6812:c1bd with SMTP id 98e67ed59e1d1-2e1e621f1e7mr943762a91.15.1727998747141; Thu, 03 Oct 2024 16:39:07 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-2e1e83ca284sm98691a91.11.2024.10.03.16.39.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Oct 2024 16:39:06 -0700 (PDT) Message-ID: <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> Date: Thu, 3 Oct 2024 16:39:06 -0700 MIME-Version: 1.0 Content-Language: en-US References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> From: Jim Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 9/30/2024 10:10 AM, Sebastián Monía wrote: > We aren't really guessing the content-type, at least in the scope of my > original patch, and probably this bug. We just want to know if the page > is HTML to render it, in these snippets (part of eww-render): What I was thinking about was something like this (with some appropriate implementation for 'eww--guess-content-type', possibly accepting args as needed): diff --git a/lisp/net/eww.el b/lisp/net/eww.el index b5d2f20781a..1c134717cc9 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -659,7 +659,7 @@ eww-render (content-type (mail-header-parse-content-type (if (zerop (length (cdr (assoc "content-type" headers)))) - "text/plain" + (eww--guess-content-type) (cdr (assoc "content-type" headers))))) (charset (intern (downcase From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2024 03:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.17284446245370 (code B ref 73133); Wed, 09 Oct 2024 03:31:02 +0000 Received: (at 73133) by debbugs.gnu.org; 9 Oct 2024 03:30:24 +0000 Received: from localhost ([127.0.0.1]:55118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syNP5-0001OY-Df for submit@debbugs.gnu.org; Tue, 08 Oct 2024 23:30:23 -0400 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]:38947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syNP1-0001Hc-R0 for 73133@debbugs.gnu.org; Tue, 08 Oct 2024 23:30:22 -0400 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id C0D1E11401B1; Tue, 8 Oct 2024 23:30:04 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Tue, 08 Oct 2024 23:30:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1728444604; x= 1728531004; bh=XpEDLtKItcSmR6ILvltuWMUbo4Y7SXNBkAeqt2zTm1Q=; b=G 2jZ7AblpHVHClG1DF8mN4TJnFEzzMwNKWe4T9L4V7yB2cxuz660SbbquN8CJXNH3 VpQhxFQnfSg58rXmxBk9aw9OMg6Nn+kP7eR9dcfYJT5J6ij6zv6CRbHT0DS5AgU5 FM/rHEy6CJrZmB5iZty8WqwS3OxJtLU/YraR7skNXKfhRwOKgw5L2vLjKs8+BYfA yntL/9yu6+WrTwIxzcVXzVimeJXlntRSGrSPmULAqFMqRKsUkXP2wa0+iMlMSQ6V C6PBGl+VafOTwWG/xuk8W9xqzs63EX8whvKiAvgZIsXggEXuQZqaymgh8/4+Xhga iADK8dbhoCLpJ35AQdOeQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728444604; x=1728531004; bh=XpEDLtKItcSmR6ILvltuWMUbo4Y7 SXNBkAeqt2zTm1Q=; b=M/R+08j34ekuFzoGuwG83Wmjz4H3M/+N+L37iZQGahSN mMkhmNpwV5aos85coK4cIK9fITBmguUEOjvAccVfFLlJ67t48gVOrWnI5/Nw7b0X kspdrwVn/Q5PIdlwN+VD/iDUvfPFUwPG3JDXzTUyxQiTAZzVahEgza7d10PF+dhe tLKbWaO/cpL1xVMaC1DgaecPDukIfi07uZlHk9DqeY33cSMTwmhSdXa7yrHlTPKN ww1kt5AOilkfsNiQY0m2ehV5K588oeN3iQTUGfMEpAlBTt8Jja8WKbjsoUGRjGr8 FW4yTomhVdFa57ZwHKz+xGHTvl3E1lR6DwPH4AsaKQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefvddgjedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkfgggtgesmhdtreertderjeen ucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnsehsvg gsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhepheekvdeufffgleeuvdeu tefhjeettedufeffleehjeeguefggfetteefvddvkeetnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsggrshhm ohhnihgrrdgtohhmpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehgrghnihhmrghrugesthhuthgrrdhiohdprhgtphhtthhopeejfedufeef seguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorh hgpdhrtghpthhtohepjhhpohhrthgvrhgsuhhgshesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 8 Oct 2024 23:30:04 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> (Jim Porter's message of "Thu, 3 Oct 2024 16:39:06 -0700") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> Date: Tue, 08 Oct 2024 23:30:03 -0400 Message-ID: <87y12y7y2s.fsf@sebasmonia.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jim Porter writes: > On 9/30/2024 10:10 AM, Sebasti=C3=A1n Mon=C3=ADa wrote: >> We aren't really guessing the content-type, at least in the scope of my >> original patch, and probably this bug. We just want to know if the page >> is HTML to render it, in these snippets (part of eww-render): > > What I was thinking about was something like this (with some > appropriate implementation for 'eww--guess-content-type', possibly > accepting args as needed): > > diff --git a/lisp/net/eww.el b/lisp/net/eww.el > index b5d2f20781a..1c134717cc9 100644 > --- a/lisp/net/eww.el > +++ b/lisp/net/eww.el > @@ -659,7 +659,7 @@ eww-render > (content-type > (mail-header-parse-content-type > (if (zerop (length (cdr (assoc "content-type" headers)))) > - "text/plain" > + (eww--guess-content-type) > (cdr (assoc "content-type" headers))))) > (charset (intern > (downcase Hello! Attached a new patch that goes in the direction outlined above, let me know what you think. Cheers, Seb --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-customization-to-let-EWW-guess-content-type-if-n.patch Content-Description: patch >From 309a7d729665f14964a550f57f589a79705e23d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Mon=C3=ADa?= Date: Tue, 8 Oct 2024 23:26:42 -0400 Subject: [PATCH] Add customization to let EWW guess content-type if needed (bug#73133) --- lisp/net/eww.el | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index b5d2f20781a..0a9a621f3e5 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -108,6 +108,19 @@ eww-suggest-uris eww-current-url eww-bookmark-urls)) +(defcustom eww-guess-content-type-functions + '(eww--html-if-doctype) + "List of functions used to guess a page's content-type. +These are only used when the page does not have a valid Content-Type +header. Functions are called in order, until one of them returns the +value to be used as Content-Type. They receive two parameters: an alist +of headers, and the buffer that holds the complete response. If the +list is exhausted, eww assumes \"text/plain\" so the user can see the +markup." + :version "31.1" + :group 'eww + :type '(repeat function)) + (defcustom eww-bookmarks-directory user-emacs-directory "Directory where bookmark files will be stored." :version "25.1" @@ -630,6 +643,31 @@ eww-html-p (member content-type '("text/html" "application/xhtml+xml"))) +(defun eww--guess-content-type (headers response-buffer) + "Use HEADERS and RESPONSE to guess the Content-Type. +Will call each function in `eww-guess-content-type-functions', until one +of them returns a value. This mechanism is used only if there isn't a +valid Content-Type header. If none of the functions can guess, return +\"text/plain\", so at least the mark up is displayed." + (let ((first-guess (seq-some + (lambda (f) (funcall f headers response-buffer)) + eww-guess-content-type-functions))) + (or first-guess "text/plain"))) + +(defun eww--html-if-doctype (headers response-buffer) + "Return \"text/html\" if RESPONSE-BUFFER has an HTML doctype declaration. +HEADERS is unused." + ;; https://html.spec.whatwg.org/multipage/syntax.html#the-doctype + (let ((case-fold-search t) + (target + "\\|system +\\(\\\"\\|'\\)+about:legacy-compat\\)")) + (with-current-buffer response-buffer + (goto-char (point-min)) + ;; match basic and also legacy variants as + ;; specified in link above + (when (re-search-forward target nil t) + "text/html")))) + (defun eww--rename-buffer () "Rename the current EWW buffer. The renaming scheme is performed in accordance with @@ -659,7 +697,7 @@ eww-render (content-type (mail-header-parse-content-type (if (zerop (length (cdr (assoc "content-type" headers)))) - "text/plain" + (eww--guess-content-type headers buffer) (cdr (assoc "content-type" headers))))) (charset (intern (downcase -- 2.43.0 --=-=-=-- From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Oct 2024 03:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.17284454437939 (code B ref 73133); Wed, 09 Oct 2024 03:45:02 +0000 Received: (at 73133) by debbugs.gnu.org; 9 Oct 2024 03:44:03 +0000 Received: from localhost ([127.0.0.1]:55130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syNcJ-00023y-3Z for submit@debbugs.gnu.org; Tue, 08 Oct 2024 23:44:03 -0400 Received: from mail-pf1-f178.google.com ([209.85.210.178]:56753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syNcG-00023M-H1 for 73133@debbugs.gnu.org; Tue, 08 Oct 2024 23:44:01 -0400 Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-71de9e1f374so3343363b3a.1 for <73133@debbugs.gnu.org>; Tue, 08 Oct 2024 20:43:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728445370; x=1729050170; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=0Naw0pmorlG/emG+3M1FNG6jomjJK+WdizLpbSmvHV8=; b=mk2L6t+etsmV9YK3KX/fdx/XIQ7DlkzS8cbqrPDNi9sZxAFJNgZ23lUTXB8/qA17oy hdR8lZk7+1nuxxq3eQfpeQQ+I2XibSi4egURQrR7LZDZMWzizEm1U+tfUtxWnXwVrwUP aF0bYj+9DK4cbeMySKtMU96KDb089riP9kjzvBZgUvrPDVNo35z+wJMpzrKIs4SIJxOD 0ykrmC4WmUMG7a/qSwIwMzUcLH8uQ5FFGaZjJVswKL84OVqEFQD20zcrnsJx1W41k2pv ZKNyN0OYBhkYyKvnYFZdwHPbTS1yFRfIe9oMApoZeNvNeQdIk4haXwNl+nC8+H8TLAoo C1ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728445370; x=1729050170; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=0Naw0pmorlG/emG+3M1FNG6jomjJK+WdizLpbSmvHV8=; b=BFiAG5wYRLtbEzWI9V45Dos2paktA1kIVtHcB9yNf2FPzFd/kCm/xJt2OGPDtewPnE N5G+M9TzfxJkaVdfXusO2TSrR40rx4vGk/tFH0hcwXOeTezLlu07UdGLqkpNUK7Ibm/u ZsZk+wX0roaaswlRFd4VUdGVAj6sqgb1OcAc8RuoMpT24Azb6HCIzNYw8B9rxW44QBmb R0XFbHNF1g96yMqxzThuTSu4pn7fWKjyOGj6e+DuGRPG//LN1JpLDDU3yKCBH92zwbkO QMNgmf7+BMJyzKzD23/AudlEawxWB9dZZqm8SBi7daHV7zjdU2GgtXpdJWk4kKkD/Mdb YbYw== X-Forwarded-Encrypted: i=1; AJvYcCVJ8ZSt0grJZh1bfvqY6B+5hEIbfj9+g6QBlnkIb76vw+FId08unMafrG5Ohdp4wZMjIeiGmQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz5tUH8CrMC3S07/J2UpVcBCL9irqEpq+DHnDYqfghImShNFmqd MIuAu6xFs770L1tK0CanXJ6izDBt47XAPur2cOWfIKAVuH+Pky1d X-Google-Smtp-Source: AGHT+IFIeNv8olcH0mfYmJ/jMHMra9B/H1vP+wFo5OL4lVXB2L3oeFO37c5jvo4d53KLaJZhUPJs5A== X-Received: by 2002:a05:6a00:c88:b0:71e:66b:c7ee with SMTP id d2e1a72fcca58-71e1db63d93mr1790682b3a.2.1728445369930; Tue, 08 Oct 2024 20:42:49 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-71df0d4535esm6794669b3a.120.2024.10.08.20.42.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 08 Oct 2024 20:42:49 -0700 (PDT) Message-ID: <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> Date: Tue, 8 Oct 2024 20:42:47 -0700 MIME-Version: 1.0 References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> Content-Language: en-US From: Jim Porter In-Reply-To: <87y12y7y2s.fsf@sebasmonia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 10/8/2024 8:30 PM, Sebastián Monía wrote: > Attached a new patch that goes in the direction outlined above, let me > know what you think. Thanks, I think this looks good overall (though I haven't run with your patch locally). Just one comment below. > + (let ((first-guess (seq-some > + (lambda (f) (funcall f headers response-buffer)) > + eww-guess-content-type-functions))) > + (or first-guess "text/plain"))) I believe this could be: (or (run-hook-with-args-until-success 'eww-guess-content-type-functions headers response-buffer) "text/plain") From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Oct 2024 02:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172852611630336 (code B ref 73133); Thu, 10 Oct 2024 02:09:01 +0000 Received: (at 73133) by debbugs.gnu.org; 10 Oct 2024 02:08:36 +0000 Received: from localhost ([127.0.0.1]:58125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syibU-0007tE-Aq for submit@debbugs.gnu.org; Wed, 09 Oct 2024 22:08:36 -0400 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]:45379) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syibQ-0007sy-F3 for 73133@debbugs.gnu.org; Wed, 09 Oct 2024 22:08:34 -0400 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id 8FF7213802B6; Wed, 9 Oct 2024 22:08:16 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-12.internal (MEProxy); Wed, 09 Oct 2024 22:08:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1728526096; x= 1728612496; bh=SpVbjbtTmpWiNeZ0sq0kslKryPGMsKUBoYqyUFMpxps=; b=k l/54nRSMSLHj6e9zsxKaj1XDjjWIIKYy0SWhiwc4KX81kVm8E+/MhUBAHc27AhSx N+P0Vk5h+lFVAin+R98qbpEZhG0dts6wHosgfd3dlBsz2v7pYwrcgfISWkuTeX14 1h24jGHWyWT9stWdWVGH739mAVNS7j6Bgq31BSDVPvg0sVnHknhwesbAFQR41IbY wvNjjEX+FuxIHznALx8Hl3Yid2K6TO/KQ7lw+8m7hBxp1eC+zbvINtWniKt4SBYi s0wPh4t6plVl7Yr7CDb2W9ruwJYqAFcp9/kJljFiqY0Cg44qqMOdksO96IfcRVOe nUFuUyl72f4xxfoSOExNg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1728526096; x=1728612496; bh=SpVbjbtTmpWiNeZ0sq0kslKryPGM sKUBoYqyUFMpxps=; b=PBpSnJHlhveQewsqpAXuJ3g7C9S92iKx0G/VFmftpwti ts0DTigZgFkZcF5sPKz1PVqVa8SFC931GemJ7JBPnKMLjO792lBqzrEG7pKBhqwu H+SQ0cCbcJEDCNIoRef1tqVsFARTG5WUVp/7HHOMdCopadjLn/zoiv9dJqUiWYam rb3O7iTj4uU2hZLQfCKaxv6pgaXRy3Oi0hjPdp3cldnVpIXcnhsFtTWQnnX8gjWG 2Siaeej7WYCATEeKRN9lQBXBvjz3JCpM/c/xxK7P4QCyS4DV0NfLteaXRvpjQvl6 PNbrQnIS8fBI7pPl83ikJkwKthseCNLDdCL1iZAB8Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefgedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkfgggtgesmhdtreertderjeen ucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnsehsvg gsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhepheekvdeufffgleeuvdeu tefhjeettedufeffleehjeeguefggfetteefvddvkeetnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsggrshhm ohhnihgrrdgtohhmpdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehgrghnihhmrghrugesthhuthgrrdhiohdprhgtphhtthhopeejfedufeef seguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorh hgpdhrtghpthhtohepjhhpohhrthgvrhgsuhhgshesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Oct 2024 22:08:15 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> (Jim Porter's message of "Tue, 8 Oct 2024 20:42:47 -0700") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> Date: Wed, 09 Oct 2024 22:08:14 -0400 Message-ID: <87ttdk90c1.fsf@sebasmonia.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain Jim Porter writes: > I believe this could be: > > (or (run-hook-with-args-until-success > 'eww-guess-content-type-functions headers response-buffer) > "text/plain") TIL. I landed in seq-some looking for something like run-hook-with-args-until-sucess. So I actually learned two days in a row! :) Attached a modified patch. I also noticed and corrected another error, that broke things when using the "g" (reload) command. As for testing, I used this: (defun do-ask (headers response) (when (y-or-n-p "decide?") (if (y-or-n-p "render?") "text/html" "text/plain"))) (setq eww-guess-content-type-functions '(do-ask eww--html-if-doctype)) And then reverse the order of the functions. Using "regular" pages and the one reported in the bug. Also tested with no functions. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-customization-to-let-EWW-guess-content-type-if-n.patch Content-Description: patch bug 73133 >From 5239cf0add09f69276ae21c13efb2fe665297234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Mon=C3=ADa?= Date: Tue, 8 Oct 2024 23:26:42 -0400 Subject: [PATCH] Add customization to let EWW guess content-type if needed (bug#73133) --- lisp/net/eww.el | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index b5d2f20781a..30e780a44d9 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -108,6 +108,19 @@ eww-suggest-uris eww-current-url eww-bookmark-urls)) +(defcustom eww-guess-content-type-functions + '(eww--html-if-doctype) + "List of functions used to guess a page's content-type. +These are only used when the page does not have a valid Content-Type +header. Functions are called in order, until one of them returns the +value to be used as Content-Type. They receive two parameters: an alist +of headers, and the buffer that holds the complete response. If the +list is exhausted, eww assumes \"text/plain\" so the user can see the +markup." + :version "31.1" + :group 'eww + :type '(repeat function)) + (defcustom eww-bookmarks-directory user-emacs-directory "Directory where bookmark files will be stored." :version "25.1" @@ -630,6 +643,30 @@ eww-html-p (member content-type '("text/html" "application/xhtml+xml"))) +(defun eww--guess-content-type (headers response-buffer) + "Use HEADERS and RESPONSE to guess the Content-Type. +Will call each function in `eww-guess-content-type-functions', until one +of them returns a value. This mechanism is used only if there isn't a +valid Content-Type header. If none of the functions can guess, return +\"text/plain\", so at least the mark up is displayed." + (or (run-hook-with-args-until-success + 'eww-guess-content-type-functions headers response-buffer) + "text/plain")) + +(defun eww--html-if-doctype (headers response-buffer) + "Return \"text/html\" if RESPONSE-BUFFER has an HTML doctype declaration. +HEADERS is unused." + ;; https://html.spec.whatwg.org/multipage/syntax.html#the-doctype + (let ((case-fold-search t) + (target + "\\|system +\\(\\\"\\|'\\)+about:legacy-compat\\)")) + (with-current-buffer response-buffer + (goto-char (point-min)) + ;; match basic and also legacy variants as + ;; specified in link above + (when (re-search-forward target nil t) + "text/html")))) + (defun eww--rename-buffer () "Rename the current EWW buffer. The renaming scheme is performed in accordance with @@ -659,7 +696,7 @@ eww-render (content-type (mail-header-parse-content-type (if (zerop (length (cdr (assoc "content-type" headers)))) - "text/plain" + (eww--guess-content-type headers (current-buffer)) (cdr (assoc "content-type" headers))))) (charset (intern (downcase -- 2.43.0 --=-=-=-- From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2024 04:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172888062124998 (code B ref 73133); Mon, 14 Oct 2024 04:38:02 +0000 Received: (at 73133) by debbugs.gnu.org; 14 Oct 2024 04:37:01 +0000 Received: from localhost ([127.0.0.1]:33898 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0CpJ-0006V2-7X for submit@debbugs.gnu.org; Mon, 14 Oct 2024 00:37:01 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:49425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0CpE-0006Uc-Rc for 73133@debbugs.gnu.org; Mon, 14 Oct 2024 00:36:59 -0400 Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-7ae3d7222d4so3241452a12.3 for <73133@debbugs.gnu.org>; Sun, 13 Oct 2024 21:36:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728880534; x=1729485334; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=wL1gxMmRWh1QpoPxxyWi2Gv9Lcvv0k+3HRdL5Yzt380=; b=Y3D9ufpqYDoKjcuwmdPdcWtMZilclDCVVcxwdEY8Zi45uxWua7pJaszkH5KBr0A+4Y eqzeSmGhD9b9ZKpLV4Iz31noYuurZkXS9lPHg2VvQLXmg1MfIq26/ffpK+mc/mnuMzpi nZ70r/niNr6HLCZkrls2ZM6ARIXmjZU82yPsu/3P0V7QOVBouwkhDMJxR4DO7kmT5SL0 pIp404pT6bHCOGE94gy2dzVLFVHM5tCgfYL+gc+9C9U5STeTnIsv5OEa1qwtBsip2Y9+ megZSTY2C88zDNZlx5nptcJiUWyStBcx0VT1UNbZc5MgyDzGWYgXRpvDSznQfs5hF224 GyAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728880534; x=1729485334; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wL1gxMmRWh1QpoPxxyWi2Gv9Lcvv0k+3HRdL5Yzt380=; b=bDy5/NGskeuf6YTk70ClKNwHCtjkOuLMvOtKBeXTMclZu7rMtqTg10NmaXXCj8XzX/ zywkHz/PGChOSquDiNeQQP1+rGqk4n8kH89p3/vJ5EoaCBDAVjZCB1y8yY39aCqrRkpO ZyKrnMmcS1p+CA9kAplHU40SIOrRichZutpkowOWVB9jTlezfNi0RiJXPv+5W1QdoeNM fj+sBTLv2h8oIQYInakliK6Yzx7SJsAj6eZdjbtP7ZErhvIyDJup9O+gglQalba6l2q0 3WJWnIJgdflsPrlLEnZVVNE8QXuj18KZ/3T4Pg3E0rhuh1Xru6mEHJZYz/krx+unmKFV i5JQ== X-Forwarded-Encrypted: i=1; AJvYcCUW9TmvuEW9AJu6qRxwgzdFN35hmey+LHKeUSRAUcvduehY+1YobLktcT8VmRlaMzFFoDfIhA==@debbugs.gnu.org X-Gm-Message-State: AOJu0YxQHIzlcJjuwBweOWADtvRhsNoU8vaK5fitSxRn49XQb6cDyep8 8UruIgaIYBrcVlHj30m7UKyGIfXdFazD0MLk3/SfcchxoBfmXZ9p X-Google-Smtp-Source: AGHT+IHxiE/oV+U6TMWlbunlPsGUFVaBbAxZV6xUIp7bqZE+5kcDA9e54qHno+3ia8ADLPdd0wktCA== X-Received: by 2002:a05:6a20:4c20:b0:1d8:d27f:476 with SMTP id adf61e73a8af0-1d8d27f07bfmr5874579637.2.1728880534169; Sun, 13 Oct 2024 21:35:34 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d2e1a72fcca58-71e5ab29b9fsm2250077b3a.22.2024.10.13.21.35.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Oct 2024 21:35:33 -0700 (PDT) Message-ID: <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> Date: Sun, 13 Oct 2024 21:35:33 -0700 MIME-Version: 1.0 Content-Language: en-US References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> <87ttdk90c1.fsf@sebasmonia.com> From: Jim Porter In-Reply-To: <87ttdk90c1.fsf@sebasmonia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 10/9/2024 7:08 PM, Sebastián Monía wrote: > Attached a modified patch. I also noticed and corrected another error, > that broke things when using the "g" (reload) command. Thanks, I think this looks good overall. I just noticed one small nit (which I can fix when merging): > +(defun eww--html-if-doctype (headers response-buffer) > + "Return \"text/html\" if RESPONSE-BUFFER has an HTML doctype declaration. > +HEADERS is unused." If an argument is unused, the convention is to prefix it with an underscore like "_headers". Then Flymake won't complain about an unused variable. :) One last question: do you have FSF copyright assignment paperwork filled out? If you haven't already, you'll need to fill that out before we can merge this. (I don't think I have access to the full list of people who've filled out paperwork, so I'm not sure if you've already done this.) From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Oct 2024 14:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: sebastian@sebasmonia.com, 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172891562123685 (code B ref 73133); Mon, 14 Oct 2024 14:21:02 +0000 Received: (at 73133) by debbugs.gnu.org; 14 Oct 2024 14:20:21 +0000 Received: from localhost ([127.0.0.1]:39453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0Lvo-00069u-Nz for submit@debbugs.gnu.org; Mon, 14 Oct 2024 10:20:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0Lvm-00069I-9V for 73133@debbugs.gnu.org; Mon, 14 Oct 2024 10:20:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t0LfA-0007D6-Qd; Mon, 14 Oct 2024 10:03:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=i+fUTRZgenFCPU2MR0g8HWjCPeIPUb9Z0F6Ft6IwhZ8=; b=onmqVJYlmrO+lk6G68De +t/9QwUETQi+fK/Z9PITdQt7SXbwnMGDMp+GC0x1EXmGc7s2E2ci8Ejme0OJ4xHfeRj/C92w5wr6g OUmh0uNAMAaTDnM6HYddsgTIAJrjGnync7r5ZTG3hrTM+JlcAKc5TCOr+3KYr0Tddn+7gERJl+G1O wiTTWD3SDsjYde7awq27TPKpzON+OMzT9Yu12KTzBPWf4U+9eFteKSSPFtoHACbIEb0xcvQbcJ3R4 rFDY89iad2qCvZiBnFbmEQKRPDkuyLUG7EcOjmml11yO6mDawlnu2mtFsFD6eL1bcJCc7kZG5umO5 NX/YrN4ZjpJJkw==; Date: Mon, 14 Oct 2024 17:03:05 +0300 Message-Id: <86sesysrxi.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> (message from Jim Porter on Sun, 13 Oct 2024 21:35:33 -0700) References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> <87ttdk90c1.fsf@sebasmonia.com> <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 13 Oct 2024 21:35:33 -0700 > Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io > From: Jim Porter > > One last question: do you have FSF copyright assignment paperwork filled > out? AFAIK, Sebastián is in the middle of the assignment process, but it was not yet completed. From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Oct 2024 11:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Jim Porter , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172899265624358 (code B ref 73133); Tue, 15 Oct 2024 11:45:02 +0000 Received: (at 73133) by debbugs.gnu.org; 15 Oct 2024 11:44:16 +0000 Received: from localhost ([127.0.0.1]:54315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0fyG-0006Kj-Ck for submit@debbugs.gnu.org; Tue, 15 Oct 2024 07:44:16 -0400 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]:49805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t0fyC-0006KQ-82 for 73133@debbugs.gnu.org; Tue, 15 Oct 2024 07:44:11 -0400 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfhigh.phl.internal (Postfix) with ESMTP id BCB441140267; Tue, 15 Oct 2024 07:43:44 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Tue, 15 Oct 2024 07:43:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1728992624; x=1729079024; bh=b2aQJb/xK4evyw0fZTZbZ2LebP16vzBR 3o6H/IHgW9M=; b=h04ja6BpRPk4BNU7Ha2LWSrFIs//Bev90QZtM6IyG0oeAQPW tt/urkoWdHUV5cUyznr+oPxXPh6jHb7/+V8kAPGcZOzwPf8ilvAyNfnq0E3CTNHe TFl8/YvXqIf+i9tNAtUE8oWR84J6cjTaCmjzyGOEW7d2jdA1hKtYGGhbWg9wNrHW GMMlSAgefBcpzStgVcGvovU6WFW5OnQ6EC+0m0Whc2NlajecaYJceSVSGF9Dor9C HVv3nPa1VIWsdz7ZElbcTbCVhFpA09rxcCYmaj53/X16zJgTs/i3BhUEyWNkgkCm Bt7oD1mxSpbABTDjHMGdWdt/ITpHradRk6EtnA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1728992624; x= 1729079024; bh=b2aQJb/xK4evyw0fZTZbZ2LebP16vzBR3o6H/IHgW9M=; b=N ZmMJYvEx+mId3AXYdhuDxxyBg7q+cZx65y8W9fzbrA/CC3RwT07M11fO7ByA3iVF Lctktupz1fsdSNd5vlaZYo+aN0hTQBeMLJl/eUGQm8tKiuElXELVk3Xe13zNkdkK v6WReuUBesUXce3dUTw0tln8vO5m7H8ccJefCdUwzmI8Mp/F2qvN9AZthKt63GfV kQHwRsC9pgJxLiKVzAROzO4Yd8N27U/yVpXkR0/HPsplRjeps8Nvu5Whh1QQBqvP sWV4+fCqPEU29C84tlBoaYITWxvFvH8JQTxP2N+RTWgDEdzrDSCrc6RodGco2c3j gJvF20hEo406dsXklKmkA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdegjedggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkfgggtgfgsehtqhertddtredu necuhfhrohhmpefuvggsrghsthhijohnucfoohhnvogruceoshgvsggrshhtihgrnhessh gvsggrshhmohhnihgrrdgtohhmqeenucggtffrrghtthgvrhhnpeejfeekteevuedvffeh tdegueektdevkeevtefhvdfgffeiieeiteeugfdvieevkeenucffohhmrghinhepshgvsg grshhmohhnihgrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsggrshhmohhnihgrrdgtohhmpdhnsg gprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehgrghnihhm rghrugesthhuthgrrdhiohdprhgtphhtthhopeejfedufeefseguvggssghughhsrdhgnh hurdhorhhgpdhrtghpthhtohepjhhpohhrthgvrhgsuhhgshesghhmrghilhdrtghomhdp rhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 15 Oct 2024 07:43:44 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <86sesysrxi.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 14 Oct 2024 17:03:05 +0300") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> <87ttdk90c1.fsf@sebasmonia.com> <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> <86sesysrxi.fsf@gnu.org> Date: Tue, 15 Oct 2024 07:43:40 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: >> Date: Sun, 13 Oct 2024 21:35:33 -0700 >> Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io >> From: Jim Porter >>=20 >> One last question: do you have FSF copyright assignment paperwork filled= =20 >> out? > > AFAIK, Sebasti=E1n is in the middle of the assignment process, but it > was not yet completed. This is correct. I sent the form signed, didn't hear back yet. --=20 Sebasti=E1n Mon=EDa https://site.sebasmonia.com/ From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2024 07:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: jporterbugs@gmail.com, 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.17293240042484 (code B ref 73133); Sat, 19 Oct 2024 07:47:02 +0000 Received: (at 73133) by debbugs.gnu.org; 19 Oct 2024 07:46:44 +0000 Received: from localhost ([127.0.0.1]:41200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t24Ae-0000e0-0e for submit@debbugs.gnu.org; Sat, 19 Oct 2024 03:46:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t24Ac-0000dm-NO for 73133@debbugs.gnu.org; Sat, 19 Oct 2024 03:46:43 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t24A9-0006nb-Jn; Sat, 19 Oct 2024 03:46:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=yVjhyxiLx2lps7UAw4mUZ6QUs/G8+7nsz47kRttXlkk=; b=PqKiPeFRZgx5Qpr7TYkI R+mU/IjFdMUNGmWRS4xKGfTY7XlwXUWN64F7spjt12WcXA7xGJ1fh5OMk9G3xZJ9RBbYf5atyTz8J 0mbJlTHsri3es1ujz0dKDvjhDypGkZoeXcI2ed8b3g8xRBPNaaPEahc3CLUEqJsLrki89pruK37dY /Aq1RlwqahRYQGh7kfZl3hlKDRPopnmj3JEZIBNwkw1KsatcSuPXBNoRtH8a74Xw6aYx2ZJoBzA/s C64Dnpiz+X5fAJPmmf0EG5iYtm8ZMktg6J2B43najRqpG8HLybx/ublBQ8jf4GQoJ4LNh/AKhOfKv wyXrRy2mVEx2AQ==; Date: Sat, 19 Oct 2024 10:46:11 +0300 Message-Id: <86wmi4lem4.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= on Tue, 15 Oct 2024 07:43:40 -0400) References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> <87ttdk90c1.fsf@sebasmonia.com> <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> <86sesysrxi.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Sebastián Monía > Cc: Jim Porter , 73133@debbugs.gnu.org, > ganimard@tuta.io > Date: Tue, 15 Oct 2024 07:43:40 -0400 > > > Eli Zaretskii writes: > >> Date: Sun, 13 Oct 2024 21:35:33 -0700 > >> Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io > >> From: Jim Porter > >> > >> One last question: do you have FSF copyright assignment paperwork filled > >> out? > > > > AFAIK, Sebastián is in the middle of the assignment process, but it > > was not yet completed. > > This is correct. I sent the form signed, didn't hear back yet. The legal paperwork is now done, so Sebastián, please update the patch to fix the nit with unused argument HEADERS in eww--html-if-doctype, and resubmit, so we could install the changes. Thanks. From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2024 17:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jporterbugs@gmail.com, 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172936060815660 (code B ref 73133); Sat, 19 Oct 2024 17:57:01 +0000 Received: (at 73133) by debbugs.gnu.org; 19 Oct 2024 17:56:48 +0000 Received: from localhost ([127.0.0.1]:44714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2Dh1-00044V-JM for submit@debbugs.gnu.org; Sat, 19 Oct 2024 13:56:48 -0400 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]:40773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2Dgy-00044G-ND for 73133@debbugs.gnu.org; Sat, 19 Oct 2024 13:56:45 -0400 Received: from phl-compute-12.internal (phl-compute-12.phl.internal [10.202.2.52]) by mailfout.phl.internal (Postfix) with ESMTP id 71ADA1380180; Sat, 19 Oct 2024 13:56:15 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-12.internal (MEProxy); Sat, 19 Oct 2024 13:56:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1729360575; x= 1729446975; bh=aC99UNGkwJIBzhDKO1bbKlzjZgEbd7XsZs9xWZdfNJg=; b=a 3ZvW9czdoJTgLr0NR5lAVUc6QkMIQfVxL5ZpbyvfDioS5KCIPKAh6gbYVJXKOPOF E/dsiT86RzhMYAeUdepyrjrMXfmmTlW0aFbz0LyGCzgiKnAT/MiJHn7lLnDjAcZA 3zYlK2iLZ/3AJp9J8iQxoAQZZXwYlVPQ5n97deC22EWDBx7c2Bw0Z2ho6jeNm1qF 2fhCbdW0NCpmBc7bTBnnuRjfov/S7x4oDkHP+tTir2kqnc2J+7gLDzMbx62KCcUX 469V5qoa8XwJjGxI/MSWH4ZN9dEyAGSpxFQBvgoM+qgI2s+w1rle0rXYQI8SOFc1 mz6x0CwhWJ1IeumiGdqiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1729360575; x=1729446975; bh=aC99UNGkwJIBzhDKO1bbKlzjZgEb d7XsZs9xWZdfNJg=; b=knUj0e30esCXP1l+WwZwHvYQHzjsTU1lzNQXE7+CcObx lTE77+EobeAMGUVoQ2RGuIvU/9/P5UHuYJcCnXgVdmthXg/rKaHL/0XkKS6QclCp MirNmNA6yonkaMYDb628WKzzwcR6geMeO/ivL0ugc2+dDZRRhpFjAHGi3mJWOmD+ LKWxYJn5yZ6x6HVpiJIY2Gb0ios5T9tRPosmZRvIcQU4Xq9mgru3AIIrVFV+lNEJ dlSZ+XN+uAui+xStXFZ4LMoIjzEightq+4IhYZZbo3b580agd5pr3LUnDG404meZ tqIu8Q2eCMgbriSiRRigJxECLc7CGTS/ugk/Ge81Cw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehhedguddvvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhffkfgfgggtsehmtderredtreej necuhfhrohhmpefuvggsrghsthhijohnucfoohhnvogruceoshgvsggrshhtihgrnhessh gvsggrshhmohhnihgrrdgtohhmqeenucggtffrrghtthgvrhhnpeehkedvueffgfeluedv ueethfejteetudefffelheejgeeugffgteetfedvvdekteenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsvggsrghsthhirghnsehsvggsrghs mhhonhhirgdrtghomhdpnhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepghgrnhhimhgrrhgusehtuhhtrgdrihhopdhrtghpthhtohepjeefudef feesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehjphhorhhtvghrsghugh hssehgmhgrihhlrdgtohhmpdhrtghpthhtohepvghlihiisehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 19 Oct 2024 13:56:14 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <86wmi4lem4.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 19 Oct 2024 10:46:11 +0300") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> <87ttdk90c1.fsf@sebasmonia.com> <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> <86sesysrxi.fsf@gnu.org> <86wmi4lem4.fsf@gnu.org> Date: Sat, 19 Oct 2024 13:56:14 -0400 Message-ID: <87zfn0f03l.fsf@sebasmonia.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii writes: > The legal paperwork is now done, so Sebasti=C3=A1n, please update the pat= ch > to fix the nit with unused argument HEADERS in eww--html-if-doctype, > and resubmit, so we could install the changes. > > Thanks. What a momentous ocassion :) Attached the patch with that correction (and a small dostring fix that 'checkdoc' caught) Thank you everyone for your help in this process. Regards, Seb --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-customization-to-let-EWW-guess-content-type-if-n.patch Content-Description: bug73133-doctype >From e35f4502383e368747d5f2bd8bcb9ed872315029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Mon=C3=ADa?= Date: Tue, 8 Oct 2024 23:26:42 -0400 Subject: [PATCH] Add customization to let EWW guess content-type if needed (bug#73133) --- lisp/net/eww.el | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index b5d2f20781a..147982057c5 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -108,6 +108,19 @@ eww-suggest-uris eww-current-url eww-bookmark-urls)) +(defcustom eww-guess-content-type-functions + '(eww--html-if-doctype) + "List of functions used to guess a page's content-type. +These are only used when the page does not have a valid Content-Type +header. Functions are called in order, until one of them returns the +value to be used as Content-Type. They receive two parameters: an alist +of headers, and the buffer that holds the complete response. If the +list is exhausted, eww assumes \"text/plain\" so the user can see the +markup." + :version "31.1" + :group 'eww + :type '(repeat function)) + (defcustom eww-bookmarks-directory user-emacs-directory "Directory where bookmark files will be stored." :version "25.1" @@ -630,6 +643,30 @@ eww-html-p (member content-type '("text/html" "application/xhtml+xml"))) +(defun eww--guess-content-type (headers response-buffer) + "Use HEADERS and RESPONSE-BUFFER to guess the Content-Type. +Will call each function in `eww-guess-content-type-functions', until one +of them returns a value. This mechanism is used only if there isn't a +valid Content-Type header. If none of the functions can guess, return +\"text/plain\", so at least the mark up is displayed." + (or (run-hook-with-args-until-success + 'eww-guess-content-type-functions headers response-buffer) + "text/plain")) + +(defun eww--html-if-doctype (_headers response-buffer) + "Return \"text/html\" if RESPONSE-BUFFER has an HTML doctype declaration. +HEADERS is unused." + ;; https://html.spec.whatwg.org/multipage/syntax.html#the-doctype + (let ((case-fold-search t) + (target + "\\|system +\\(\\\"\\|'\\)+about:legacy-compat\\)")) + (with-current-buffer response-buffer + (goto-char (point-min)) + ;; match basic and also legacy variants as + ;; specified in link above + (when (re-search-forward target nil t) + "text/html")))) + (defun eww--rename-buffer () "Rename the current EWW buffer. The renaming scheme is performed in accordance with @@ -659,7 +696,7 @@ eww-render (content-type (mail-header-parse-content-type (if (zerop (length (cdr (assoc "content-type" headers)))) - "text/plain" + (eww--guess-content-type headers (current-buffer)) (cdr (assoc "content-type" headers))))) (charset (intern (downcase -- 2.43.0 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Sebasti=C3=A1n Mon=C3=ADa https://site.sebasmonia.com/ --=-=-=-- From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2024 19:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= , Eli Zaretskii Cc: 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172945194332534 (code B ref 73133); Sun, 20 Oct 2024 19:20:03 +0000 Received: (at 73133) by debbugs.gnu.org; 20 Oct 2024 19:19:03 +0000 Received: from localhost ([127.0.0.1]:48543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2bSA-0008ST-HA for submit@debbugs.gnu.org; Sun, 20 Oct 2024 15:19:02 -0400 Received: from mail-pj1-f51.google.com ([209.85.216.51]:58797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2bS8-0008Ru-5K for 73133@debbugs.gnu.org; Sun, 20 Oct 2024 15:19:00 -0400 Received: by mail-pj1-f51.google.com with SMTP id 98e67ed59e1d1-2e2fb304e7dso3121434a91.1 for <73133@debbugs.gnu.org>; Sun, 20 Oct 2024 12:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729451854; x=1730056654; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=8/T2v7iFy8YJbsEJZ/lbUjIajtIByr8/v+4e2Vgl4Jg=; b=mhtQbInyn/IONw5wXunLsZd8Ox2dG99XMnXo9PqXqo2Sa4IpD8mw4pjC2ciuqo+1Zn xDtKq6D0ZhM+A3jy5KVeRAXI2dvsQrSSThUYwyb4URIEHfbQyNtnZwUZTb4pliJiY+7C SQhYOsjkn5c14D+iw4tIkKQRETQpCqZ5GyGAa5DJ1or+IrfIsboTFRWuS+22EIzFdk19 Azwx4dLU2tyZGWZDSKjIkIioXuUxg4eaI03aOiy1yM0k7Rd2XWnRSaBDXwajYQRGBpPU unWY0qqHNMld3MD+c/hkMwlatNZB4yFjUbNqeAqrmfeZUcOmxlj0RAx0sKsCighHmtvB X8BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729451854; x=1730056654; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=8/T2v7iFy8YJbsEJZ/lbUjIajtIByr8/v+4e2Vgl4Jg=; b=vaLDpQDc/ji704jim+9c/WPigAitc6D1juaQ+68EyEapmWHNPYax42C9tkK1jRmu76 S1FDF9gDzeCaeiRU5cFUY3AeQ0BXNkLx35Ll9dSrKxvWBn6zpPVQDOoRbtLI+ez3AVxO SI5HjXFUGl8pX916yHTBcf1CJmzfFbzSN6DVJOi4BPYvJSIyBbyn5/5zs5krKVXulH0t NthwQ8GZZxl8PRveq6xgBdvm+KM1EN4dND0TBUxag/iB2ztEqXKJloBAF60GwJhcSXB4 UnnCVL0HQ/pMbDPwdeTJp0IqysDXhgjDcCsbakQi9NqXqD+F0uIHba3lwz6VAUSdGjeh kzKw== X-Gm-Message-State: AOJu0YyXaVSh7cXPkfChmSEhKYCqMKn/Ku9OktG524v2tmGIMQTMXOf2 hy2pd5MNx8C6hktYY+XGXNE9QthzbOp3lcEf/Gbtc7s+5J1d8lPB X-Google-Smtp-Source: AGHT+IGg2B5+KAGSm3KF5CyffcGLurfAELcjHJop5vWjocr9Bc4hj3Bx/vvAALzwqKdnNRFJdG0Adg== X-Received: by 2002:a17:90b:3c47:b0:2e2:bd68:b8d8 with SMTP id 98e67ed59e1d1-2e5616dea4dmr10094356a91.8.1729451853704; Sun, 20 Oct 2024 12:17:33 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id 98e67ed59e1d1-2e5ad518767sm1896964a91.56.2024.10.20.12.17.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Oct 2024 12:17:32 -0700 (PDT) Message-ID: Date: Sun, 20 Oct 2024 12:17:34 -0700 MIME-Version: 1.0 Content-Language: en-US References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> <87ttdk90c1.fsf@sebasmonia.com> <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> <86sesysrxi.fsf@gnu.org> <86wmi4lem4.fsf@gnu.org> <87zfn0f03l.fsf@sebasmonia.com> From: Jim Porter In-Reply-To: <87zfn0f03l.fsf@sebasmonia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 10/19/2024 10:56 AM, Sebastián Monía wrote: > Thank you everyone for your help in this process. One last thought before I merge this: I notice that when we can't guess a Content-Type, we use "text/plain" as a fallback. Per RFC-9110[1], the fallback should be "application/octet-stream". I tested this out in EWW, and we still display "application/octet-stream" pages as text in EWW, so there's no difference in behavior by default vs "text/plain". However, users who customize 'eww-use-external-browser-for-content-type' could make pages like that open externally, which I think makes sense. For non-HTML pages with no actual Content-Type header, they're at least reasonably likely to be binary files, so you'd probably want to download them rather than display them. Does anyone else have any thoughts on the relative merits of falling back to "application/octet-stream" vs "text/plain"? If we go with the former, I can update the patch when I merge. [1] https://www.rfc-editor.org/rfc/rfc9110#section-8.3-5 From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Oct 2024 01:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.17294753469915 (code B ref 73133); Mon, 21 Oct 2024 01:50:02 +0000 Received: (at 73133) by debbugs.gnu.org; 21 Oct 2024 01:49:06 +0000 Received: from localhost ([127.0.0.1]:49461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2hXd-0002Zq-Ux for submit@debbugs.gnu.org; Sun, 20 Oct 2024 21:49:06 -0400 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]:46251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t2hXc-0002ZK-K2 for 73133@debbugs.gnu.org; Sun, 20 Oct 2024 21:49:04 -0400 Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfout.phl.internal (Postfix) with ESMTP id 5473313801AA; Sun, 20 Oct 2024 21:48:33 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-08.internal (MEProxy); Sun, 20 Oct 2024 21:48:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1729475313; x=1729561713; bh=jCiJOEfjobQO1XXqaKJ5kdl7wBYsKn4m ktyCzS3LEbc=; b=4bfqmqPrP4XIhm5uvQVNXnn0NLjxJSulGAdgK2iRnJpAYSq4 kwnjXPIf3GqGhQ8DE7Vmt9M5KsV3PdUWQgUXuA24wYHhdEAe5B9y+700c0LFeSWZ nii0UxTr1QR4/vgNE6XriPVikgsTnxYaz3Swy0XC9rWVh8cZXQ01U7CJufByBG/i 5Ym6uh9Nszwt5st+sMf5xw8Og6nG2Bz1j24yBEoUbGVVY6p6fDs9RXA4lSpWA0rb ea9dr97u3ne3kJyuLwXQoWnUZmPQh654D+RQQ6o1hF9wqxqHqf1DKrEOJz1DyDyo FD0ZKlDme5TlmLBqV07/46SnFeMxB7OM61NeWA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1729475313; x= 1729561713; bh=jCiJOEfjobQO1XXqaKJ5kdl7wBYsKn4mktyCzS3LEbc=; b=F NmPd706rXjkrY4v4A0mh44MbuaSacncA8ladNwu8wN9hkZV3WpLoGoEK0Rvr2LPd kGJUQWP08IjwIKnjJK4wIqX8sPbJsUP6wsfXHk42b5CGOJmio0PufLyDltj9AAR6 AEkSLe9V5RE1jP5hH8oOnI28RRyqNAePrJspahMr2yH45INeM+C6FptbElEj5yN1 ok84z+xbuxzzlgNgkCf0OBV43Aw+2bNjVaSu1LD/qTiUGQg2plzltFpngYjzLICB 6uG5WXKNP/DKvuLMwoUEmQWLaYBD7my5n/upshN6mjDx8Y1wstsjNaL1pGe6jP+l p00kSdMh2ZD+OVTTi27Hw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdehkedgheduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkfgggtgfgsehtqhertddtreej necuhfhrohhmpefuvggsrghsthhijohnucfoohhnvogruceoshgvsggrshhtihgrnhessh gvsggrshhmohhnihgrrdgtohhmqeenucggtffrrghtthgvrhhnpeekteetkeegvdegheev ledtuefhvefggfekheekfeetveekieehieevtdethfeludenucffohhmrghinhepshgvsg grshhmohhnihgrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsggrshhmohhnihgrrdgtohhmpdhnsg gprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehgrghnihhm rghrugesthhuthgrrdhiohdprhgtphhtthhopeejfedufeefseguvggssghughhsrdhgnh hurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpdhrtghpthhtohepjhhp ohhrthgvrhgsuhhgshesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Oct 2024 21:48:32 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: (Jim Porter's message of "Sun, 20 Oct 2024 12:17:34 -0700") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> <87ttdk90c1.fsf@sebasmonia.com> <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> <86sesysrxi.fsf@gnu.org> <86wmi4lem4.fsf@gnu.org> <87zfn0f03l.fsf@sebasmonia.com> Date: Sun, 20 Oct 2024 21:48:31 -0400 Message-ID: <87froqgr9s.fsf@sebasmonia.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Jim Porter writes: > On 10/19/2024 10:56 AM, Sebasti=C3=A1n Mon=C3=ADa wrote: >> Thank you everyone for your help in this process. > > One last thought before I merge this: I notice that when we can't > guess a Content-Type, we use "text/plain" as a fallback. Per > RFC-9110[1], the fallback should be "application/octet-stream". I used text/plain only because it was the original behaviour, not a particularly interesting reason! > However, users who customize > 'eww-use-external-browser-for-content-type' could make pages like that > open externally, which I think makes sense. > [...] > Does anyone else have any thoughts on the relative merits of falling > back to "application/octet-stream" vs "text/plain"? If we go with the > former, I can update the patch when I merge. I think it is a reasonable change. TIL about that option, too. Regards, Seb --=20 Sebasti=C3=A1n Mon=C3=ADa https://site.sebasmonia.com/ From unknown Sat Aug 16 21:19:15 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Ganimard Subject: bug#73133: closed (Re: bug#73133: 29.2; EWW fails to render some webpages) Message-ID: References: <5b91dc93-2ceb-632e-8196-51d9cccaa13d@gmail.com> X-Gnu-PR-Message: they-closed 73133 X-Gnu-PR-Package: emacs Reply-To: 73133@debbugs.gnu.org Date: Tue, 22 Oct 2024 05:02:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1729573322-15729-1" This is a multi-part message in MIME format... ------------=_1729573322-15729-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #73133: 29.2; EWW fails to render some webpages which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 73133@debbugs.gnu.org. --=20 73133: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73133 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1729573322-15729-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 73133-done) by debbugs.gnu.org; 22 Oct 2024 05:01:20 +0000 Received: from localhost ([127.0.0.1]:54237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t371E-000447-CW for submit@debbugs.gnu.org; Tue, 22 Oct 2024 01:01:20 -0400 Received: from mail-pl1-f181.google.com ([209.85.214.181]:59703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t371A-00043x-FR for 73133-done@debbugs.gnu.org; Tue, 22 Oct 2024 01:01:18 -0400 Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-208cf673b8dso50562065ad.3 for <73133-done@debbugs.gnu.org>; Mon, 21 Oct 2024 22:00:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729573188; x=1730177988; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=apybUkNzjPX2tEHOlHt3Qw1SFSdLXeMoRE7+qjcYp7U=; b=bIQsIQC0Mt6qM86KpoYMXFSAF7VUiuW+L0hboX8xitbsUAWDbinOACgaC0QOX7f/DA HDpnVMmC6jPecef55cFW+VR/SPLuPaVJ2ZCXQ1CLw1aPkF5rhQswzyrtEvOTOG82i8/Z BKRpEactTSIanCYiw5m0GnRH8BjeVBY8R08EIBmZiH1MZTwsxUMYDXU05BAs+U4738mt lVCOVWx3RW6P56kxe96lhUCMy5wU+PdjYLEq75vCEhH4yR3Ngy6wBzJjYDrvBlxpJeYx shQMcI5dQjfhGO1QjDou2V5Xag6VYP17gkr0NLketHoGgUmi+63luNjEBR+sKY+yg3rJ StfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729573188; x=1730177988; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=apybUkNzjPX2tEHOlHt3Qw1SFSdLXeMoRE7+qjcYp7U=; b=sA/OdoxqQTRBO8QwffYa2lTLu1q/9dlT5i0ivRNxHofk6t+d28r+AGfrPE3l83tDhs O4FAP+jfmLBFxDcCNJg6Se1cd2qovZlT/PabaXQbUlU3gY1bYFQVGv96Y8NC/NdaXClo MBUkci2E3u7SwZx096IGhN4BB9s60IkV0+GRhbOl+kTA3J0YZ7a4ckdU+pVLahtBrQNY ImIKSPifjAKVKzrGKAt2ozoS0F1EX08g5+ywYSMujWo/PTMQj8g2IDeI79o5a05QeJH5 +2OydEBFd40H9aFFY52vY8GNA5BeFj9DhPV0IMyiYr4qUUyTI1ZvIKE1TX5K0ME8rObh /1fw== X-Forwarded-Encrypted: i=1; AJvYcCWskK/FPZCdgnAlM8VO/xlXwHa8YR1sTDpPe06mjL190qq+XcBe0A+jP0NK6fKQzLjXNkqSCSyhQSFg@debbugs.gnu.org X-Gm-Message-State: AOJu0YwUNgMazJKBvuc3yUJcIMgRn3gI/QphOSYfQYhc2G+h2SYMFKC8 Ch8Pe80zUiK47Nmq5IGqi+BQf71j76om5uA0DnUIGEScpIFEyyCA X-Google-Smtp-Source: AGHT+IEdQhoPNLrYkPqfxOL+8Jwilc5n/FvU8Zm1lWZOU4uuH2U/+jD7lPZOOTL++AHU5BRXzLLeJw== X-Received: by 2002:a17:902:da88:b0:20b:9e14:c138 with SMTP id d9443c01a7336-20e5a7662f1mr190085315ad.23.1729573187919; Mon, 21 Oct 2024 21:59:47 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-20e7ef0bd97sm34442005ad.92.2024.10.21.21.59.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Oct 2024 21:59:47 -0700 (PDT) Message-ID: <5b91dc93-2ceb-632e-8196-51d9cccaa13d@gmail.com> Date: Mon, 21 Oct 2024 21:59:47 -0700 MIME-Version: 1.0 Subject: Re: bug#73133: 29.2; EWW fails to render some webpages Content-Language: en-US To: =?UTF-8?B?U2ViYXN0acOhbiBNb27DrWE=?= References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> <87ttdk90c1.fsf@sebasmonia.com> <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> <86sesysrxi.fsf@gnu.org> <86wmi4lem4.fsf@gnu.org> <87zfn0f03l.fsf@sebasmonia.com> <87froqgr9s.fsf@sebasmonia.com> From: Jim Porter In-Reply-To: <87froqgr9s.fsf@sebasmonia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 73133-done Cc: Eli Zaretskii , 73133-done@debbugs.gnu.org, ganimard@tuta.io X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 10/20/2024 6:48 PM, Sebastián Monía wrote: > I used text/plain only because it was the original behaviour, not a > particularly interesting reason! Thanks, I've now pushed this change to the master branch as 9074a9f496b, so I'm closing this bug. (Of course, if there's anything remaining to do here, just let me know.) ------------=_1729573322-15729-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Sep 2024 04:08:47 +0000 Received: from localhost ([127.0.0.1]:60450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snVhl-00015S-7U for submit@debbugs.gnu.org; Mon, 09 Sep 2024 00:08:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:51104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snOuA-0003A3-CI for submit@debbugs.gnu.org; Sun, 08 Sep 2024 16:53:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snOu7-0008PM-H7 for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 16:53:03 -0400 Received: from mail.w14.tutanota.de ([185.205.69.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snOu4-0006DS-Jy for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 16:53:03 -0400 Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w14.tutanota.de (Postfix) with ESMTP id 0F5121EDA1C9 for ; Sun, 8 Sep 2024 22:52:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1725828745; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=oOmesuuoAZ1DVrI0aPxlJUFi5kmf3gr4oosjYgRqW9g=; b=pnMpU2XuK0zQgwPkQH9yaOnTZNIuuBlD3HS8MAtwNziJlpLQNlmvobCQTsKb9oe4 OJ19QKA4c++iO/728SNByZO7PUXODn4N9jE58ZAez/EdKQXrL/XtV4Y1MK8xbRa1pQt lnilL62a03xC5l7n2sPfsMyZFk36k3AmsoHB/Rj1Qg/gOhjYKvQeo4bAh0CkxMJBj/6 5qEWt41BEIgx9pOqUE5urQTslEqbxnrE+G5mw4E+ZcxiaHsX51MkIfLS3wQ46GFk7CD oBjb2stE+DWcmtrQcFM8FzRvvmB6mb6Uxe8Q8OQEYtubTnLkqYxjsiB+bt9XlFIxcUt BbYahi67cg== Date: Sun, 8 Sep 2024 22:52:25 +0200 (CEST) From: Ganimard To: Bug Gnu Emacs Message-ID: Subject: 29.2; EWW fails to render some webpages MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_197313_1020779492.1725828745056" Received-SPF: pass client-ip=185.205.69.214; envelope-from=ganimard@tuta.io; helo=mail.w14.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 09 Sep 2024 00:08:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) ------=_Part_197313_1020779492.1725828745056 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To Whom it may concern, I have recently discovered the website gastonle.ru, however it does not render with Emacs Web Wowser.=C2=A0 It appears to be a relatively simple website and I cannot see what would prohibit it from rendering. I have also tried it on an Ubuntu 22.04.4 LTS distro running Emacs 28.1 but it also fails to render.=C2=A0 This therefore appears to be a bug in EW= W. --- In GNU Emacs 29.2 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-01-19 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2487 System Description:=C2=A0 macOS 14.2.1 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules 'CFLAGS=3D-DFD_SETSIZE=3D10000 -DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=3Dno' Configured features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB Important settings: =C2=A0 value of $LANG: en_NZ.UTF-8 =C2=A0 locale-coding-system: utf-8-unix Major mode: Markdown Minor modes in effect: =C2=A0 yas-global-mode: t =C2=A0 yas-minor-mode: t =C2=A0 global-git-commit-mode: t =C2=A0 magit-auto-revert-mode: t =C2=A0 shell-dirtrack-mode: t =C2=A0 server-mode: t =C2=A0 TeX-PDF-mode: t =C2=A0 TeX-source-correlate-mode: t =C2=A0 global-display-line-numbers-mode: t =C2=A0 display-line-numbers-mode: t =C2=A0 whitespace-mode: t =C2=A0 global-page-break-lines-mode: t =C2=A0 override-global-mode: t =C2=A0 tooltip-mode: t =C2=A0 global-eldoc-mode: t =C2=A0 eldoc-mode: t =C2=A0 show-paren-mode: t =C2=A0 electric-indent-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 line-number-mode: t =C2=A0 transient-mark-mode: t =C2=A0 auto-composition-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t Load-path shadows: /Users/ganimard/.emacs.d/elpa/transient-20230919.2146/transient hides /Appl= ications/Emacs.app/Contents/Resources/lisp/transient Features: (shadow sort mail-extr emacsbug files-x vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view vc bug-reference help-fns radix-tree magit-patch magit-subtree magit-gitignore magit-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util magit-extras face-remap misearch multi-isearch vc-git vc-dispatcher markdown-mode color dired-aux disp-table hl-todo flycheck forth-mode forth-spec forth-smie smie forth-syntax llvm-mode splunk-mode ess lisp-mnt ess-utils ess-custom go-mode find-file ffap etags fileloop xref rust-utils rust-mode rust-rustfmt rust-playpen rust-compile rust-cargo yasnippet magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff diff-mode git-commit log-edit pcvs-util add-log magit-core magit-autorevert autorevert magit-margin magit-transient magit-process with-editor shell server magit-mode transient magit-git magit-base magit-section cursor-sensor dash auctex-latexmk latex latex-flymake flymake-proc flymake project compile warnings tex-ispell tex-style tex texmathp latex-preview-pane doc-view filenotify jka-compr image-mode exif auctex ebib ebib-reading-list ebib-notes org-element org-persist xdg org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color org-list org-footnote org-faces org-entities noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle org-table org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs ol org-fold org-fold-core org-compat ring avl-tree generator org-version org-macs ebib-filters ebib-keywords ebib-utils ebib-db message sendmail yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader format-spec parsebib rx hl-line pp crm bibtex iso8601 time-date writeroom-mode visual-fill-column olivetti multiple-cursors mc-separate-operations rectangular-region-mode mc-mark-pop mc-edit-lines mc-hide-unmatched-lines-mode mc-mark-more thingatpt mc-cycle-cursors multiple-cursors-core advice rect move-text no-littering compat paredit edmacro kmacro display-line-numbers whitespace page-break-lines smart-mode-line-atom-one-dark-theme cl-extra help-mode atom-one-dark-theme use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf atom-one-dark-theme-autoloads auctex-latexmk-autoloads auctex-autoloads tex-site company-autoloads dracula-theme-autoloads ebib-autoloads ess-autoloads flycheck-autoloads forth-mode-autoloads gdscript-mode-autoloads go-mode-autoloads hl-todo-autoloads impatient-mode-autoloads htmlize-autoloads julia-formatter-autoloads just-mode-autoloads latex-preview-pane-autoloads llvm-ts-mode-autoloads lsp-docker-autoloads lsp-julia-autoloads julia-mode-autoloads lsp-ui-autoloads lsp-mode-autoloads ht-autoloads lv-autoloads magit-autoloads pcase git-commit-autoloads magit-section-autoloads move-text-autoloads multiple-cursors-autoloads no-littering-autoloads olivetti-autoloads package-lint-autoloads page-break-lines-autoloads paredit-autoloads parsebib-autoloads pkg-info-autoloads epl-autoloads quelpa-use-package-autoloads quelpa-autoloads rustic-autoloads markdown-mode-autoloads f-autoloads dash-autoloads rust-mode-autoloads s-autoloads session-async-autoloads simple-httpd-autoloads smart-mode-line-atom-one-dark-theme-autoloads smart-mode-line-autoloads rich-minority-autoloads spinner-autoloads splunk-mode-autoloads transient-autoloads with-editor-autoloads compat-autoloads info writeroom-mode-autoloads visual-fill-column-autoloads xterm-color-autoloads yaml-autoloads yaml-mode-autoloads yasnippet-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 412027 70117) (symbols 48 34112 0) (strings 32 128155 6447) (string-bytes 1 4038566) (vectors 16 67754) (vector-slots 8 739746 70880) (floats 8 294 368) (intervals 56 6200 53) (buffers 984 43)) ------=_Part_197313_1020779492.1725828745056 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
To Whom it may concern,

I have recently di= scovered the website gastonle.ru, however it does not
render with Emacs Web Wowser.  It appears to be a relativ= ely simple
website and I cannot see what would p= rohibit it from rendering.

I have also tried it on an Ubuntu 22.04.4 LTS distro running Emacs 2= 8.1
but it also fails to render.  This ther= efore appears to be a bug in EWW.

---

In GNU= Emacs 29.2 (build 1, aarch64-apple-darwin21.6.0, NS
appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-01-19 built on
armbob.lan
Windowing s= ystem distributor 'Apple', version 10.3.2487
Sys= tem Description:  macOS 14.2.1

Configured using:
'configure --w= ith-ns '--enable-locallisppath=3D/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules 'CFLAGS=3D-DFD_SETSIZ= E=3D10000
-DDARWIN_UNLIMITED_SELECT' --with-x-to= olkit=3Dno'

Configur= ed features:
ACL GLIB GMP GNUTLS JPEG JSON LIBXM= L2 MODULES NOTIFY KQUEUE NS PDUMPER
PNG RSVG SQL= ITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB

Important settings:
  value of $LANG: en_NZ.UTF-8
 = locale-coding-system: utf-8-unix

Major mode: Markdown

Minor modes in effect:
  yas= -global-mode: t
  yas-minor-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  she= ll-dirtrack-mode: t
  server-mode: t
  TeX-PDF-mode: t
&nbs= p; TeX-source-correlate-mode: t
  global-di= splay-line-numbers-mode: t
  display-line-n= umbers-mode: t
  whitespace-mode: t
  global-page-break-lines-mode: t
  override-global-mode: t
 = tooltip-mode: t
  global-eldoc-mode: t
=
  eldoc-mode: t
&nb= sp; show-paren-mode: t
  electric-indent-mo= de: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
&nbs= p; global-font-lock-mode: t
  font-lock-mod= e: t
  blink-cursor-mode: t
  line-number-mode: t
  tr= ansient-mark-mode: t
  auto-composition-mod= e: t
  auto-encryption-mode: t
  auto-compression-mode: t
<= br>
Load-path shadows:
/U= sers/ganimard/.emacs.d/elpa/transient-20230919.2146/transient hides /Applic= ations/Emacs.app/Contents/Resources/lisp/= transient

Featur= es:
(shadow sort mail-extr emacsbug files-x vc-h= g vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs log= -view vc bug-reference help-fns radix-tree
magit= -patch magit-subtree magit-gitignore magit-ediff ediff ediff-merg
=
ediff-mult ediff-wind ediff-diff ediff-help ediff-init ed= iff-util
magit-extras face-remap misearch multi-= isearch vc-git vc-dispatcher
markdown-mode color= dired-aux disp-table hl-todo flycheck forth-mode
forth-spec forth-smie smie forth-syntax llvm-mode splunk-mode ess
lisp-mnt ess-utils ess-custom go-mode find-file ffap et= ags fileloop xref
rust-utils rust-mode rust-rust= fmt rust-playpen rust-compile rust-cargo
yasnipp= et magit-submodule magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-= remote
magit-commit magit-sequence magit-notes m= agit-worktree magit-tag
magit-merge magit-branch= magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log which-func imenu
magit-diff smerge-mode diff diff-mode git-commit log-ed= it pcvs-util
add-log magit-core magit-autorevert= autorevert magit-margin
magit-transient magit-p= rocess with-editor shell server magit-mode
trans= ient magit-git magit-base magit-section cursor-sensor dash
auctex-latexmk latex latex-flymake flymake-proc flymake project = compile
warnings tex-ispell tex-style tex texmat= hp latex-preview-pane doc-view
filenotify jka-co= mpr image-mode exif auctex ebib ebib-reading-list
ebib-notes org-element org-persist xdg org-id org-refile org ob
=
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src= ob-comint
org-pcomplete pcomplete comint ansi-o= sc ansi-color org-list org-footnote
org-faces or= g-entities noutline outline icons ob-emacs-lisp ob-core
ob-eval org-cycle org-table org-keys oc org-loaddefs find-func ca= l-menu
calendar cal-loaddefs ol org-fold org-fol= d-core org-compat ring avl-tree
generator org-ve= rsion org-macs ebib-filters ebib-keywords ebib-utils
ebib-db message sendmail yank-media puny dired dired-loaddefs rfc822 m= ml
mml-sec epa derived epg rfc6068 epg-config gn= us-util
text-property-search mm-decode mm-bodies= mm-encode mail-parse rfc2231
rfc2047 rfc2045 mm= -util ietf-drums mail-prsvr mailabbrev mail-utils
gmm-utils mailheader format-spec parsebib rx hl-line pp crm bibtex
iso8601 time-date writeroom-mode visual-fill-column ol= ivetti
multiple-cursors mc-separate-operations r= ectangular-region-mode
mc-mark-pop mc-edit-lines= mc-hide-unmatched-lines-mode mc-mark-more
thing= atpt mc-cycle-cursors multiple-cursors-core advice rect move-text
=
no-littering compat paredit edmacro kmacro display-line-n= umbers
whitespace page-break-lines smart-mode-li= ne-atom-one-dark-theme cl-extra
help-mode atom-o= ne-dark-theme use-package use-package-ensure
use= -package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-core finder-inf atom-one-dark-th= eme-autoloads
auctex-latexmk-autoloads auctex-au= toloads tex-site company-autoloads
dracula-theme= -autoloads ebib-autoloads ess-autoloads flycheck-autoloads
forth-mode-autoloads gdscript-mode-autoloads go-mode-autoloads
hl-todo-autoloads impatient-mode-autoloads htmliz= e-autoloads
julia-formatter-autoloads just-mode-= autoloads
latex-preview-pane-autoloads llvm-ts-m= ode-autoloads lsp-docker-autoloads
lsp-julia-aut= oloads julia-mode-autoloads lsp-ui-autoloads
lsp= -mode-autoloads ht-autoloads lv-autoloads magit-autoloads pcase
git-commit-autoloads magit-section-autoloads move-text-auto= loads
multiple-cursors-autoloads no-littering-au= toloads olivetti-autoloads
package-lint-autoload= s page-break-lines-autoloads paredit-autoloads
p= arsebib-autoloads pkg-info-autoloads epl-autoloads
quelpa-use-package-autoloads quelpa-autoloads rustic-autoloads
=
markdown-mode-autoloads f-autoloads dash-autoloads rust-m= ode-autoloads
s-autoloads session-async-autoload= s simple-httpd-autoloads
smart-mode-line-atom-on= e-dark-theme-autoloads smart-mode-line-autoloads
rich-minority-autoloads spinner-autoloads splunk-mode-autoloads
<= div dir=3D"auto">transient-autoloads with-editor-autoloads compat-autoloads= info
writeroom-mode-autoloads visual-fill-colum= n-autoloads
xterm-color-autoloads yaml-autoloads= yaml-mode-autoloads
yasnippet-autoloads package= browse-url url url-proxy url-privacy
url-expand= url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-se= q
eieio eieio-core cl-macs password-cache json s= ubr-x map byte-opt gv
bytecomp byte-compile url-= vars cl-loaddefs cl-lib rmc iso-transl tooltip
c= conv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
<= /div>
elisp-mode mwheel term/ns-win ns-win ucs-normalize m= ule-util
term/common-win tool-bar dnd fontset im= age regexp-opt fringe
tabulated-list replace new= comment text-mode lisp-mode prog-mode register
p= age tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tt= y-colors
frame minibuffer nadvice seq simple cl-= generic indonesian philippine
cham georgian utf-= 8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composi= te emoji-zwj charscript
charprop case-table epa-= hook jka-cmpr-hook help abbrev obarray oclosure
= cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 fo= rmat env
code-pages mule custom widget keymap ha= shtable-print-readable backquote
threads kqueue = cocoa ns multi-tty make-network-process emacs)
<= br>
Memory information:
(= (conses 16 412027 70117)
(symbols 48 34112 0)
(strings 32 128155 6447)
(string-bytes 1 4038566)
(vectors 16 67754)
(vector-slots 8 739746 70880)
(floats 8 294 368)
(intervals 56 6200 53)=
(buffers 984 43))
------=_Part_197313_1020779492.1725828745056-- ------------=_1729573322-15729-1-- From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Oct 2024 12:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: Eli Zaretskii , 73133-done@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-done@debbugs.gnu.org id=D73133.17296005551951 (code D ref 73133); Tue, 22 Oct 2024 12:36:01 +0000 Received: (at 73133-done) by debbugs.gnu.org; 22 Oct 2024 12:35:55 +0000 Received: from localhost ([127.0.0.1]:54969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3E78-0000VP-LV for submit@debbugs.gnu.org; Tue, 22 Oct 2024 08:35:55 -0400 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]:38425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3E74-0000Tt-4v for 73133-done@debbugs.gnu.org; Tue, 22 Oct 2024 08:35:53 -0400 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 1DD5A1380250; Tue, 22 Oct 2024 08:35:17 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Tue, 22 Oct 2024 08:35:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1729600517; x=1729686917; bh=dc6xTGnuKNVbGTWAf6RfuhDm34edKEw+ QWPIVMegZCg=; b=DFZLFBIydFsaqKKVLF8njeUAFvxKRgzYC4PGhhvtUgZrEQil ZYKPpT3vxwHgAHp8/RHTt/unGO638z3CGj/+exWPBuN4IjdN+3LJN1W5fj2bDVIG L4R6CdlY5WxIAaJXYq+TuLuZtQ2EeZf2mXcQ+PIVFQb/act9DvsTaJRQTAwrjuCq qz5SpWXJ+iWM3gCOrOu3PIu1/XBjKJ7qIZAdbJKlvsSeT3nzHNjtfH8ZcCBkF2kK V5/Va3dA85GZfeF9D2r4DgXZicvLl7RGRJ+cTCKQ4PJoh5pnztss25C/faTDoSeD 1oxny2QgapesYqOG3Uv8PT+drrnu0/33/XBHSA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1729600517; x= 1729686917; bh=dc6xTGnuKNVbGTWAf6RfuhDm34edKEw+QWPIVMegZCg=; b=Z d76ZC3AJO2p4JkBT6khFGeHT4vFrvUT9Bdhmy2W7haL0ryQowmB8TTyhyXMAUHB5 Yu4CtyyCvUVAXBLDchr1p7S4SBcjWFIWBP1t8IBLb1e6lBleqk8mk2+OgTGiBCy3 DOu3TQh/Dswz3NDnAOIevk1RxTEO3bhs1BbT4tt4yv/3Oxi4fOO0dMmaNB1Yq1NB aOcPzzTsXyK0ewBk0NzR8ihlt9s4IKjJC3hwEu59p/u9pDu/cL650d+NKa6C9txP 9bipA5MLWq7FFeSvqUta/6ybMFDMLGCViD8W2dSRRcrJwMuHaBysMtAHwliqxtXv /1t/OG6XKJRdr4ts17ttw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeihedgheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkfgggtgfgsehtqhertddtredu necuhfhrohhmpefuvggsrghsthhijohnucfoohhnvogruceoshgvsggrshhtihgrnhessh gvsggrshhmohhnihgrrdgtohhmqeenucggtffrrghtthgvrhhnpeejfeekteevuedvffeh tdegueektdevkeevtefhvdfgffeiieeiteeugfdvieevkeenucffohhmrghinhepshgvsg grshhmohhnihgrrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm rghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsggrshhmohhnihgrrdgtohhmpdhnsg gprhgtphhtthhopeegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehgrghnihhm rghrugesthhuthgrrdhiohdprhgtphhtthhopeejfedufeefqdguohhnvgesuggvsggsuh hgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphht thhopehjphhorhhtvghrsghughhssehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 22 Oct 2024 08:35:16 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <5b91dc93-2ceb-632e-8196-51d9cccaa13d@gmail.com> (Jim Porter's message of "Mon, 21 Oct 2024 21:59:47 -0700") References: <86plox4bef.fsf@gnu.org> <7eb7b048-06ea-5751-56e1-590689c8c318@gmail.com> <8e285069-6e95-de49-dd46-92ce49b94372@gmail.com> <5e49a521-a191-15db-6368-6ca0f046d68a@gmail.com> <87y12y7y2s.fsf@sebasmonia.com> <9d90789a-ef06-1f7d-c340-2bba315dda5f@gmail.com> <87ttdk90c1.fsf@sebasmonia.com> <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> <86sesysrxi.fsf@gnu.org> <86wmi4lem4.fsf@gnu.org> <87zfn0f03l.fsf@sebasmonia.com> <87froqgr9s.fsf@sebasmonia.com> <5b91dc93-2ceb-632e-8196-51d9cccaa13d@gmail.com> Date: Tue, 22 Oct 2024 08:35:15 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Jim Porter writes: > On 10/20/2024 6:48 PM, Sebasti=E1n Mon=EDa wrote: >> I used text/plain only because it was the original behaviour, not a >> particularly interesting reason! > > Thanks, I've now pushed this change to the master branch as > 9074a9f496b, so I'm closing this bug. (Of course, if there's anything > remaining to do here, just let me know.) Not that I can think of. Thank you for fixing this changelog too, will keep that in mind for future patches :) --=20 Sebasti=E1n Mon=EDa https://site.sebasmonia.com/ From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Ganimard Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Oct 2024 12:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: Jim Porter , Eli Zaretskii , 73133 Done <73133-done@debbugs.gnu.org> Received: via spool by 73133-done@debbugs.gnu.org id=D73133.17296006762156 (code D ref 73133); Tue, 22 Oct 2024 12:38:02 +0000 Received: (at 73133-done) by debbugs.gnu.org; 22 Oct 2024 12:37:56 +0000 Received: from localhost ([127.0.0.1]:54973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3E96-0000Yh-8H for submit@debbugs.gnu.org; Tue, 22 Oct 2024 08:37:56 -0400 Received: from mail.w14.tutanota.de ([185.205.69.214]:56460) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3E94-0000YT-2I for 73133-done@debbugs.gnu.org; Tue, 22 Oct 2024 08:37:55 -0400 Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w14.tutanota.de (Postfix) with ESMTP id 516AE2FEC7C2; Tue, 22 Oct 2024 14:36:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1729600610; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender; bh=M5HsAHvaGSvp/B7K5kTw8pDU5JrZFGkCyhf/L5nBZpc=; b=XelxRte5ja0mW4p0xdjOOuvrC2zqqzslYCXE7rWJsU62/JqYKEwXDFgP6ivlfRSc Y4DKki0rsP8ZdehZ8dK8ZRsWl2vRe0Mq+4XVTFPKWT8LJZD97tg9ManbbQ6g7JhvLFK 5DfO0hJ2XMRDa4rfOM6qJTEAEeLg2ZDqFfjTzpAjvTtKalD/1tvpfWMHVOSynMVPpej ogJ4mH6XwgSZMQA1WmM7iv2y0QVtruRADd9pGQmhhK/UUsVqHUffk615XivHyOq4HnA BIaXDN/VU/fq/BzwpvdQ6NfnuRiBoR9YC0d+pS74NjkT50ZN1s9RpGnGZdCeMNubCIR EcYPZyfdPA== Date: Tue, 22 Oct 2024 14:36:50 +0200 (CEST) From: Ganimard Message-ID: In-Reply-To: References: <87ttdk90c1.fsf@sebasmonia.com> <220e88e6-cbd4-331f-f25a-abb906852f6b@gmail.com> <86sesysrxi.fsf@gnu.org> <86wmi4lem4.fsf@gnu.org> <87zfn0f03l.fsf@sebasmonia.com> <87froqgr9s.fsf@sebasmonia.com> <5b91dc93-2ceb-632e-8196-51d9cccaa13d@gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9231_1264119808.1729600610327" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) ------=_Part_9231_1264119808.1729600610327 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks for all your work, Jim and Sebasti=C3=A1n and others! G 23 Oct 2024, 1:35 am by sebastian@sebasmonia.com: > Jim Porter writes: > >> On 10/20/2024 6:48 PM, Sebasti=C3=A1n Mon=C3=ADa wrote: >> >>> I used text/plain only because it was the original behaviour, not a >>> particularly interesting reason! >>> >> >> Thanks, I've now pushed this change to the master branch as >> 9074a9f496b, so I'm closing this bug. (Of course, if there's anything >> remaining to do here, just let me know.) >> > > Not that I can think of. Thank you for fixing this changelog too, will > keep that in mind for future patches :) > > --=20 > Sebasti=C3=A1n Mon=C3=ADa > https://site.sebasmonia.com/ > ------=_Part_9231_1264119808.1729600610327 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks for all your work, Jim and Sebasti=C3=A1n and othe= rs!

G


23 Oct 2024, 1= :35 am by sebastian@sebasmonia.com:
Jim Porter <jporterbugs@gmail.com> writ= es:
On 10/20/2024 6:48 PM, Sebasti= =C3=A1n Mon=C3=ADa wrote:
I used tex= t/plain only because it was the original behaviour, not a
particularly interesting reason!

Thanks, I've now pushed this change t= o the master branch as
9074a9f496b, so I'm closi= ng this bug. (Of course, if there's anything
rem= aining to do here, just let me know.)

Not that I can think of. Thank you for fixin= g this changelog too, will
keep that in mind for= future patches :)

-= -
Sebasti=C3=A1n Mon=C3=ADa
https://site.sebasmonia.com/
------=_Part_9231_1264119808.1729600610327-- From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages References: In-Reply-To: Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Oct 2024 10:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: Jim Porter , Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172968033119181 (code B ref 73133); Wed, 23 Oct 2024 10:46:02 +0000 Received: (at 73133) by debbugs.gnu.org; 23 Oct 2024 10:45:31 +0000 Received: from localhost ([127.0.0.1]:58714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3Yrr-0004zJ-F8 for submit@debbugs.gnu.org; Wed, 23 Oct 2024 06:45:31 -0400 Received: from mail-lj1-f175.google.com ([209.85.208.175]:60462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3Yro-0004zA-Pv for 73133@debbugs.gnu.org; Wed, 23 Oct 2024 06:45:30 -0400 Received: by mail-lj1-f175.google.com with SMTP id 38308e7fff4ca-2fb5638dd57so66860391fa.0 for <73133@debbugs.gnu.org>; Wed, 23 Oct 2024 03:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729680238; x=1730285038; darn=debbugs.gnu.org; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=Id5z+ipU3MxctaBS9i+vxt/wBSV/YFmnLRk6G45/9q0=; b=gMwhxdqY3bkawXnB0sgw95F8rpHfXlLoWf4RL9bWedPqscx511o+uFNnKcoX2blHio MrLCjnYMycZ7BSVmYjxvZjwUCcAKiL476ZfWq0r/inacK98gPdwu2yKF8DaZEWSQYXsl 6HegDr51n16dF/2t1MrdDXp1r9y1mrNb+fsuT+42Pzz+Z0BaLAXdsjY4A37B+6DP3+pY GOlAFcGOS7lap4OQA8KZa5b/JuSXfvPInmWXUfSveo3K4aWao0cg0BN+0wL/RcHmZOho Ka6RQH4V33HKUnd4xvVgcfYMeJhfDJYWz4sRaX2PYHEY3aGqzEYKYJUUQKzdpgJ4u6xl jjyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729680238; x=1730285038; h=to:cc:date:message-id:subject:mime-version :content-transfer-encoding:from:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Id5z+ipU3MxctaBS9i+vxt/wBSV/YFmnLRk6G45/9q0=; b=e9Hftbjdq6DJ/nAvGfBlY+o7OwGmQzzaahRkHbYLoecKUt3KkhRO5jaV+UfQg4Yfqj Ri0lRxxPdtutqVVonjY2Poe7AeA9Z23QEcqIlZxFzUq2XJ6E5HfNdtFyErNBKCI2rjms 4Te2SlCBeuVPLi8NNWCG3qqv1CJdqLeydJJ7YHZYVU1sig91PM2k5hN8yZk1FxdZBVeh KPbAYwCOM2mrvTSXfBVBh0hBMQeuHdvtFRMRqvgcXRfLZAXdOdA/YUu4UkSgUAP20d0Q dyqMOjeTGvZ50EJUFmdGrfiovZlj3VNrhw5rPD1SX+01A4BrWcM6SnIGaMk92FL4uejt mzdw== X-Forwarded-Encrypted: i=1; AJvYcCXIIrRmAp9kLyF8D55eBKHeQVJp+5ZLjRYxY5FysG8Fj5p2bHXV7oIAzEuGVn/10GDlHMH90A==@debbugs.gnu.org X-Gm-Message-State: AOJu0YwxL+XSU3jim+CcogPlGzucX5AWgHDMg5VpZE/Uqqjq6v6eC0Mt 1L0lbUEX23hIVp3bHBlvsNYmsPGa2Z/LnDEToD+TLBFa6lOtTKhe X-Google-Smtp-Source: AGHT+IGpIbld5x/X7tlSEDGTuU9rHGCq4+FC8a+jlYvXN/oknwFI9mbNvpVTKUqDcuX4L0luIpZb4A== X-Received: by 2002:a05:6512:eaa:b0:539:f949:c027 with SMTP id 2adb3069b0e04-53b1a33e683mr1030525e87.18.1729680237899; Wed, 23 Oct 2024 03:43:57 -0700 (PDT) Received: from smtpclient.apple (c188-150-183-180.bredband.tele2.se. [188.150.183.180]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53a223e5ad7sm1017760e87.56.2024.10.23.03.43.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2024 03:43:57 -0700 (PDT) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Message-Id: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> Date: Wed, 23 Oct 2024 12:43:55 +0200 X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sebasti=C3=A1n, thanks for your contribution! A few minor points about = this part: 663 (let ((case-fold-search t) 664 (target 665 "\\|system = +\\(\\\"\\|'\\)+about:legacy-compat\\)")) 666 (with-current-buffer response-buffer First of all, `case-fold-search` becomes buffer-local if set, so binding = it before changing buffer won't help. You need to do it the other way = around. The regexp is a bit muddled. (Carets here apply to the quoted line = below.) 665 "\\|system = +\\(\\\"\\|'\\)+about:legacy-compat\\)")) ...................................^ Why match the terminating `>` in one branch (without DOCTYPE legacy = string) but not the other? ..................................................^^ Useless backslash(es) here. Did you mean to include something else? (Relint found this one, which is what brought me here.) .............................................................^ Why the `+`? According to the reference, there should be one single or = double quote here. = (https://html.spec.whatwg.org/multipage/syntax.html#doctype-legacy-string)= ................................^^^............^^^ These two capture groups don't seem to be used; you probably meant to = use non-capturing \(?:...\) brackets. ..................................................^^^^^^^^ A character alternative would be better here: ["']. An exact translation of your regexp to the rx notation might be: (rx "" (: "system" (+ " ") (+ (group (| "\"" "'"))) "about:legacy-compat")))) but perhaps you meant something like (rx "") From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Oct 2024 16:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: Jim Porter , Eli Zaretskii , control@debbugs.gnu.org, 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172970048314370 (code B ref 73133); Wed, 23 Oct 2024 16:22:02 +0000 Received: (at 73133) by debbugs.gnu.org; 23 Oct 2024 16:21:23 +0000 Received: from localhost ([127.0.0.1]:60561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3e6s-0003jh-RC for submit@debbugs.gnu.org; Wed, 23 Oct 2024 12:21:23 -0400 Received: from mail-lf1-f45.google.com ([209.85.167.45]:57377) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3e6q-0003jP-3e; Wed, 23 Oct 2024 12:21:20 -0400 Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-539f1292a9bso8607001e87.2; Wed, 23 Oct 2024 09:20:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729700385; x=1730305185; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=D0Po/lRyfcJAO1qTlSN7rJZPHQr2fGFYDmmbN2SvG7o=; b=JT9hmlObg6mzRjtzupMqAVo7nFyl6mmaGYnXAl5HP3u0diQEFVHDYRhKix4GhC9cQm UZWD5R1yUaDIdiWyuqrWOwRPg5w7+L3M+PAQytXGubzDrdeO+oJD0V8kr6uFjsSShZtH dLOVyYBBq9yE79iBsgKRZGwXrYawEJHy9vj4iKW7PCS6aMO3p3MRyQz4RLSGLNmsDDct NxIGzOBXHHAKRZxbuNZAFYvX2fAz381UR3+FS52fZeI3so9WIjRm0VwcmZ8VI6E7Nuou ZHAislzvq/puxLh+yIpTRy7NEO8XU5sNfB5IYpm9AahAGKcKcZl2AZ9Epcw3Q21LAuYy Mzbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729700385; x=1730305185; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=D0Po/lRyfcJAO1qTlSN7rJZPHQr2fGFYDmmbN2SvG7o=; b=dLdSxllZGWw6PRdSXa0zMBYfB0eQX53fLcTugIdhd0silUxvYgC1Afmrbws5Ei6hbE CRapKYn1smOk/sRTllcViu4ou8ekJ+qa8QiY32+duTHtM0cPO0duVwi0pUGFv3pfP1EH gTri8EB3Slz7lyke1C1LVzorQSwUud2EPfVwhfVUJ8CCTI1nSbppZX/UtxKvk6tMV/ZR fL7ke1aqt/7kEVTV33DNHmA2K9DdjvceVADgWW0F0Kl7G9RKJ38IZhnaPrlAddUi7BzZ eQOl9et4gZqaNT12MnxYo2CsuNOxEdrF8mdKFPLaQUZXR/oaPHRgXWZ0kxKaA2UCkSt3 J2mQ== X-Forwarded-Encrypted: i=1; AJvYcCUtvBXRBH6U/KT1RJ2ib/3zhs94KBK+H7amIw0sbX1a2zElytBvVAhW7dzVUepI2PB+e84kIqsfLQ==@debbugs.gnu.org, AJvYcCWfsyKuHUvMQ8AatVL/lD0AGna5VOSPCSI2G5SnspfD3a1xIUJHNTCB8wB092/Hgk/2mh5YzQ==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzDIkBrg03K/hZrMreAXNDY8YAbglgIAjsJN0jdwmecTK6Z/TvS BNQXBfs/k8jiJgWpL3mxtwxV5iljgzXZioWBBH9C2GaIFTOxeHas X-Google-Smtp-Source: AGHT+IHvP0MM9TAocmBp9d1tQ6iGQFVIfx4hIlt69V0W5e0uFsZqvaVoMhZD8vJttRlVs1DuK0i/oQ== X-Received: by 2002:a05:6512:640a:b0:53b:2041:e78c with SMTP id 2adb3069b0e04-53b2041e913mr847921e87.56.1729700384318; Wed, 23 Oct 2024 09:19:44 -0700 (PDT) Received: from smtpclient.apple (c188-150-183-180.bredband.tele2.se. [188.150.183.180]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b1403344dsm534821e87.238.2024.10.23.09.19.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 23 Oct 2024 09:19:43 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> Date: Wed, 23 Oct 2024 18:19:42 +0200 Content-Transfer-Encoding: 7bit Message-Id: <5CF9D535-A901-470F-AB8D-BC743F4F8DCC@gmail.com> References: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) reopen 73133 stop Re-opening the bug so that we don't forget to remedy the above points. From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Oct 2024 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.17297095928978 (code B ref 73133); Wed, 23 Oct 2024 18:54:01 +0000 Received: (at 73133) by debbugs.gnu.org; 23 Oct 2024 18:53:12 +0000 Received: from localhost ([127.0.0.1]:60817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3gTn-0002Kk-M5 for submit@debbugs.gnu.org; Wed, 23 Oct 2024 14:53:11 -0400 Received: from mail-pl1-f175.google.com ([209.85.214.175]:49432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3gTl-0002KT-5b for 73133@debbugs.gnu.org; Wed, 23 Oct 2024 14:53:10 -0400 Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-20cdda5cfb6so538595ad.3 for <73133@debbugs.gnu.org>; Wed, 23 Oct 2024 11:52:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729709494; x=1730314294; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=MXVwLWLHTAcAOy5GuuJHWLge7qu/YpmLnjM/9SvVr5w=; b=Gy2yqJIb4uA0z+xW7VH+7peFIBXGCrN4bbh6V6qFFuWQu5mAWEgYl+O8WdO0r438Vi MSEh7NdveA2DlGQcXxqobs5JpVfyKxd7FZ8pbi71/MmNVLotaWeL6o+67deMC+oqkgpp m1Sb9yNv1TmKJsIib6/Kzx/MR3RUh/pZ16wGUgRQ0C6sm+Ru2r8zhmXQjLyxG1ANJmEB /xtjLipQKqrpYgPwctNhMLAY6IEk+8fhYWVoZI0WfETdzZsaoBFoShqoF2rjFaYe8Tnx m1lrvoyykxAsxZViMTFme1U6D1/FWVgbNa5R3Et2rDsrEclzy2j60M6/cj5Pt4/6Pxds oRBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729709494; x=1730314294; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MXVwLWLHTAcAOy5GuuJHWLge7qu/YpmLnjM/9SvVr5w=; b=iaQFXRbWqYoX2MJZJBeZlUN3w4MiBGMxRL1LUgKBs7vhydQx9tzm/JWczNXtBSZeHT 8DbLA6nyXTTcQWq8YJT4Vm5ahpjP6dDAJimy7T77GfuaE+qsgWUDCnmkxQMoPwIQaUVP 4KBjjvn0WpA2hYSooHn169nXAcYlWEc8VMQHvTkHQ4uQQBC9s2857xIlu6ftncDrCjPd ded83Jn6nz4vg6Htio/yiFQ/4ttuAdaDn8xRn2bgX8A0zPjQZtUv/Znfa5PZ/pVNTTtI UGhs2qDv8zvFqo8j4trfCykWRFBtJEc8vXO3jGXFQ7jz8Q3sSK0xE9af1DgsWAoDBiPY WbEA== X-Forwarded-Encrypted: i=1; AJvYcCXiyD7YaSNT0omtJ3dUp5xC7Fgnc3scOg8TEiejrHHqdxVBOVg2uJxF9AbqxxF3SeivN7Y98w==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzYtfBGQJeM2cGga8XElcPrJ15DrGb92WAGICBZeArQiUsYsHb6 N71Hm8LhmpEcbE+O9WB96BzaKVH23nSVJR3QxFC+VIlDwjddpUhl X-Google-Smtp-Source: AGHT+IFM8lge/eGe8zU136VtaakAy1P8D7CwUUn/79cPonTatKUh3eweQpTenR4/7aij4UBulD99qQ== X-Received: by 2002:a17:902:f68a:b0:20c:80d9:9982 with SMTP id d9443c01a7336-20fa9eb9761mr46504215ad.47.1729709493624; Wed, 23 Oct 2024 11:51:33 -0700 (PDT) Received: from [192.168.1.2] (syn-023-240-098-037.res.spectrum.com. [23.240.98.37]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-20e7f0c0e09sm60693805ad.139.2024.10.23.11.51.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Oct 2024 11:51:33 -0700 (PDT) Message-ID: <2eb287fc-b73e-f7d0-ed5d-fa52063224e8@gmail.com> Date: Wed, 23 Oct 2024 11:51:32 -0700 MIME-Version: 1.0 Content-Language: en-US References: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> From: Jim Porter In-Reply-To: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 10/23/2024 3:43 AM, Mattias EngdegÃ¥rd wrote: > An exact translation of your regexp to the rx notation might be: > > (rx " (group > (| ">" > (: "system" (+ " ") (+ (group (| "\"" "'"))) > "about:legacy-compat")))) > > but perhaps you meant something like > > (rx " (? (* " ") "system" (+ " ") > (| "\"" "'") "about:legacy-compat" (| "\"" "'")) > (* " ") ">") Thoughts on just simplifying to checking for ". (Technically the XHTML ones should be "application/xhtml+xml" but I don't think that makes any difference for EWW.) From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Oct 2024 03:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Jim Porter , Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.17297408003451 (code B ref 73133); Thu, 24 Oct 2024 03:34:01 +0000 Received: (at 73133) by debbugs.gnu.org; 24 Oct 2024 03:33:20 +0000 Received: from localhost ([127.0.0.1]:33118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3ob9-0000ta-No for submit@debbugs.gnu.org; Wed, 23 Oct 2024 23:33:20 -0400 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]:50569) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3ob4-0000t9-Su for 73133@debbugs.gnu.org; Wed, 23 Oct 2024 23:33:18 -0400 Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.phl.internal (Postfix) with ESMTP id 520921380279; Wed, 23 Oct 2024 23:32:39 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Wed, 23 Oct 2024 23:32:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1729740759; x=1729827159; bh=XTVa13tR+JrQP+Nm0IcLHQ01kkxRegQG hNTBHJmwh94=; b=TOr3iKIs9qlg7xqZ4H4uOBYPXLF1XKOLSyjbu0l4mNrSlNZf bY45gjj2Vb8bpj6QWwoRffvXMkjxoGeforIaAq11RsBy9SxjdfFmvuIfFLaXL3sr m+92KiXeya6/yqGnC8zX97jcUz3tS/Dql2ilxTFT6A16RXaUxICXLYAYd5zgLltZ +PyUrfW+qc1ILwbN4WUaDl+LmmXTlMvw9upxUZPJu6VuHBkpk2jnAXgZO0Aae5Sq 2OH2vH7boe7PSVLIdPkYEtZo1EcxADEF0WprU+ugbTcSWUNycQOVFMLFu+5zx8IM 97gbKPlIkvIfFfFT6yMHNYIqWykFTXPqQy67OQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1729740759; x= 1729827159; bh=XTVa13tR+JrQP+Nm0IcLHQ01kkxRegQGhNTBHJmwh94=; b=G MoQlOByQX8j/B2A1MrAY+ytclc1NSKQ/hFwu9Nkr7Xo9Fj4JGSghnMpCaPCFx7a4 IdFpMxTxmR+pFMQnkRTrENuxbsVtjgP+Wj4oV+aI4lZEhlquJMs6PGrb6gvcJrEq XVJs+HX1NQawEuFQHelgnOdXbLZVf1VN+FnZupEBaX+K1oxnU3veuDA7naMQEiZ8 tbjNBmY9XDhBLh/LuTbrnZTrA2yjm5XkHI4JZZ6kRt3TrCeUSoRpt+Nw1PRfRkPH lnKZ+G7fe4VshR6geQyBT9Q+PFC+1zImnA4SZDR9VZWKiqVYWLXDMbUwk2bGawRo AMYReIz8IZyNPTi4fxHVA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeikedgjeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkfgggtgfgsehtqhertddtreej necuhfhrohhmpefuvggsrghsthhijohnucfoohhnvogruceoshgvsggrshhtihgrnhessh gvsggrshhmohhnihgrrdgtohhmqeenucggtffrrghtthgvrhhnpefffffhuedtudevlefg ffefiefgvdfgheejgfdtueeljeffhfffvedtheekvdffheenucffohhmrghinhepfihhrg htfihgrdhorhhgpdhsvggsrghsmhhonhhirgdrtghomhenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehsvggsrghsthhirghnsehsvggsrghsmh honhhirgdrtghomhdpnhgspghrtghpthhtohephedpmhhouggvpehsmhhtphhouhhtpdhr tghpthhtohepghgrnhhimhgrrhgusehtuhhtrgdrihhopdhrtghpthhtohepjeefudeffe esuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhr ghdprhgtphhtthhopehjphhorhhtvghrsghughhssehgmhgrihhlrdgtohhmpdhrtghpth htohepmhgrthhtihgrshdrvghnghguvghgrghrugesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Oct 2024 23:32:38 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Wed, 23 Oct 2024 12:43:55 +0200") References: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> Date: Wed, 23 Oct 2024 23:32:37 -0400 Message-ID: <877c9ygoq2.fsf@sebasmonia.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Mattias Engdeg=C3=A5rd writes: > Sebasti=C3=A1n, thanks for your contribution! A few minor points about th= is part: > > 663 (let ((case-fold-search t) > 664 (target > 665 "\\|system +\\(\\\"\\|'\\)+about:legac= y-compat\\)")) > 666 (with-current-buffer response-buffer > > First of all, `case-fold-search` becomes buffer-local if set, so binding = it before changing buffer won't help. You need to do it the other way aroun= d. Thank you for picking this up! Makes wonder what I did wrong when testing, that it worked OK. Will correct it in the next patch. > The regexp is a bit muddled. (Carets here apply to the quoted line below.) > > 665 "\\|system +\\(\\\"\\|'\\)+about:legac= y-compat\\)")) > ...................................^ > Why match the terminating `>` in one branch (without DOCTYPE legacy strin= g) but not the other? The idea was to match exactly a "modern" doctype declaration, or softly a legacy one since they are more likely to have...wonky? markup. > ..................................................^^ > Useless backslash(es) here. Did you mean to include something else? > (Relint found this one, which is what brought me here.) I don't think so, it is an honest mistake. I rarely write regexps in elisp code (or any code, for that matter :) haha), only interactive use > .............................................................^ > Why the `+`? According to the reference, there should be one single or do= uble quote here. > (https://html.spec.whatwg.org/multipage/syntax.html#doctype-legacy-string) > > ................................^^^............^^^ > These two capture groups don't seem to be used; you probably meant to use= non-capturing \(?:...\) brackets. This is correct (just read on non-capturing groups). > ..................................................^^^^^^^^ > A character alternative would be better here: ["']. > > An exact translation of your regexp to the rx notation might be: Despite all the mistakes in the regex above, and a few tries to understand it, the rx notation doesn't really click for me. I am more than happy to use either of the versions you provided. Thank you for your review! --=20 Sebasti=C3=A1n Mon=C3=ADa https://site.sebasmonia.com/ From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Oct 2024 03:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: 73133@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii , ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.17297409454070 (code B ref 73133); Thu, 24 Oct 2024 03:36:02 +0000 Received: (at 73133) by debbugs.gnu.org; 24 Oct 2024 03:35:45 +0000 Received: from localhost ([127.0.0.1]:33127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3odV-00013a-Au for submit@debbugs.gnu.org; Wed, 23 Oct 2024 23:35:45 -0400 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]:58143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3odT-00010o-HN for 73133@debbugs.gnu.org; Wed, 23 Oct 2024 23:35:44 -0400 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 42BD61380280; Wed, 23 Oct 2024 23:35:08 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Wed, 23 Oct 2024 23:35:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1729740908; x=1729827308; bh=FjPtcfXFU292F9vH7fOybCyS9O6m8yAs zwpuj6DccuQ=; b=3eGoesUdqHIXHAaU62h4NzK286nT3SJRgRbNjXTuRWhUFwMz DsM5h9+7AUMuGL4owhgW+ajsat1Zlm6MrJndmvrjF3F61QwckIvlKMdi+hK36yEy nO6k2kWi+sM0zG1bfwQsbImgBET5q1Nyqp88JtCiADQc+ROpIMLo1Mn8zBbUvXYu Or3s238MBZjRYzmO3SCk7nSUA2uHOIuBBuoYXGAFj7OWOqygkxHaLUrTsrIDMqHp 5t+bm17mL0uEUg8W8UUB6upkTLm3XUm+/wE09BE5YLIpOy8EruOMVvMJFU6EfgwR 4eBf5/lBr/IINmHLdRf+wsERwivW7BJAlfWgzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1729740908; x= 1729827308; bh=FjPtcfXFU292F9vH7fOybCyS9O6m8yAszwpuj6DccuQ=; b=L VES2NkzNynq1YlpQ0f9Efw8jAhiF1nT9fUOCnoF9WqW9z0uB5klHVj/uXXjT6rDR ha1qlK2oycBYN+uLxyp1MXeLdvmyhkJgaVWhAVDLaE6tJ2Ox1+WjMZ7+B0UtpEiM yxPAtaZwHgoxcFGehqPY/sJhaiocV5QjgPL+ngEu7m5xIi8pC20Q/k/CrBUjOQiM 1ao63eRNgldVi6g25Q2Z/CZO6MoOEkKqC/oydFgkie98MK5a/eAphLoT63omqelW BGuUEpoS6BXmiyenqGg/OiEgZi8yogH1XwA4c3BmMRWQgS8kM2deOjNrZZ/6GjCI nQiPtiLrOPPI0Q05aGKKw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdeikedgjeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkfgggtgfgsehtqhertddtreej necuhfhrohhmpefuvggsrghsthhijohnucfoohhnvogruceoshgvsggrshhtihgrnhessh gvsggrshhmohhnihgrrdgtohhmqeenucggtffrrghtthgvrhhnpeehtedtvddthfelfedt udeljefhgfeileegjedvvddvvdehveeltdejlefhhfeltdenucffohhmrghinhepfiefrd horhhgpdhsvggsrghsmhhonhhirgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecu rfgrrhgrmhepmhgrihhlfhhrohhmpehsvggsrghsthhirghnsehsvggsrghsmhhonhhirg drtghomhdpnhgspghrtghpthhtohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthht ohepghgrnhhimhgrrhgusehtuhhtrgdrihhopdhrtghpthhtohepjeefudeffeesuggvsg gsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgt phhtthhopehmrghtthhirghsrdgvnhhguggvghgrrhgusehgmhgrihhlrdgtohhmpdhrtg hpthhtohepjhhpohhrthgvrhgsuhhgshesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Oct 2024 23:35:07 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <2eb287fc-b73e-f7d0-ed5d-fa52063224e8@gmail.com> (Jim Porter's message of "Wed, 23 Oct 2024 11:51:32 -0700") References: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> <2eb287fc-b73e-f7d0-ed5d-fa52063224e8@gmail.com> Date: Wed, 23 Oct 2024 23:35:07 -0400 Message-ID: <87zfmufa1g.fsf@sebasmonia.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Jim Porter writes: > Thoughts on just simplifying to checking for " way, we'd also guess "text/html" for all the (mostly obsolete) HTML > doctypes here: . It sounds like a good idea, can provide a patch in a couple days (maybe tomorrow). That leaves some time for dissenting voices to express any concerns with this approach. --=20 Sebasti=C3=A1n Mon=C3=ADa https://site.sebasmonia.com/ From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Oct 2024 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jim Porter Cc: 73133@debbugs.gnu.org, Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Eli Zaretskii , ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.172979005024227 (code B ref 73133); Thu, 24 Oct 2024 17:15:02 +0000 Received: (at 73133) by debbugs.gnu.org; 24 Oct 2024 17:14:10 +0000 Received: from localhost ([127.0.0.1]:36062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t41PV-0006Ih-IZ for submit@debbugs.gnu.org; Thu, 24 Oct 2024 13:14:09 -0400 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]:54097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t41PQ-0006I0-MR for 73133@debbugs.gnu.org; Thu, 24 Oct 2024 13:14:08 -0400 Received: from phl-compute-07.internal (phl-compute-07.phl.internal [10.202.2.47]) by mailfout.phl.internal (Postfix) with ESMTP id 94A991380217; Thu, 24 Oct 2024 13:13:27 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Thu, 24 Oct 2024 13:13:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1729790007; x= 1729876407; bh=4u+xYhiY88X6gnzPRi52P8Uk/i1oOIFEaPS55a+TdY4=; b=y ZLaGP+OQjIMrTOW2qxHUHPzZDOUNvPqEDb9FY+P8p9t8H0qTszPcZM2eZTfGmt7R ud23c8DhIfX/6W0ySyMKSzD+auS1bT19CliiwBDKCBajm0yi9tXZNEglj0TTJcwc H5AuFsd82v/UeubJnG+FIDr0XYQNP9ECzszTHuECjWzci04wQB70LNp0eYXwU741 B2t+XUu9uhec45gcnTfmR1/vcQmIj/MqafZaGf/VNz8gCs6jZjqLBzjXQOv3Q/Pf vc3TlxwhjwlEqEPsU1GOQmoIAzXM0ceoexPEHlg7jwmjLlBTxLe7iYydC63jX1OE 8fOvlPEAZJReLeVLJypkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1729790007; x=1729876407; bh=4u+xYhiY88X6gnzPRi52P8Uk/i1o OIFEaPS55a+TdY4=; b=ZuyFfzpwTYw/0timznwCCZOxQLfoYjywMbDET2BecTjt yuCZBWXSTGSlPYHo7ZMhZagraBTxy6cb2fz8uoqkw/d5eRjFeiiE0HJern02z4TP hh3zA9pB6EjFFVNNY2BwKyocSU3C6nXYzHj8jcujHxXClXLEZ3X9fQCZX+WQEuiH qIzn6Gwj2noBzD5gpKSXPuBulYDvs7VkJdScZ4oMnaYRQQ1ceIbPUSGMUgcYGDQx snnMlvf+bdUI7XVPhRUoYv+DRxCQj4sVYofPz3fvCo+El0GQW3pdB7iXIHz69xkO LNt4fUpKjchy73g6OSa6D4eExjXVR5VhROwxbDRzrw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdejtddgkeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffffkfgggtgesmhdtreertderuden ucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnsehsvg gsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhepledvuddvlefhteeuvdeh keeviedufffgffffkeetvdfhjefhfffhtdegveektddvnecuffhomhgrihhnpeiffedroh hrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehs vggsrghsthhirghnsehsvggsrghsmhhonhhirgdrtghomhdpnhgspghrtghpthhtohephe dpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepghgrnhhimhgrrhgusehtuhhtrgdr ihhopdhrtghpthhtohepjeefudeffeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtph htthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehmrghtthhirghsrdgvnhhg uggvghgrrhgusehgmhgrihhlrdgtohhmpdhrtghpthhtohepjhhpohhrthgvrhgsuhhgsh esghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 24 Oct 2024 13:13:26 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: <87zfmufa1g.fsf@sebasmonia.com> ("=?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?="'s message of "Wed, 23 Oct 2024 23:35:07 -0400") References: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> <2eb287fc-b73e-f7d0-ed5d-fa52063224e8@gmail.com> <87zfmufa1g.fsf@sebasmonia.com> Date: Thu, 24 Oct 2024 13:13:26 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Sebasti=E1n Mon=EDa writes: > Jim Porter writes: >> Thoughts on just simplifying to checking for "> way, we'd also guess "text/html" for all the (mostly obsolete) HTML >> doctypes here: . > > It sounds like a good idea, can provide a patch in a couple days (maybe > tomorrow). That leaves some time for dissenting voices to express any > concerns with this approach. Attached a patch with the corrections mentioned so far. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-More-lax-doctype-check-in-EWW-bug-73133.patch Content-Description: bug#73133 >From 952930c78dcfe7e4bb3a32504805239ae32073e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Mon=C3=ADa?= Date: Thu, 24 Oct 2024 13:09:11 -0400 Subject: [PATCH] More lax doctype check in EWW (bug#73133) The regexp to match doctype tags was simplified and will match more legacy entries; also correct binding of case-fold-search. * lisp/net/eww.el (eww--html buffer-list): Update function. --- lisp/net/eww.el | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 7bbbeadaedd..71e4d720b74 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -660,15 +660,14 @@ eww--html-if-doctype "Return \"text/html\" if RESPONSE-BUFFER has an HTML doctype declaration. HEADERS is unused." ;; https://html.spec.whatwg.org/multipage/syntax.html#the-doctype - (let ((case-fold-search t) - (target - "\\|system +\\(\\\"\\|'\\)+about:legacy-compat\\)")) - (with-current-buffer response-buffer - (goto-char (point-min)) - ;; match basic and also legacy variants as - ;; specified in link above - (when (re-search-forward target nil t) - "text/html")))) + (with-current-buffer response-buffer + (let ((case-fold-search t)) + (save-excursion + (goto-char (point-min)) + ;; match basic and also legacy variants as + ;; specified in link above - being purposely lax about it + (when (re-search-forward " Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2024 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Cc: Jim Porter , Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.173013046626651 (code B ref 73133); Mon, 28 Oct 2024 15:48:02 +0000 Received: (at 73133) by debbugs.gnu.org; 28 Oct 2024 15:47:46 +0000 Received: from localhost ([127.0.0.1]:54440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5Ry6-0006vm-0a for submit@debbugs.gnu.org; Mon, 28 Oct 2024 11:47:46 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:58628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t5Ry3-0006v7-Eq for 73133@debbugs.gnu.org; Mon, 28 Oct 2024 11:47:44 -0400 Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-539f72c913aso5714103e87.1 for <73133@debbugs.gnu.org>; Mon, 28 Oct 2024 08:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730130361; x=1730735161; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=elmioI/bsQ5CIV4ZIcqRQFjZQAdmMVjFsnk22lhiFkY=; b=RFOMTVLKtULY40J3YK43CzNpiwMexUqNDxo5lSEyZP8HvKe80LngDEXzxDMOKpmCOO 551/xpmGXYzrkPmiOZeTlFMVoIr0onmdD9FAdoMuaZ/i38Qdl9A3IvI73s/J0j3MHo1a Y1yUjIlZC6TQZ/GW53P35YnSj4tpRfhqDw/QksxuHX+NJJg3KV6KIq39D89oZvabtQzx cCijNL90mz9ZiIbHodXcfnTJp4l8+VWVMDVMIxC26ROAzppgJ/n9SU77Aoj/VVw2BIh5 xmhkXKpNri9aqjoi+4SYyulRJLsVHfUgjzugoufREmokiMZ5C24MwfTwGb/ILNiNC7Gn E0Sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730130361; x=1730735161; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=elmioI/bsQ5CIV4ZIcqRQFjZQAdmMVjFsnk22lhiFkY=; b=peEFTXd0hdwpsd42COFBUGgtf2y3g75tNd/6GYhRGaDI0rmIHOARqFT4tpCqFhwgx5 2/gMf4Gv3l2HFhO6snu1R4TYxyWqekOwrUvCgihFI7rZJ4AbZW987hAuSFoQRqzysVvQ I8UFQ8kGVxRXFu/OxBRu/Tls0CmZhM7Zm2vr+HwW+bM4taCb6ei5hdTA2VZblC8ZZqBJ 0b/529wZT3nWwdIsE01lBUmV0E312+an0VwTDNCnXrC5tAEAmtQlRV0T2iNiW9F/64OY iKew8njbsgvujiYyp0DnnPc8XMJhrJ9bc2tbg6wx3JL+G7v26+I/6V/ri7QLcwBxZMg+ lohQ== X-Forwarded-Encrypted: i=1; AJvYcCU99dWQwh1emWhiAOaGSTirVg7As/IIN7F38JFHRoF4MfO84r9xCj9VAQyqBWUnsUNBvJ5zzA==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yyg48wOYkTFxDnidkqXjh5jCVwiXLSOdA4rgRzGsvqEtK3tOOMo KDiNXRhCjXFH1nFBHxRSZfbQm0DwfLMRSCtznjA9RSP/x+vGyYj6 X-Google-Smtp-Source: AGHT+IENlB/JC5yRgcBOCbrl70kEd533C11VJuYOTNxb8RfxiV/yj5IjMhibqFiReJq6H19wC3V5xQ== X-Received: by 2002:a05:6512:1116:b0:52c:dd3d:85af with SMTP id 2adb3069b0e04-53b348e0eedmr3271935e87.25.1730130360662; Mon, 28 Oct 2024 08:46:00 -0700 (PDT) Received: from smtpclient.apple (c188-150-183-180.bredband.tele2.se. [188.150.183.180]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53b2e1df26fsm1115068e87.255.2024.10.28.08.45.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Oct 2024 08:46:00 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) From: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= In-Reply-To: Date: Mon, 28 Oct 2024 16:45:59 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> <2eb287fc-b73e-f7d0-ed5d-fa52063224e8@gmail.com> <87zfmufa1g.fsf@sebasmonia.com> X-Mailer: Apple Mail (2.3654.120.0.1.15) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 24 okt. 2024 kl. 19.13 skrev Sebasti=C3=A1n Mon=C3=ADa = : > Attached a patch with the corrections mentioned so far. Fine as far as I'm concerned. You could use `search-forward` instead of = `re-search-forward` since you aren't actually using a regexp any more. From unknown Sat Aug 16 21:19:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#73133: 29.2; EWW fails to render some webpages Resent-From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Oct 2024 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73133 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Cc: Jim Porter , Eli Zaretskii , 73133@debbugs.gnu.org, ganimard@tuta.io Received: via spool by 73133-submit@debbugs.gnu.org id=B73133.173030170322060 (code B ref 73133); Wed, 30 Oct 2024 15:22:02 +0000 Received: (at 73133) by debbugs.gnu.org; 30 Oct 2024 15:21:43 +0000 Received: from localhost ([127.0.0.1]:35630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6AVz-0005jk-9z for submit@debbugs.gnu.org; Wed, 30 Oct 2024 11:21:43 -0400 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]:56063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6AVu-0005ja-VA for 73133@debbugs.gnu.org; Wed, 30 Oct 2024 11:21:41 -0400 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id 9A74E25400C0; Wed, 30 Oct 2024 11:21:33 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Wed, 30 Oct 2024 11:21:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sebasmonia.com; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1730301693; x= 1730388093; bh=I/REea2RN5GsCShyCfjbSYpTVhl5ZMmn7NPmkCTI4zw=; b=T P0sJcZaPtlrPIOY4KjaA//XRYfg7iiSVL/h9X61GyaPxScsncgW8i+H4+/F2t+7W m2BsdG1QM3e9rodDWG8KzSNLLIzyCAFADLRpwRG5lN3oeOCKJAt0vV89MwQ3TEbg WB3mqIeTMw0cKEdhz4uGgPK/4UKweQn94SSZPAZHC5DEQANsDNu/1HiPY2cBIAwQ di0NSWsIw4DDv+2ejI4jRJSPwsdn+p7w4taGxx1DdFc6mFFTcMdGAcWwPCrGrBD6 zk5B1HKjlDl722KbFunYBhuPfJTAz7GK5e4m7/u2hVoB9ymg5321pVZORTGMkOsy 4+qKiRY3Pna4RbM3hCECA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1730301693; x=1730388093; bh=I/REea2RN5GsCShyCfjbSYpTVhl5ZMmn7NP mkCTI4zw=; b=UQNJ6/Fnc3+1DgfN1/cs4HXccd3AGaOHVHP7z92cSn6jsuAdFu3 u1oWqn8t/dkaH3HXtpn9aMfZMaa5cHWRpnKfMcvu14o8/KkIYezeYQvY6FO+sZwY jxlboB+gwCLAL0UyfyHeoVM4djXAuvw7g0wmL2Tj7aqV1jmb3SEncFJMvqXxVv7G z9tpipTNKR8uy2wVAnF/Jwb2j25GnPdpw7D7z2QrO15TRbRo2FpY6fbDy6A/vYTH d6jeHOEbC8FA1BZlN6EcaduMWaaOTheKxuuMbNVrb7uFbJsHS2ZHA4ELFm9H2/E5 4w/J6NjpjAZHRI8fnBt46iMwFZgondgg0qA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdekfedgjeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgesmhdtofertderuden ucfhrhhomhepufgvsggrshhtihojnhcuofhonhovrgcuoehsvggsrghsthhirghnsehsvg gsrghsmhhonhhirgdrtghomheqnecuggftrfgrthhtvghrnhepkeduffejhffhuddutdej tdeugfetkeekuddvieefieehueejjeegkeduvdefkeelnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepshgvsggrshhtihgrnhesshgvsggrshhm ohhnihgrrdgtohhmpdhnsggprhgtphhtthhopeehpdhmohguvgepshhmthhpohhuthdprh gtphhtthhopehgrghnihhmrghrugesthhuthgrrdhiohdprhgtphhtthhopeejfedufeef seguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepvghlihiisehgnhhurdhorh hgpdhrtghpthhtohepjhhpohhrthgvrhgsuhhgshesghhmrghilhdrtghomhdprhgtphht thhopehmrghtthhirghsrdgvnhhguggvghgrrhgusehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iab2c46da:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 30 Oct 2024 11:21:32 -0400 (EDT) From: =?UTF-8?Q?Sebasti=C3=A1n_?= =?UTF-8?Q?Mon=C3=ADa?= In-Reply-To: ("Mattias =?UTF-8?Q?Engdeg=C3=A5rd?="'s message of "Mon, 28 Oct 2024 16:45:59 +0100") References: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> <2eb287fc-b73e-f7d0-ed5d-fa52063224e8@gmail.com> <87zfmufa1g.fsf@sebasmonia.com> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Wed, 30 Oct 2024 11:21:32 -0400 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Mattias Engdeg=E5rd writes: > 24 okt. 2024 kl. 19.13 skrev Sebasti=E1n Mon=EDa : > >> Attached a patch with the corrections mentioned so far. > > Fine as far as I'm concerned. You could use `search-forward` instead > of `re-search-forward` since you aren't actually using a regexp any > more. > --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-More-lax-doctype-check-in-EWW--bug-73133.patch Content-Description: search-forward >From ab4a00e3ae5c8b2f6a9d3355df0ee406dbccaee8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Mon=C3=ADa?= Date: Thu, 24 Oct 2024 13:09:11 -0400 Subject: [PATCH] More lax doctype check in EWW (bug#73133) The regexp to match doctype tags was simplified and will match more legacy entries; also correct binding of case-fold-search. * lisp/net/eww.el (eww--html buffer-list): Update function. --- lisp/net/eww.el | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 7bbbeadaedd..ec2f4e494e4 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -660,15 +660,14 @@ eww--html-if-doctype "Return \"text/html\" if RESPONSE-BUFFER has an HTML doctype declaration. HEADERS is unused." ;; https://html.spec.whatwg.org/multipage/syntax.html#the-doctype - (let ((case-fold-search t) - (target - "\\|system +\\(\\\"\\|'\\)+about:legacy-compat\\)")) - (with-current-buffer response-buffer - (goto-char (point-min)) - ;; match basic and also legacy variants as - ;; specified in link above - (when (re-search-forward target nil t) - "text/html")))) + (with-current-buffer response-buffer + (let ((case-fold-search t)) + (save-excursion + (goto-char (point-min)) + ;; match basic and also legacy variants as + ;; specified in link above - being purposely lax about it + (when (search-forward " Subject: bug#73133: closed (Re: bug#73133: 29.2; EWW fails to render some webpages) Message-ID: References: <867c9lzx54.fsf@gnu.org> X-Gnu-PR-Message: they-closed 73133 X-Gnu-PR-Package: emacs Reply-To: 73133@debbugs.gnu.org Date: Sat, 02 Nov 2024 11:36:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1730547362-30934-1" This is a multi-part message in MIME format... ------------=_1730547362-30934-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #73133: 29.2; EWW fails to render some webpages which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 73133@debbugs.gnu.org. --=20 73133: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D73133 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1730547362-30934-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 73133-done) by debbugs.gnu.org; 2 Nov 2024 11:35:30 +0000 Received: from localhost ([127.0.0.1]:53329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7CPi-00082c-4N for submit@debbugs.gnu.org; Sat, 02 Nov 2024 07:35:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7CPg-00082S-19 for 73133-done@debbugs.gnu.org; Sat, 02 Nov 2024 07:35:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7CPa-0002Xn-9e; Sat, 02 Nov 2024 07:35:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=sH91knEY7DqtCXRnCjgClum08T0O6xrrylvvQpRf3sE=; b=Qw4HCqeWbZzKyVPN2/pS pfBgyjzsLABuseg9copKouzhfUiMFy5XR9xdsEKiPqf1vKYHHUVLMYSdVX3v/+QDS5Y1aRaWKEAmP rQoA+CiaGShtaI76JnvF24hcKLRgNrBr3xsFlcpnLUr7eiMgoCm0RM/QA/8ZsStk9tz4bp69+KrTr harqzltUTe4D6ee0N6hPGrNlprq+4R5fpG+1a87V2RFy0AKG2jt/e1Bk5X7nTOlMXBDqTi/5YyQRq hW777CvbwgdoRRV25kJs7fLkNo3gmEcCnRnpTe3MU4mOrTsJUa3lYxDGvnhU+3Ccq71cBfTLN/WHS /OBMwxRrOdK6+g==; Date: Sat, 02 Nov 2024 13:35:19 +0200 Message-Id: <867c9lzx54.fsf@gnu.org> From: Eli Zaretskii To: =?iso-8859-1?Q?Sebasti=E1n_Mon=EDa?= In-Reply-To: (message from =?iso-8859-1?Q?Sebasti=E1n_Mon=EDa?= on Wed, 30 Oct 2024 11:21:32 -0400) Subject: Re: bug#73133: 29.2; EWW fails to render some webpages References: <86613F3D-B7C8-4498-B435-7AAF342264C2@gmail.com> <2eb287fc-b73e-f7d0-ed5d-fa52063224e8@gmail.com> <87zfmufa1g.fsf@sebasmonia.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 73133-done Cc: jporterbugs@gmail.com, mattias.engdegard@gmail.com, 73133-done@debbugs.gnu.org, ganimard@tuta.io X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Sebastián Monía > Cc: Jim Porter , Eli Zaretskii , > 73133@debbugs.gnu.org, ganimard@tuta.io > Date: Wed, 30 Oct 2024 11:21:32 -0400 > > Mattias Engdegård writes: > > > 24 okt. 2024 kl. 19.13 skrev Sebastián Monía : > > > >> Attached a patch with the corrections mentioned so far. > > > > Fine as far as I'm concerned. You could use `search-forward` instead > > of `re-search-forward` since you aren't actually using a regexp any > > more. > > > > >From ab4a00e3ae5c8b2f6a9d3355df0ee406dbccaee8 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Sebasti=C3=A1n=20Mon=C3=ADa?= > > Date: Thu, 24 Oct 2024 13:09:11 -0400 > Subject: [PATCH] More lax doctype check in EWW (bug#73133) Thanks, installed on master, and closing the bug. ------------=_1730547362-30934-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 9 Sep 2024 04:08:47 +0000 Received: from localhost ([127.0.0.1]:60450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snVhl-00015S-7U for submit@debbugs.gnu.org; Mon, 09 Sep 2024 00:08:46 -0400 Received: from lists.gnu.org ([209.51.188.17]:51104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1snOuA-0003A3-CI for submit@debbugs.gnu.org; Sun, 08 Sep 2024 16:53:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snOu7-0008PM-H7 for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 16:53:03 -0400 Received: from mail.w14.tutanota.de ([185.205.69.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1snOu4-0006DS-Jy for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2024 16:53:03 -0400 Received: from tutadb.w10.tutanota.de (w10.api.tuta.com [IPv6:fd:ac::d:10]) by mail.w14.tutanota.de (Postfix) with ESMTP id 0F5121EDA1C9 for ; Sun, 8 Sep 2024 22:52:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1725828745; s=s1; d=tuta.io; h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender; bh=oOmesuuoAZ1DVrI0aPxlJUFi5kmf3gr4oosjYgRqW9g=; b=pnMpU2XuK0zQgwPkQH9yaOnTZNIuuBlD3HS8MAtwNziJlpLQNlmvobCQTsKb9oe4 OJ19QKA4c++iO/728SNByZO7PUXODn4N9jE58ZAez/EdKQXrL/XtV4Y1MK8xbRa1pQt lnilL62a03xC5l7n2sPfsMyZFk36k3AmsoHB/Rj1Qg/gOhjYKvQeo4bAh0CkxMJBj/6 5qEWt41BEIgx9pOqUE5urQTslEqbxnrE+G5mw4E+ZcxiaHsX51MkIfLS3wQ46GFk7CD oBjb2stE+DWcmtrQcFM8FzRvvmB6mb6Uxe8Q8OQEYtubTnLkqYxjsiB+bt9XlFIxcUt BbYahi67cg== Date: Sun, 8 Sep 2024 22:52:25 +0200 (CEST) From: Ganimard To: Bug Gnu Emacs Message-ID: Subject: 29.2; EWW fails to render some webpages MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_197313_1020779492.1725828745056" Received-SPF: pass client-ip=185.205.69.214; envelope-from=ganimard@tuta.io; helo=mail.w14.tutanota.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 09 Sep 2024 00:08:40 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) ------=_Part_197313_1020779492.1725828745056 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To Whom it may concern, I have recently discovered the website gastonle.ru, however it does not render with Emacs Web Wowser.=C2=A0 It appears to be a relatively simple website and I cannot see what would prohibit it from rendering. I have also tried it on an Ubuntu 22.04.4 LTS distro running Emacs 28.1 but it also fails to render.=C2=A0 This therefore appears to be a bug in EW= W. --- In GNU Emacs 29.2 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-01-19 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2487 System Description:=C2=A0 macOS 14.2.1 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules 'CFLAGS=3D-DFD_SETSIZE=3D10000 -DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=3Dno' Configured features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB Important settings: =C2=A0 value of $LANG: en_NZ.UTF-8 =C2=A0 locale-coding-system: utf-8-unix Major mode: Markdown Minor modes in effect: =C2=A0 yas-global-mode: t =C2=A0 yas-minor-mode: t =C2=A0 global-git-commit-mode: t =C2=A0 magit-auto-revert-mode: t =C2=A0 shell-dirtrack-mode: t =C2=A0 server-mode: t =C2=A0 TeX-PDF-mode: t =C2=A0 TeX-source-correlate-mode: t =C2=A0 global-display-line-numbers-mode: t =C2=A0 display-line-numbers-mode: t =C2=A0 whitespace-mode: t =C2=A0 global-page-break-lines-mode: t =C2=A0 override-global-mode: t =C2=A0 tooltip-mode: t =C2=A0 global-eldoc-mode: t =C2=A0 eldoc-mode: t =C2=A0 show-paren-mode: t =C2=A0 electric-indent-mode: t =C2=A0 mouse-wheel-mode: t =C2=A0 file-name-shadow-mode: t =C2=A0 global-font-lock-mode: t =C2=A0 font-lock-mode: t =C2=A0 blink-cursor-mode: t =C2=A0 line-number-mode: t =C2=A0 transient-mark-mode: t =C2=A0 auto-composition-mode: t =C2=A0 auto-encryption-mode: t =C2=A0 auto-compression-mode: t Load-path shadows: /Users/ganimard/.emacs.d/elpa/transient-20230919.2146/transient hides /Appl= ications/Emacs.app/Contents/Resources/lisp/transient Features: (shadow sort mail-extr emacsbug files-x vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view vc bug-reference help-fns radix-tree magit-patch magit-subtree magit-gitignore magit-ediff ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util magit-extras face-remap misearch multi-isearch vc-git vc-dispatcher markdown-mode color dired-aux disp-table hl-todo flycheck forth-mode forth-spec forth-smie smie forth-syntax llvm-mode splunk-mode ess lisp-mnt ess-utils ess-custom go-mode find-file ffap etags fileloop xref rust-utils rust-mode rust-rustfmt rust-playpen rust-compile rust-cargo yasnippet magit-submodule magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode diff diff-mode git-commit log-edit pcvs-util add-log magit-core magit-autorevert autorevert magit-margin magit-transient magit-process with-editor shell server magit-mode transient magit-git magit-base magit-section cursor-sensor dash auctex-latexmk latex latex-flymake flymake-proc flymake project compile warnings tex-ispell tex-style tex texmathp latex-preview-pane doc-view filenotify jka-compr image-mode exif auctex ebib ebib-reading-list ebib-notes org-element org-persist xdg org-id org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color org-list org-footnote org-faces org-entities noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle org-table org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs ol org-fold org-fold-core org-compat ring avl-tree generator org-version org-macs ebib-filters ebib-keywords ebib-utils ebib-db message sendmail yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader format-spec parsebib rx hl-line pp crm bibtex iso8601 time-date writeroom-mode visual-fill-column olivetti multiple-cursors mc-separate-operations rectangular-region-mode mc-mark-pop mc-edit-lines mc-hide-unmatched-lines-mode mc-mark-more thingatpt mc-cycle-cursors multiple-cursors-core advice rect move-text no-littering compat paredit edmacro kmacro display-line-numbers whitespace page-break-lines smart-mode-line-atom-one-dark-theme cl-extra help-mode atom-one-dark-theme use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf atom-one-dark-theme-autoloads auctex-latexmk-autoloads auctex-autoloads tex-site company-autoloads dracula-theme-autoloads ebib-autoloads ess-autoloads flycheck-autoloads forth-mode-autoloads gdscript-mode-autoloads go-mode-autoloads hl-todo-autoloads impatient-mode-autoloads htmlize-autoloads julia-formatter-autoloads just-mode-autoloads latex-preview-pane-autoloads llvm-ts-mode-autoloads lsp-docker-autoloads lsp-julia-autoloads julia-mode-autoloads lsp-ui-autoloads lsp-mode-autoloads ht-autoloads lv-autoloads magit-autoloads pcase git-commit-autoloads magit-section-autoloads move-text-autoloads multiple-cursors-autoloads no-littering-autoloads olivetti-autoloads package-lint-autoloads page-break-lines-autoloads paredit-autoloads parsebib-autoloads pkg-info-autoloads epl-autoloads quelpa-use-package-autoloads quelpa-autoloads rustic-autoloads markdown-mode-autoloads f-autoloads dash-autoloads rust-mode-autoloads s-autoloads session-async-autoloads simple-httpd-autoloads smart-mode-line-atom-one-dark-theme-autoloads smart-mode-line-autoloads rich-minority-autoloads spinner-autoloads splunk-mode-autoloads transient-autoloads with-editor-autoloads compat-autoloads info writeroom-mode-autoloads visual-fill-column-autoloads xterm-color-autoloads yaml-autoloads yaml-mode-autoloads yasnippet-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 412027 70117) (symbols 48 34112 0) (strings 32 128155 6447) (string-bytes 1 4038566) (vectors 16 67754) (vector-slots 8 739746 70880) (floats 8 294 368) (intervals 56 6200 53) (buffers 984 43)) ------=_Part_197313_1020779492.1725828745056 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
To Whom it may concern,

I have recently di= scovered the website gastonle.ru, however it does not
render with Emacs Web Wowser.  It appears to be a relativ= ely simple
website and I cannot see what would p= rohibit it from rendering.

I have also tried it on an Ubuntu 22.04.4 LTS distro running Emacs 2= 8.1
but it also fails to render.  This ther= efore appears to be a bug in EWW.

---

In GNU= Emacs 29.2 (build 1, aarch64-apple-darwin21.6.0, NS
appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-01-19 built on
armbob.lan
Windowing s= ystem distributor 'Apple', version 10.3.2487
Sys= tem Description:  macOS 14.2.1

Configured using:
'configure --w= ith-ns '--enable-locallisppath=3D/Library/Application
Support/Emacs/${version}/site-lisp:/Library/Application
Support/Emacs/site-lisp' --with-modules 'CFLAGS=3D-DFD_SETSIZ= E=3D10000
-DDARWIN_UNLIMITED_SELECT' --with-x-to= olkit=3Dno'

Configur= ed features:
ACL GLIB GMP GNUTLS JPEG JSON LIBXM= L2 MODULES NOTIFY KQUEUE NS PDUMPER
PNG RSVG SQL= ITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB

Important settings:
  value of $LANG: en_NZ.UTF-8
 = locale-coding-system: utf-8-unix

Major mode: Markdown

Minor modes in effect:
  yas= -global-mode: t
  yas-minor-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  she= ll-dirtrack-mode: t
  server-mode: t
  TeX-PDF-mode: t
&nbs= p; TeX-source-correlate-mode: t
  global-di= splay-line-numbers-mode: t
  display-line-n= umbers-mode: t
  whitespace-mode: t
  global-page-break-lines-mode: t
  override-global-mode: t
 = tooltip-mode: t
  global-eldoc-mode: t
=
  eldoc-mode: t
&nb= sp; show-paren-mode: t
  electric-indent-mo= de: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
&nbs= p; global-font-lock-mode: t
  font-lock-mod= e: t
  blink-cursor-mode: t
  line-number-mode: t
  tr= ansient-mark-mode: t
  auto-composition-mod= e: t
  auto-encryption-mode: t
  auto-compression-mode: t
<= br>
Load-path shadows:
/U= sers/ganimard/.emacs.d/elpa/transient-20230919.2146/transient hides /Applic= ations/Emacs.app/Contents/Resources/lisp/= transient

Featur= es:
(shadow sort mail-extr emacsbug files-x vc-h= g vc-bzr vc-src vc-sccs
vc-svn vc-cvs vc-rcs log= -view vc bug-reference help-fns radix-tree
magit= -patch magit-subtree magit-gitignore magit-ediff ediff ediff-merg
=
ediff-mult ediff-wind ediff-diff ediff-help ediff-init ed= iff-util
magit-extras face-remap misearch multi-= isearch vc-git vc-dispatcher
markdown-mode color= dired-aux disp-table hl-todo flycheck forth-mode
forth-spec forth-smie smie forth-syntax llvm-mode splunk-mode ess
lisp-mnt ess-utils ess-custom go-mode find-file ffap et= ags fileloop xref
rust-utils rust-mode rust-rust= fmt rust-playpen rust-compile rust-cargo
yasnipp= et magit-submodule magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-= remote
magit-commit magit-sequence magit-notes m= agit-worktree magit-tag
magit-merge magit-branch= magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log which-func imenu
magit-diff smerge-mode diff diff-mode git-commit log-ed= it pcvs-util
add-log magit-core magit-autorevert= autorevert magit-margin
magit-transient magit-p= rocess with-editor shell server magit-mode
trans= ient magit-git magit-base magit-section cursor-sensor dash
auctex-latexmk latex latex-flymake flymake-proc flymake project = compile
warnings tex-ispell tex-style tex texmat= hp latex-preview-pane doc-view
filenotify jka-co= mpr image-mode exif auctex ebib ebib-reading-list
ebib-notes org-element org-persist xdg org-id org-refile org ob
=
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src= ob-comint
org-pcomplete pcomplete comint ansi-o= sc ansi-color org-list org-footnote
org-faces or= g-entities noutline outline icons ob-emacs-lisp ob-core
ob-eval org-cycle org-table org-keys oc org-loaddefs find-func ca= l-menu
calendar cal-loaddefs ol org-fold org-fol= d-core org-compat ring avl-tree
generator org-ve= rsion org-macs ebib-filters ebib-keywords ebib-utils
ebib-db message sendmail yank-media puny dired dired-loaddefs rfc822 m= ml
mml-sec epa derived epg rfc6068 epg-config gn= us-util
text-property-search mm-decode mm-bodies= mm-encode mail-parse rfc2231
rfc2047 rfc2045 mm= -util ietf-drums mail-prsvr mailabbrev mail-utils
gmm-utils mailheader format-spec parsebib rx hl-line pp crm bibtex
iso8601 time-date writeroom-mode visual-fill-column ol= ivetti
multiple-cursors mc-separate-operations r= ectangular-region-mode
mc-mark-pop mc-edit-lines= mc-hide-unmatched-lines-mode mc-mark-more
thing= atpt mc-cycle-cursors multiple-cursors-core advice rect move-text
=
no-littering compat paredit edmacro kmacro display-line-n= umbers
whitespace page-break-lines smart-mode-li= ne-atom-one-dark-theme cl-extra
help-mode atom-o= ne-dark-theme use-package use-package-ensure
use= -package-delight use-package-diminish use-package-bind-key bind-key
easy-mmode use-package-core finder-inf atom-one-dark-th= eme-autoloads
auctex-latexmk-autoloads auctex-au= toloads tex-site company-autoloads
dracula-theme= -autoloads ebib-autoloads ess-autoloads flycheck-autoloads
forth-mode-autoloads gdscript-mode-autoloads go-mode-autoloads
hl-todo-autoloads impatient-mode-autoloads htmliz= e-autoloads
julia-formatter-autoloads just-mode-= autoloads
latex-preview-pane-autoloads llvm-ts-m= ode-autoloads lsp-docker-autoloads
lsp-julia-aut= oloads julia-mode-autoloads lsp-ui-autoloads
lsp= -mode-autoloads ht-autoloads lv-autoloads magit-autoloads pcase
git-commit-autoloads magit-section-autoloads move-text-auto= loads
multiple-cursors-autoloads no-littering-au= toloads olivetti-autoloads
package-lint-autoload= s page-break-lines-autoloads paredit-autoloads
p= arsebib-autoloads pkg-info-autoloads epl-autoloads
quelpa-use-package-autoloads quelpa-autoloads rustic-autoloads
=
markdown-mode-autoloads f-autoloads dash-autoloads rust-m= ode-autoloads
s-autoloads session-async-autoload= s simple-httpd-autoloads
smart-mode-line-atom-on= e-dark-theme-autoloads smart-mode-line-autoloads
rich-minority-autoloads spinner-autoloads splunk-mode-autoloads
<= div dir=3D"auto">transient-autoloads with-editor-autoloads compat-autoloads= info
writeroom-mode-autoloads visual-fill-colum= n-autoloads
xterm-color-autoloads yaml-autoloads= yaml-mode-autoloads
yasnippet-autoloads package= browse-url url url-proxy url-privacy
url-expand= url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-se= q
eieio eieio-core cl-macs password-cache json s= ubr-x map byte-opt gv
bytecomp byte-compile url-= vars cl-loaddefs cl-lib rmc iso-transl tooltip
c= conv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
<= /div>
elisp-mode mwheel term/ns-win ns-win ucs-normalize m= ule-util
term/common-win tool-bar dnd fontset im= age regexp-opt fringe
tabulated-list replace new= comment text-mode lisp-mode prog-mode register
p= age tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tt= y-colors
frame minibuffer nadvice seq simple cl-= generic indonesian philippine
cham georgian utf-= 8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composi= te emoji-zwj charscript
charprop case-table epa-= hook jka-cmpr-hook help abbrev obarray oclosure
= cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 fo= rmat env
code-pages mule custom widget keymap ha= shtable-print-readable backquote
threads kqueue = cocoa ns multi-tty make-network-process emacs)
<= br>
Memory information:
(= (conses 16 412027 70117)
(symbols 48 34112 0)
(strings 32 128155 6447)
(string-bytes 1 4038566)
(vectors 16 67754)
(vector-slots 8 739746 70880)
(floats 8 294 368)
(intervals 56 6200 53)=
(buffers 984 43))
------=_Part_197313_1020779492.1725828745056-- ------------=_1730547362-30934-1--