From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17386 invoked from network); 11 Dec 2021 20:12:50 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 11 Dec 2021 20:12:50 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mw8jh-004FeD-6f for ml@inbox.vuxu.org; Sat, 11 Dec 2021 14:12:49 -0600 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94.2) (envelope-from ) id 1mw8jg-001iJJ-Hw for ml@inbox.vuxu.org; Sat, 11 Dec 2021 14:12:48 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.94.2) (envelope-from ) id 1mw8jf-001iJD-IR for ding@lists.math.uh.edu; Sat, 11 Dec 2021 14:12:47 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mw8jc-004Fdq-My for ding@lists.math.uh.edu; Sat, 11 Dec 2021 14:12:47 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References :Message-ID:Date:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=nWreo5jn4camJcpr6Y5mcY8qXSbEmktUzlVS0n2MHYY=; b=luek1JvzlaChFJX21Mmg7qjHxi WL/9OCyJj+q9qhL8OSxrn+0EahRvgb9BmPUpnxR1Dv5k0LVWLJhPuCsjNxjfXuvRwbNz/s8ifiKyf Cp+JhcOgxflzNyfOWcWieuO4C52oAhpEXjH4vxrfrWjphXnh29ziGKX3gTrmi4A5RFQk=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mw8jU-0006pU-Pl for ding@gnus.org; Sat, 11 Dec 2021 21:12:39 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mw8jT-0008C8-Ls for ding@gnus.org; Sat, 11 Dec 2021 21:12:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: =?utf-8?Q?Adam_Sj=C3=B8gren?= Subject: Re: Recent change on Emacs master: aggressive word-wrap of header lines in article display Date: Sat, 11 Dec 2021 21:12:29 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87pmq2nbo2.fsf@tullinup.koldfront.dk> References: <87sfuzyudn.fsf@tullinup.koldfront.dk> <87y24qnccb.fsf@tullinup.koldfront.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cancel-Lock: sha1:I1MhcDqsoCmJJV3vz7ts6r1mkV0= OpenPGP: id=476630590A231909B0A0961A49D0746121BDE416; url=https://asjo.koldfront.dk/gpg.asc Mail-Follow-Up-To: never X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Adam writes: > Here is the result of bisecting the new line wrapping of headers: > Enable gnus-treat-fold-headers by default This following commit is supposed to change gnus-treat-fold-headers to fold variable pitch fonts at the window width, it looks like: commit 2d60566c8787b63b5e4e2958e9ec9f55fbcf9e87 Author: Lars Ingebrigtsen Date: Wed Dec 1 06:30:32 2021 +0100 Use proportional fonts in the Gnus headers by default * lisp/gnus/gnus-art.el (gnus-header): Inherit from `variable-pitch'. (gnus--variable-pitch-p): New helper function. (gnus-article-treat-fold-headers): Fill using pixel filling. I.e. the code here: (defun gnus-article-treat-fold-headers () ... (if (not (gnus--variable-pitch-p (get-text-property (point) 'face))) (mail-header-fold-field) (forward-char 1) (pixel-fill-region (point) (point-max) (pixel-fill-width))) ... But it doesn't on my screen, as seen in the screenshot at the top of this thread. I should step through that and see what actually happens. Best regards, Adam -- "I refuse to be victimized by notions of virtuous Adam Sjøgren behaviour" asjo@koldfront.dk