From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail
From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec <kevin.legouguec@gmail.com>
Newsgroups: gmane.emacs.bugs
Subject: bug#66676: 29.1; Should some aspects of shr rendering be configurable
Date: Sat, 04 Nov 2023 13:05:25 +0100
Message-ID: <87wmuxoha2.fsf@gmail.com>
References: <87v8azxek4.fsf@zohomail.eu> <83o7groufg.fsf@gnu.org>
 <87r0lnx7kx.fsf@zohomail.eu> <87zg06r7fk.fsf@zohomail.eu>
 <83lebe547t.fsf@gnu.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214";
	logging-data="32160"; mail-complaints-to="usenet@ciao.gmane.io"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cc: rahguzar@zohomail.eu, Lars Ingebrigtsen <larsi@gnus.org>,
 66676@debbugs.gnu.org
To: Eli Zaretskii <eliz@gnu.org>
Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 04 13:06:54 2023
Return-path: <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>
Envelope-to: geb-bug-gnu-emacs@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 <bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org>)
	id 1qzFQT-00086b-AH
	for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Nov 2023 13:06:53 +0100
Original-Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-gnu-emacs-bounces@gnu.org>)
	id 1qzFQ9-000372-Nc; Sat, 04 Nov 2023 08:06:33 -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 <Debian-debbugs@debbugs.gnu.org>)
 id 1qzFQ2-00036k-Ei
 for bug-gnu-emacs@gnu.org; Sat, 04 Nov 2023 08:06:27 -0400
