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:18:01 +0100 Message-ID: <87pn2tfdom.fsf@gnus.org> References: <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="34857"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) 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:19:09 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 1ku6TV-0008yc-23 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Dec 2020 05:19:09 +0100 Original-Received: from localhost ([::1]:51612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ku6TU-00010e-3G for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 23:19:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku6TO-00010X-KI for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 23:19:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ku6TO-0002Kz-Ch for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 23:19:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ku6TO-0002CQ-68 for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 23:19: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:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45520 X-GNU-PR-Package: emacs Original-Received: via spool by 45520-submit@debbugs.gnu.org id=B45520.16092154938395 (code B ref 45520); Tue, 29 Dec 2020 04:19:02 +0000 Original-Received: (at 45520) by debbugs.gnu.org; 29 Dec 2020 04:18:13 +0000 Original-Received: from localhost ([127.0.0.1]:37372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku6Sb-0002BL-JJ for submit@debbugs.gnu.org; Mon, 28 Dec 2020 23:18:13 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:50490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku6SZ-0002B6-5c for 45520@debbugs.gnu.org; Mon, 28 Dec 2020 23:18:11 -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:In-Reply-To:Date: References: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:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jsdFPWpl1Oy5qqOU71Hla5cMKyoffbJk6WiWpVZ0aoc=; b=H3yM0yyQjV5yxM2fNWNrwF9C7K AWJ8+8ego1nhm0WwKVfoJNTXfHjzB0lAzd5LIPxHLulEd9nxDmmftYvChWbPS+I/+MbBseVkQZVtu yZ8HEjt5+Tk732VQu+zJNlwehOBnAolb2pM2HtySknrLzmxP81gj8L4YTVuEvXknTPxI=; 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 1ku6SQ-0004yK-BZ for 45520@debbugs.gnu.org; Tue, 29 Dec 2020 05:18:04 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXRwqT69d6ogltd RjAgFA7///+u9mQ5AAAAAWJLR0QF+G/pxwAAAAd0SU1FB+QMHQQQJrlErgcAAAG1SURBVDjLdZOB keMwCEWRsgUoqsBGLsArVEAmov+a7gN2Npn4yIyd4Rk+IETpfmmJrkEhWq8j7ogA9X/xis9ha83M mcpaeaGAeagqJfg7cwVwQygHQOCCR8pEeNK9NPPrt0Zxv16Um+Ge/A2KAOzpo0TTo2IB/R2UF5gL JL8kqmpPB7Cv7UemWHViTJlilIYoecV1dqvsItVMVjHATQQZShZmq72s5hGATXUt99xQZjSVW28B Zsf34wTNpjoiQoitXwd1iui8oUAAXe+F/wCLcETobxyPA3ilDVRv4PEGkHkOJdkNzGIi4uUKtyeq kv3HZamJ94NUjXUMAzhjgXo7gI5pJ6j7tqPpBZ0EOE/BNNDcE/2K2gKcC8eLiQOQp7L9CQANtApf lJsPQEe5aDFrgKqxPvoI8Kgy5B20NcCsQ6enojD2kaAupLIzfYkP73xtulsAQBE3H4nI8qOPocux Pq4h+631jib6kOlNx3WwiDYlbb0j/v2qDe8jbU8Z5zIEiD7S9nuTzh8gIgbOptM3WFTHsXCfqXx5 5ofGOUQ99+oEsSVXgDK/7A+UY5QpvS5c3KD/2z8/UYVxzpVNRQAAACV0RVh0ZGF0ZTpjcmVhdGUA MjAyMC0xMi0yOVQwNDoxNjozOCswMDowMKVBSckAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTIt MjlUMDQ6MTY6MzgrMDA6MDDUHPF1AAAAAElFTkSuQmCC X-Now-Playing: Simple Minds's _Sons and Fascination_: "70 Cities as Love Brings the Fall" In-Reply-To: <87tus5febj.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 29 Dec 2020 05:04:16 +0100") 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:196914 Archived-At: Lars Ingebrigtsen writes: > 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? OK, that was trivial to fix, so now the snippet that shortens the mode line text just has to be amended to do the work on the Lisp_Object string instead (so that text properties are preserved). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no