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 19025 invoked from network); 11 Dec 2021 20:23:32 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 11 Dec 2021 20:23:32 -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 1mw8u2-004FxB-Kw for ml@inbox.vuxu.org; Sat, 11 Dec 2021 14:23:30 -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 1mw8u2-001iOH-1F for ml@inbox.vuxu.org; Sat, 11 Dec 2021 14:23:30 -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 1mw8u0-001iOA-L3 for ding@lists.math.uh.edu; Sat, 11 Dec 2021 14:23:28 -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 1mw8tw-004Fws-69 for ding@lists.math.uh.edu; Sat, 11 Dec 2021 14:23:28 -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=blVW6bvU3wzJfhB4b8iWek986iGhacWfs7SMqXsgU6c=; b=BO2IvdKrtXV/vWoqaemZv5koml rp0F9XQUNjlSqojgXs//byeEVAKHhMa/Tye8nxUMgpjDzomzmXZ2JkIZrOx3uob7webSoyGDY+rMA XNN/g4U9CdfSfYKZ+m5w5OZxCuvvzUPwI67G1CMwHarH+BJT9d/WnWDPrvFkEbr3fT4Q=; 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 1mw8tp-0006tA-FK for ding@gnus.org; Sat, 11 Dec 2021 21:23:19 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mw8tn-0009yE-Ni for ding@gnus.org; Sat, 11 Dec 2021 21:23:15 +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:23:07 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87k0ganb6c.fsf@tullinup.koldfront.dk> References: <87sfuzyudn.fsf@tullinup.koldfront.dk> <87y24qnccb.fsf@tullinup.koldfront.dk> <87pmq2nbo2.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:E6rKOWvdtPKLg8WwV19WdUzaYFA= 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: > (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))) > I should step through that and see what actually happens. gnus--variable-pitch-p returns nil on gnus-header-name, so mail-header-fold-field gets called! M-x describe-face on gnus-header-name gives this: Face: gnus-header-name (sample) (customize this face) Documentation: Face used for displaying header names. Defined in ‘gnus-art.el’. Family: DejaVu Sans Condensed Foundry: unspecified Width: unspecified Height: unspecified Weight: unspecified Slant: unspecified Foreground: maroon DistantForeground: unspecified Background: unspecified Underline: unspecified Overline: unspecified Strike-through: unspecified Box: unspecified Inverse: unspecified Stipple: unspecified Font: unspecified Fontset: unspecified Extend: unspecified Inherit: unspecified Hm, why doesn't Emacs think DejaVu Sans Condensed is variable pitch? Maybe I should step through gnus--variable-pitch-p as well. (gnus--variable-pitch-p 'gnus-header-name) → nil Ok, so the reason is that the definition of a variable pitch face is whether it is, or inherits from, the face variable-pitch. I just used customize to set the font of gnus-header-name. Best regards, Adam -- "Så ruller domino-effekten. Adam Sjøgren Du kender det selv!" asjo@koldfront.dk