Original-Received: from debbugs.gnu.org ([2001:470:142:5::43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1qzFQ2-0003XR-50
 for bug-gnu-emacs@gnu.org; Sat, 04 Nov 2023 08:06:26 -0400
Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1qzFQb-0008A1-Sw
 for bug-gnu-emacs@gnu.org; Sat, 04 Nov 2023 08:07:01 -0400
X-Loop: help-debbugs@gnu.org
Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec <kevin.legouguec@gmail.com>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@gnu.org
Resent-Date: Sat, 04 Nov 2023 12:07:01 +0000
Resent-Message-ID: <handler.66676.B66676.169909957231300@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 66676
X-GNU-PR-Package: emacs
Original-Received: via spool by 66676-submit@debbugs.gnu.org id=B66676.169909957231300
 (code B ref 66676); Sat, 04 Nov 2023 12:07:01 +0000
Original-Received: (at 66676) by debbugs.gnu.org; 4 Nov 2023 12:06:12 +0000
Original-Received: from localhost ([127.0.0.1]:33029 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1qzFPo-00088m-0t
 for submit@debbugs.gnu.org; Sat, 04 Nov 2023 08:06:12 -0400
Original-Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:47134)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <kevin.legouguec@gmail.com>) id 1qzFPm-00088W-0f
 for 66676@debbugs.gnu.org; Sat, 04 Nov 2023 08:06:10 -0400
Original-Received: by mail-wm1-x335.google.com with SMTP id
 5b1f17b1804b1-407c3adef8eso25549695e9.2
 for <66676@debbugs.gnu.org>; Sat, 04 Nov 2023 05:05:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1699099527; x=1699704327; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=Ll8sEFT73x7NriAk5lYUYr2yhQaM0TmSILk2QdcGv3w=;
 b=mom7h8m8B0/51MOK5nR+lCSsR/A1PPFUpWMrgKrueBSuBDfIecdMVTQ046TPFnYFwO
 EDL4Lg1JMv2i5cVdszyKkB/Ha+lvX5LqwFAHDiIK2eI4FM0G0mI7bTFfhhe5jKWr8Rqu
 D7TX7g6dtml9VS9LZPboSh3dDUteDv1OyE8RVwV3HnSJqoWjrhyH5oqxqBoJxOp+q9SQ
 kMeyYoACDa03NUD/gAcqS8knLMeditwxwCF9my8U4HJ3jaWwnjTct/HR1aY2N3pJ2X0s
 A/VSBu7hyxs6/jqZ+YoVPFpWNmWPZeUBgPGrbNDfAxRwHhvuAj8Z4Fw1diPxGUF3zpmE
 kshA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1699099527; x=1699704327;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=Ll8sEFT73x7NriAk5lYUYr2yhQaM0TmSILk2QdcGv3w=;
 b=NQH+VfymCeZHOnAwf4ZHeBG1TMRLClpeyl7JPSTV5ZWUXLHK6uNOjZ4bF27Alx8MhC
 wDKmuH4GULy/hKtauTmnMuaIlhao3RJR6ov3G2H29reg2nQq7KjOQpuK5nGI3GvngHGY
 pHwyvv5DDvvQ+p8qkYanaCC0a8PTM4WeAdfMQXuZVai7nOXSGghjqOJz6dCin7dPVQh1
 AyITs2kCjyC5XomLNyxK149taQuswj+x44cJBeiQbaqVJtqbHMPx4Ws0ZvqveYKL/FzT
 29EzkvtNHEqi4XRB5rv3nUH6DRNb4AJNMA4fCsr0XIiUMT05VuAf62tHrYDMU2FyXDua
 DPmw==
X-Gm-Message-State: AOJu0YyG7SgzKzagANaHA3yX314SFSp1ExafTd8JDBOdd9om9xB94Uux
 xTslm/MnY6EaTGKOBThFG8DK8ZD9YSnhYw==
X-Google-Smtp-Source: AGHT+IHzwtsEnEOrYnkG9pCpg2qb9W9gudyuQufqd1/Dgd+1OM322iRB4xdz/TusutIZdwHaVK024w==
X-Received: by 2002:a05:600c:4514:b0:409:101e:234d with SMTP id
 t20-20020a05600c451400b00409101e234dmr21146949wmo.12.1699099527178; 
 Sat, 04 Nov 2023 05:05:27 -0700 (PDT)
Original-Received: from hirondell ([2a01:cb14:290:f00:9bec:5bdd:57a4:14ff])
 by smtp.gmail.com with ESMTPSA id
 je3-20020a05600c1f8300b004083bc9ac90sm5657640wmb.24.2023.11.04.05.05.26
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 04 Nov 2023 05:05:26 -0700 (PDT)
In-Reply-To: <83lebe547t.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 Nov
 2023 10:10:14 +0200")
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-gnu-emacs@gnu.org
List-Id: "Bug reports for GNU Emacs,
 the Swiss army knife of text editors" <bug-gnu-emacs.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-gnu-emacs>
List-Post: <mailto:bug-gnu-emacs@gnu.org>
List-Help: <mailto:bug-gnu-emacs-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-gnu-emacs>,
 <mailto:bug-gnu-emacs-request@gnu.org?subject=subscribe>
Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org
Xref: news.gmane.io gmane.emacs.bugs:273776
Archived-At: <http://permalink.gmane.org/gmane.emacs.bugs/273776>

Eli Zaretskii <eliz@gnu.org> writes:

> Lars, anybody else?  Any comments to these changes?

As an occasional user of shr (mainly when viewing HTML parts in Gnus)
who frequently messes with window width and face height, I'm very much
interested in better visual-line-mode integration.  Also intrigued by
outline-mode support.  So closely following this thread, and
enthusiastically thanking Rahguzar for tackling this =F0=9F=91=8F

Don't know if I have anything insightful to say re. the patches.  Idly
wondering if '(null shr-fill-text) =E2=87=92 (visual-line-mode)' is the rig=
ht
control flow; e.g. maybe

  (a) shr-fill-text could be set to 'visual as a more explicit hint for
  major modes, or

  (b) major modes should grow new user options: e.g. eww-wrap-method =E2=88=
=88
  {fill, visual}; 'visual would tell modes to set shr-fill-text to nil &
  enable visual-line-mode.

There are already plenty of user knobs at the shr level though, so maybe
no need to overthink this.