From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#45520: 28.0.50; mode-line-compact doesn't do text properties Date: Tue, 29 Dec 2020 05:04:16 +0100 Message-ID: <87tus5febj.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20628"; mail-complaints-to="usenet@ciao.gmane.io" To: 45520@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 29 05:05:12 2020 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 1ku6Fz-0005Fc-FI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Dec 2020 05:05:11 +0100 Original-Received: from localhost ([::1]:47744 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ku6Fy-00070n-Hl for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 23:05:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku6Fq-00070d-Sk for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 23:05:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54043) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ku6Fq-0004PS-LL for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 23:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ku6Fq-0008D0-GP for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 23:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2020 04:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45520 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.160921467331512 (code B ref -1); Tue, 29 Dec 2020 04:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Dec 2020 04:04:33 +0000 Original-Received: from localhost ([127.0.0.1]:37356 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku6FM-0008CC-OP for submit@debbugs.gnu.org; Mon, 28 Dec 2020 23:04:33 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:41888) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku6FL-0008C5-NG for submit@debbugs.gnu.org; Mon, 28 Dec 2020 23:04:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35376) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku6FL-0006xk-Hk for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 23:04:31 -0500 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:40004) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku6FI-0004AF-Tu for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 23:04:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3kS+44RQVgVyl2Bi5rLWdxi3ZVOzSlJqPdpFX4sS6Fs=; b=gDePZ35FxLhZJP3WTEamUMTvb2 mGm8v+anPrmW+sgGkqqFkSv7P4NgT6l042ATfPuIo4mvdZ95Jw/zHOhxsgebb+U5UsKvovSgK0XvG g5LRIrmELtsX7Ay6ca2deSF5IXy4gdu44feg4K13bYQHmKsgLqOHr+kF0bKTt3rB0njA=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ku6F7-0004pi-TD for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2020 05:04:27 +0100 X-Now-Playing: Japan's _Tin Drum (1)_: "Sons of Pioneers" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org 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, 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: 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" Xref: news.gmane.io gmane.emacs.bugs:196913 Archived-At: I thought the issue was with `format-mode-line', but that function does return text properties as ordered (I think). Instead the issue is that display_string doesn't do anything with the text properties? If this can't be fixed somewhat easily, I guess I'll revert the mode-line-compact change, because it's pretty useless without text properties, but I don't have the time right now to investigate, so I'm reporting this as a bug to remind myself (or anybody else who feels like having a look). In GNU Emacs 28.0.50 (build 59, x86_64-pc-linux-gnu, GTK+ Version 3.24.23, cairo version 1.16.0) of 2020-12-23 built on xo Repository revision: 22c1f00d997d38ba0c453da5f5e9c526d0ac05b0 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12008000 System Description: Debian GNU/Linux bullseye/sid -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no