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 Newsgroups: gmane.emacs.bugs Subject: bug#59141: 28.1.90; Face :extend when all the line but trailing \n is invisible Date: Wed, 09 Nov 2022 23:19:42 +0100 Message-ID: <87o7tfkby9.fsf@gmail.com> References: <871qqcdfvr.fsf@localhost> <83cz9wux9l.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="20767"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 59141@debbugs.gnu.org, Ihor Radchenko To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 09 23:20:26 2022 Return-path: 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 ) id 1ostQo-0005Dt-3o for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 09 Nov 2022 23:20:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ostQR-00051y-Fo; Wed, 09 Nov 2022 17:20:03 -0500 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 1ostQQ-00051n-1p for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 17:20:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ostQP-0001Dh-PK for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 17:20:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ostQP-0004He-Ky for bug-gnu-emacs@gnu.org; Wed, 09 Nov 2022 17:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?K=C3=A9vin?= Le Gouguec Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Nov 2022 22:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59141 X-GNU-PR-Package: emacs Original-Received: via spool by 59141-submit@debbugs.gnu.org id=B59141.166803239216446 (code B ref 59141); Wed, 09 Nov 2022 22:20:01 +0000 Original-Received: (at 59141) by debbugs.gnu.org; 9 Nov 2022 22:19:52 +0000 Original-Received: from localhost ([127.0.0.1]:41237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ostQF-0004HC-Sw for submit@debbugs.gnu.org; Wed, 09 Nov 2022 17:19:52 -0500 Original-Received: from mail-wm1-f51.google.com ([209.85.128.51]:51074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ostQD-0004Gx-Rr for 59141@debbugs.gnu.org; Wed, 09 Nov 2022 17:19:50 -0500 Original-Received: by mail-wm1-f51.google.com with SMTP id v7so74370wmn.0 for <59141@debbugs.gnu.org>; Wed, 09 Nov 2022 14:19:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=4H4bTcbhVG7diPkpPm+ux+OG1F/KbA53ol29QDIVu68=; b=daXgaVlOz//qHr/t2NqLzNhc7nScAyRReIQmRuUxC3usUEzFWPfWNtQapGexYlgaeN dNIvAAMOF53alk6kfjuppwEFK8BHrXKRCoGqJRd+qYiXZ74/8eWbbI8VJlASssNAKFYA gkyQH4hIiwwFzBnRor0poxnix/KVr4STYpaaH1fxIDzU/b2HVMYZS/t5OWN9y3INUfMz tI2ulyc9vSnnPTBkosaddDzPejBWWvW2EOgKWq0sj0CS0FgxzWiY1zABvGBvoWAVf4i/ qXEEJ+TDXJZZDk7t3ThgfP23adMruNTuHtPkzU0ysO6An1mWmutKgdtTarPqG/UjDTr1 BrIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=4H4bTcbhVG7diPkpPm+ux+OG1F/KbA53ol29QDIVu68=; b=xHP7muKD3f2aq44CUkw8uOqP6jcU2QGDRypYlRNeRrSeZya99McIKrFTNEewkxjtVv 174y6FNisD9YQSyZz9HFpdd2xpl15jSt6N2xIER7wV7t/51mgsJyIbbr4vzDfHxrDlY6 B5uwfwmao3okB52dKuuykP10MPp40EVmo3n9gOvGpB6jOYJjuJHkduGOtmF+EBjwz/lD OM43lLybtIFjMlf+j0uakTW9Ly55GQlZW5ns21blR5LnLwiRjqfclSCbBjAikoxhCXs2 m+EOkcvgcU/2sPkco9ufpBVflOcnh65XnyISsbeHEE3D2HTZllArkf5TnMDqeWc+YFgN BP9Q== X-Gm-Message-State: ACrzQf35erSV0rv1n20eqToh7dJz1IFBK0xxiHB/giNI6645ujlJjtk9 h9tP2mQz7tA5TXsvgMEo/mamnS7kTnA= X-Google-Smtp-Source: AMsMyM68wslSVwo4299XK6EhrgH8YvEr59zgtebFynHnBOayPlmu0fD5cct3fBDWkVNECKD0IAvCyQ== X-Received: by 2002:a05:600c:26d1:b0:3cf:7b67:f490 with SMTP id 17-20020a05600c26d100b003cf7b67f490mr33725649wmv.164.1668032383406; Wed, 09 Nov 2022 14:19:43 -0800 (PST) Original-Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id bu24-20020a056000079800b00228a6ce17b4sm14535273wrb.37.2022.11.09.14.19.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 14:19:42 -0800 (PST) In-Reply-To: <83cz9wux9l.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 09 Nov 2022 14:29:10 +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" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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:247469 Archived-At: Eli Zaretskii writes: > I said many times that people shouldn't willy-nilly use the :extent > attribute, just because it looks cooler in some situation. The intent > was and still is for faces not to have this attribute set, with very > few very special exceptions, like the 'region' face. But people don't > listen... FWIW, my motivation for setting :extend on outline headings doesn't stem from aesthetics. Clearly delineating "sections" with colored backgrounds that span the whole window width is a neat visual aid, IME; that's just one more guide for the eye to exploit when e.g. locating the next same-level heading (for those who like to look before they leap), getting a sense of how "long" a section is (in terms of lines if expanded, or subsections if folded), etc. (Other people's sensibilities will necessarily differ, e.g. they might find a document's structure easier to scan visually without distracting colored backgrounds. I certainly don't mean to imply that :extending heading backgrounds would be "objectively" better, only that it would be genuinely helpful for _some_ folks) So this "visual aid" aspect is why I suspect reporters think being able to :extend outline heading backgrounds is about as desirable as :extending the hl-line or region faces, and it's a shame it breaks down when folding. It's not a critical feature to be missing, and that motivation does not invalidate the implementation challenges you highlight. I just wanted to spell this point out FTR, as I didn't feel "it looks cooler" conveyed it quite as convincingly =F0=9F=99=82