From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.devel Subject: Re: master 9074a9f496b: Add customization to let EWW guess content-type if needed Date: Tue, 22 Oct 2024 08:37:26 -0700 Message-ID: References: <172957312588.24501.17487759478667980031@vcs2.savannah.gnu.org> <20241022045846.3008DC2066D@vcs2.savannah.gnu.org> <874j54cwf1.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19653"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?B?U2ViYXN0acOhbiBNb27DrWE=?= To: Michael Albinus , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 22 17:38:26 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1t3Gxl-00052m-Vu for ged-emacs-devel@m.gmane-mx.org; Tue, 22 Oct 2024 17:38:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3Gwy-00084V-Dm; Tue, 22 Oct 2024 11:37:36 -0400 Original-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 1t3Gww-00083Z-P7 for emacs-devel@gnu.org; Tue, 22 Oct 2024 11:37:34 -0400 Original-Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3Gws-0006i3-RZ for emacs-devel@gnu.org; Tue, 22 Oct 2024 11:37:34 -0400 Original-Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-7eb0bc007edso429990a12.3 for ; Tue, 22 Oct 2024 08:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1729611447; x=1730216247; darn=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=A7lh2FIMDD2l6tE4oTV4nt1IN4xif15F9Psha3su1iQ=; b=FR7aGMiZW+KKsL0HWrB+oTv7ToEtNbuRnhwxPtCwH0t6BYT+mjTBCanYql+Bk53Pzn U3QvOhpSU46fG17JmHaPI9dyGNGOywTNm1foOzW0wyiNovc+iUuq4VPSEeoQIH0Bu/kj fpggbBXKl+EPulIWJd43AKaBEbkIA4ACeRO7xbuMkFZTN7o1+sah7vMvyA1HzyeHmKcu hVeja9jXqE4FaLGxEtD0pVvkb/LxKgjXSzNn+c07kmxYnfuoFNHCmmV32YbrORY8uYtt 1AcuLkV0cUA4qr/E7r/VvROnVcrY1uG28uNNngSwEo0Os++1a3sBPAhV6/Eo1ftiyqhi KkfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729611447; x=1730216247; 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=A7lh2FIMDD2l6tE4oTV4nt1IN4xif15F9Psha3su1iQ=; b=dhzFXF+j9odhB3vNHefAYgAxktAcQmb0qqjtAG5h7HOAQrGEkABvDOlA5DMAMSlppt 0oVWiZC2wGoOf7ZzNUYkmGwhtdukR1yMZ+aBrI5LqsuMvVllxep0242wZHTfV4/9Tb8Z GymKhu9nisuSdu7iIhwwqGTnPZc2ZuwA2VeWSUBtzeVHYkf/FaFAJXVZLRnNTOBSTROH h5w+BLqFrKqIgwYrPxKuVUxZAW0FS4GQUSBZE/MeHFRBYoxqGQf0m+lQEYJjxhO6H+x3 +OQltVmrL6umX86LW8qk5qwrbUbbr5zjO1NOMIY6U0q2vcFz050qp8it36fL1XhelSLn YSYQ== X-Forwarded-Encrypted: i=1; AJvYcCW4ClE9ZArnU63KbUsSITspyJ1XNOSfYISRofqt7X31e5iCslQhdjbJyw/As3S57Zfftiq5f7eAcmxU9g==@gnu.org X-Gm-Message-State: AOJu0YwahGxTqb4I4cls3hGniUtFhEnh1X1utyRI4LviBZBe+qcOsuGp rjaoLvYH22cpP/aVFP5xJEgFeh5WxTvfvJp8TF5UbShXTHvI5Kej X-Google-Smtp-Source: AGHT+IEKVYoY7i7QNIBOEmbqrnQldIH8b/z1fF0LZ9AbSJyOTgh6z5RR4C8B+J/rY7wYeHudLawN3Q== X-Received: by 2002:a05:6a20:c50a:b0:1d9:6ea3:9741 with SMTP id adf61e73a8af0-1d96ea3c698mr2689351637.4.1729611446669; Tue, 22 Oct 2024 08:37:26 -0700 (PDT) Original-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-71ec131391asm4861794b3a.26.2024.10.22.08.37.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Oct 2024 08:37:26 -0700 (PDT) Content-Language: en-US In-Reply-To: <874j54cwf1.fsf@gmx.de> Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=jporterbugs@gmail.com; helo=mail-pg1-x52e.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:324742 Archived-At: On 10/22/2024 2:35 AM, Michael Albinus wrote: > Jim Porter writes: > > Hi Sebastián, Jim, > >> Add customization to let EWW guess content-type if needed >> >> * lisp/net/eww.el (eww-guess-content-type-functions): New user option. >> (eww--guess-content-type, eww--html-if-doctype): New functions. >> (eww-render): Call 'eww--guess-content-type' (bug#73133). >> --- >> lisp/net/eww.el | 39 ++++++++++++++++++++++++++++++++++++++- >> 1 file changed, 38 insertions(+), 1 deletion(-) > > This fails eww-tests: Whoops, forgot about those tests. Fixed with f58652a4197.