From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#48740: 28.0.50; Composition text property is not always honoured Date: Sun, 20 Jun 2021 14:53:57 +0300 Message-ID: <835yy8vjje.fsf@gnu.org> References: <87im30ad2g.fsf@localhost> <837djg4gvq.fsf@gnu.org> <87wnrgtlln.fsf@localhost> <8335u449de.fsf@gnu.org> <87pmx8tfub.fsf@localhost> <83y2bw2oyr.fsf@gnu.org> <87eedn12j6.fsf@localhost> <835yyz2ctp.fsf@gnu.org> <878s3tbqvx.fsf@localhost> <83wnrdzjxe.fsf@gnu.org> <87v968ok1k.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40018"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 48740@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 20 13:54:14 2021 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 1luw1l-000AHA-A3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Jun 2021 13:54:13 +0200 Original-Received: from localhost ([::1]:37612 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luw1k-0000g7-Bz for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 20 Jun 2021 07:54:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55302) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luw1a-0000dS-AE for bug-gnu-emacs@gnu.org; Sun, 20 Jun 2021 07:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49879) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luw1a-0005bS-2d for bug-gnu-emacs@gnu.org; Sun, 20 Jun 2021 07:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luw1a-0001tg-0c for bug-gnu-emacs@gnu.org; Sun, 20 Jun 2021 07:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Jun 2021 11:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48740 X-GNU-PR-Package: emacs Original-Received: via spool by 48740-submit@debbugs.gnu.org id=B48740.16241900367281 (code B ref 48740); Sun, 20 Jun 2021 11:54:01 +0000 Original-Received: (at 48740) by debbugs.gnu.org; 20 Jun 2021 11:53:56 +0000 Original-Received: from localhost ([127.0.0.1]:33192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luw1T-0001tM-UK for submit@debbugs.gnu.org; Sun, 20 Jun 2021 07:53:56 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luw1S-0001tB-Oz for 48740@debbugs.gnu.org; Sun, 20 Jun 2021 07:53:55 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37082) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luw1N-0005S6-Dl; Sun, 20 Jun 2021 07:53:49 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1126 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luw1N-0001hg-6U; Sun, 20 Jun 2021 07:53:49 -0400 In-Reply-To: <87v968ok1k.fsf@localhost> (message from Ihor Radchenko on Sun, 20 Jun 2021 19:24:55 +0800) 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:208790 Archived-At: > From: Ihor Radchenko > CC: 48740@debbugs.gnu.org > Date: Sun, 20 Jun 2021 19:24:55 +0800 > > However, I still have no clue what is going on there. I tried to > investigate further and examined the text properties of the composed > ONGOING keyword in inbox.org buffer. It turned out that the composition > is broken in the inbox.org itself: > > #("* ONGOING" 0 1 (...) 2 5 (... composition (0 7 [128119]) prettify-symbols-start 3 prettify-symbols-end 10 face org-todo) 5 9 (... composition (0 7 [128119]) prettify-symbols-start 3 prettify-symbols-end 10 face org-todo)) > > Yet, the ONGOING string is correctly replaced by 👷 symbol in inbox.org. > The replacement does not work only in agenda, *and only when concat is > used to construct the keyword*. I am completely confused about what is > going on. > > Do you have any ideas about this? Not sure I understand: ideas about what? The basic problem is that display of static compositions requires the values of the composition property to be 'eq'. Due to implementation details, when you break a string with that property into 2 or more parts, the property value(s) could get copied, in which case they will no longer be 'eq'. What else is needed to understand this problem?