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: Mon, 31 May 2021 17:32:50 +0300 Message-ID: <835yyz2ctp.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="434"; 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 Mon May 31 16:34: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 1lnizd-000ARo-RN for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 16:34:13 +0200 Original-Received: from localhost ([::1]:60946 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnizc-0003yp-OP for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 31 May 2021 10:34:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnizS-0003wr-V8 for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 10:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnizS-0003Rx-Jw for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 10:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnizS-0004Jq-GO for bug-gnu-emacs@gnu.org; Mon, 31 May 2021 10:34: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: Mon, 31 May 2021 14:34:02 +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.162247158316523 (code B ref 48740); Mon, 31 May 2021 14:34:02 +0000 Original-Received: (at 48740) by debbugs.gnu.org; 31 May 2021 14:33:03 +0000 Original-Received: from localhost ([127.0.0.1]:34596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lniyV-0004IR-Hs for submit@debbugs.gnu.org; Mon, 31 May 2021 10:33:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lniyT-0004Hw-I1 for 48740@debbugs.gnu.org; Mon, 31 May 2021 10:33:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46520) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lniyO-0002oA-Bj; Mon, 31 May 2021 10:32:56 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2015 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 1lniyN-0001dw-Mf; Mon, 31 May 2021 10:32:56 -0400 In-Reply-To: <87eedn12j6.fsf@localhost> (message from Ihor Radchenko on Mon, 31 May 2021 21:00:29 +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:207704 Archived-At: > From: Ihor Radchenko > CC: 48740@debbugs.gnu.org > Date: Mon, 31 May 2021 21:00:29 +0800 > > Eli Zaretskii writes: > > > No, it is also subdivided into two separate regions, each one of 3 > > characters. And that's why it doesn't work: the display engine > > expects that the composed text should be covered by a single text > > property which specifies the length (7 - 0 = 7) that is equal to the > > length of the covered text (301 - 294 = 7). > > > > So the problem is caused by whatever code in org-agenda-redo-all that > > "breaks" the composition property into 2 separate adjacent properties. > > Yet, the same "broken" property does work in step 6... No, AFAIU in step 6 a single property list covers the whole of the word ONGOING. > The two intervals are there because other properties in the list are > not same, as I understand. Exactly. And that cannot work with the composition property. > The only possibility I can think about is that compositions in the two > intervals are 'eq at step 6, but only 'equal at step 8. That cannot be the reason, because the display code doesn't test 'eq'uality. I clearly see in the code that the problem is with "partial" coverage of the text.